    :root {
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);
      --bg: #fff;
      --card: #fff;
      --tx: #000;
      --mu: #555;
      --bd: #000;
      --ac: #000;
      --er: #b00020;
      --on: #fff;
      --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif
    }

    @media (prefers-color-scheme:dark) {
      :root:not([data-theme="light"]) {
        --bg: #000;
        --card: #000;
        --tx: #fff;
        --mu: #b5b5b5;
        --bd: #fff;
        --ac: #fff;
        --er: #ff6b6b;
        --on: #000
      }
    }

    :root[data-theme="dark"] {
      --bg: #000;
      --card: #000;
      --tx: #fff;
      --mu: #b5b5b5;
      --bd: #fff;
      --ac: #fff;
      --er: #ff6b6b;
      --on: #000
    }

    html {
      scroll-padding-top: env(safe-area-inset-top, 0px)
    }

    *,
    *:before,
    *:after {
      box-sizing: inherit
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--tx);
      font-family: Urbanist, 'Helvetica Neue', Arial, sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
      max-width: 1100px;
      margin: 0 auto;
      padding: 40px 20px 24px;
      border-bottom: 1px solid var(--bd)
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      width: 100%;
      max-width: none;
      min-height: 76px;
      padding: 12px clamp(20px, 3vw, 40px);
      background: var(--bg);
      border-bottom: 0
    }

    .topbar-left,
    .primary-nav,
    .topbar-actions {
      display: flex;
      align-items: center
    }

    .topbar-left {
      gap: clamp(24px, 5vw, 64px)
    }

    .brand {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      flex: none;
      text-decoration: none
    }

    .brand img {
      display: block;
      width: auto;
      height: 42px;
      object-fit: contain
    }

    .brand-beta {
      margin-top: 4px;
      color: var(--mu);
      font-size: .55rem;
      font-weight: 600;
      letter-spacing: .18em;
      line-height: 1;
      text-decoration: none;
      text-transform: uppercase
    }

    .primary-nav {
      gap: clamp(18px, 3vw, 36px)
    }

    .primary-nav a {
      color: var(--tx);
      font-size: .9rem;
      text-decoration: none;
      text-underline-offset: 4px
    }

    .primary-nav a:hover {
      text-decoration: underline
    }

    .topbar-actions {
      gap: 10px
    }

    body.authenticated .topbar-actions #navAuth,
    body.authenticated .about-nav-link,
    body.authenticated #directoryNavLink {
      display: none
    }

    .topbar-actions button {
      padding: 10px 18px;
      font-size: .72rem;
      letter-spacing: .1em
    }

    h1 {
      margin: 0;
      font-family: var(--serif);
      font-size: 2.2rem;
      font-weight: 700;
      letter-spacing: .01em
    }

    .sub {
      color: var(--mu);
      font-size: .72rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      margin: 6px 0 0
    }

    button,
    .btn {
      font: inherit;
      cursor: pointer;
      border: 1px solid var(--tx);
      border-radius: 0;
      padding: 12px 24px;
      background: var(--tx);
      color: var(--on);
      font-weight: 500;
      font-size: .78rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      transition: all .2s
    }

    button:hover {
      background: var(--on);
      color: var(--tx)
    }

    button.ghost {
      background: transparent;
      color: var(--tx)
    }

    button.ghost:hover {
      background: var(--tx);
      color: var(--on)
    }

    a.btn.ghost {
      background: transparent;
      color: var(--tx)
    }

    a.btn.ghost:hover {
      background: var(--tx);
      color: var(--on)
    }

    main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 36px 20px 60px
    }

    .directory-intro {
      max-width: 680px;
      margin: 0 0 24px;
      color: var(--mu)
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      gap: 24px
    }

    body.profile-page .land,
    body.profile-page .about,
    body.profile-page .topbar,
    body.profile-page #directory,
    body.profile-page > main:not(.profile-main),
    body.profile-page .nav {
      display: none
    }

    body.company-page .land,
    body.company-page .about,
    body.company-page #directory,
    body.company-page > main:not(.company-main),
    body.company-page .nav {
      display: none
    }

    body.profile-page .profile-main {
      display: block
    }

    body.company-page .company-main {
      display: block
    }

    .profile-main {
      max-width: 760px;
      min-height: 65vh
    }

    .dashboard-main {
      width: 100%;
      max-width: 960px;
      min-height: 0;
      flex: 1
    }

    .dashboard-auth-required {
      width: min(560px, calc(100% - 32px));
      margin: auto;
      text-align: center
    }

    body[data-page="dashboard"] {
      display: flex;
      min-height: 100vh;
      min-height: 100dvh;
      flex-direction: column;
      padding-bottom: 100px
    }

    body[data-page="dashboard"] > .site-footer {
      width: 100%
    }

    .dashboard-bottom-nav {
      position: fixed;
      left: 24px;
      top: 50%;
      z-index: 40;
      display: flex;
      flex-direction: column;
      width: 148px;
      gap: 4px;
      transform: translateY(-50%);
      padding: 6px;
      border: 1px solid var(--bd);
      background: var(--bg);
      box-shadow: 0 8px 28px rgba(0, 0, 0, .14)
    }

    .dashboard-bottom-nav button {
      display: flex;
      width: 100%;
      min-width: 0;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 16px;
      border: 0;
      background: transparent;
      color: var(--tx);
      font: 500 .82rem Urbanist, 'Helvetica Neue', Arial, sans-serif;
      letter-spacing: normal;
      text-transform: none
    }

    .dashboard-bottom-nav button[aria-pressed="true"] {
      background: var(--tx);
      color: var(--on)
    }

    .dashboard-bottom-nav svg {
      width: 19px;
      height: 19px;
      flex: none;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .dashboard-bottom-nav button:focus-visible {
      outline: 2px solid var(--tx);
      outline-offset: 3px
    }

    .pitchers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
      gap: 18px
    }

    .dashboard-account {
      position: relative
    }

    .dashboard-account-trigger {
      display: flex;
      align-items: center;
      gap: 10px;
      max-width: min(60vw, 360px);
      padding: 8px 12px;
      border: 1px solid var(--bd);
      background: var(--bg);
      color: var(--tx);
      font: inherit;
      letter-spacing: normal;
      list-style: none;
      text-align: left;
      text-transform: none
    }

    .dashboard-account-trigger::-webkit-details-marker {
      display: none
    }

    .dashboard-account-trigger svg {
      width: 20px;
      height: 20px;
      flex: none;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7
    }

    .dashboard-email {
      overflow: hidden;
      color: var(--tx);
      font-size: .84rem;
      text-overflow: ellipsis;
      white-space: nowrap
    }

    .dashboard-account-chevron {
      width: 8px;
      height: 8px;
      flex: none;
      transform: rotate(45deg);
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor
    }

    .dashboard-account-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      z-index: 30;
      min-width: 160px;
      padding: 6px;
      border: 1px solid var(--bd);
      background: var(--bg)
    }

    .dashboard-account-menu button {
      width: 100%;
      padding: 10px 12px;
      border: 0;
      background: transparent;
      color: var(--tx);
      font: 500 .82rem Urbanist, 'Helvetica Neue', Arial, sans-serif;
      letter-spacing: normal;
      text-align: left;
      text-transform: none
    }

    .dashboard-account-menu button:hover,
    .dashboard-account-menu button:focus-visible {
      background: var(--tx);
      color: var(--on)
    }

    .dashboard-account[open] .dashboard-account-trigger {
      background: var(--tx);
      color: var(--on)
    }

    .dashboard-account-trigger:focus-visible,
    .dashboard-account-menu button:focus-visible {
      outline: 2px solid var(--tx);
      outline-offset: 3px
    }

    .dashboard-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 28px
    }

    .dashboard-heading p {
      margin: 8px 0 0;
      color: var(--mu)
    }

    .dashboard-card {
      border: 1px solid var(--bd);
      padding: clamp(22px, 5vw, 40px)
    }

    .dashboard-startup-heading {
      display: flex;
      align-items: center;
      gap: 20px
    }

    .dashboard-startup-logo {
      width: 72px;
      height: 72px;
      border: 1px solid var(--bd);
      object-fit: cover
    }

    .dashboard-startup-details {
      max-width: 680px;
      margin: 24px 0 0;
      white-space: pre-wrap
    }

    .dashboard-view-count {
      margin: 16px 0 0;
      color: var(--mu);
      font-size: .85rem
    }

    .dashboard-startup-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      margin-top: 18px;
      color: var(--mu)
    }

    .dashboard-startup-meta a {
      color: var(--tx);
      overflow-wrap: anywhere;
      text-underline-offset: 3px
    }

    .dashboard-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px
    }

    .dashboard-error {
      color: var(--er)
    }

    .company-main {
      max-width: 820px;
      min-height: 65vh
    }

    .company-nav {
      margin-bottom: 24px
    }

    .company-directory-button {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      border: 1px solid #000;
      border-radius: 999px;
      background: #fff;
      color: #000;
      font-size: .76rem;
      font-weight: 600;
      letter-spacing: .08em;
      text-decoration: none;
      text-transform: uppercase;
      transition: background .2s, color .2s, transform .2s
    }

    .company-directory-button:hover {
      transform: translateX(-3px);
      background: #000;
      color: #fff
    }

    .company-directory-button:focus-visible {
      outline: 2px solid var(--tx);
      outline-offset: 4px
    }

    .company-directory-icon {
      display: grid;
      width: 20px;
      height: 20px;
      flex: none;
      place-items: center;
      border-radius: 50%;
      background: transparent;
      color: #000;
      transition: background .2s, color .2s
    }

    .company-directory-icon svg {
      width: 14px;
      height: 14px
    }

    .company-directory-button:hover .company-directory-icon {
      background: transparent;
      color: #fff
    }

    .company-card {
      border: 1px solid var(--bd);
      padding: clamp(22px, 5vw, 40px)
    }

    .company-heading {
      display: flex;
      align-items: center;
      gap: 20px
    }

    .company-logo {
      width: 88px;
      height: 88px;
      border: 1px solid var(--bd);
      object-fit: cover
    }

    .company-heading h1 {
      overflow-wrap: anywhere
    }

    .company-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      margin-top: 24px;
      color: var(--mu)
    }

    .company-meta a {
      color: var(--tx);
      text-underline-offset: 3px;
      overflow-wrap: anywhere
    }

    .company-description {
      margin: 24px 0 0;
      padding-top: 20px;
      border-top: 1px solid var(--bd);
      white-space: pre-wrap
    }

    .company-view-count {
      margin: 16px 0 0;
      color: var(--mu);
      font-size: .85rem
    }

    .company-actions,
    .card-actions {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 24px
    }

    .company-share-status,
    .card-share-status {
      color: var(--mu);
      font-size: .85rem
    }

    .card-actions {
      justify-content: space-between;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid color-mix(in srgb, var(--card-border-color, var(--bd)) 28%, transparent)
    }

    .card-profile-link {
      color: var(--card-text-color, var(--tx));
      text-decoration: none
    }

    .card-share {
      display: grid;
      width: 36px;
      height: 36px;
      flex: none;
      place-items: center;
      padding: 7px;
      border-color: var(--card-text-color, var(--tx));
      background: var(--card-text-color, var(--tx));
      color: var(--card-background, var(--on));
      line-height: 1
    }

    .card-share svg {
      display: block;
      width: 20px;
      height: 20px
    }

    .card-share:hover {
      background: var(--card-background, var(--on));
      color: var(--card-text-color, var(--tx))
    }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0
    }

    .profile-back {
      display: inline-block;
      color: var(--tx);
      text-underline-offset: 3px
    }

    .profile-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px
    }

    .profile-card {
      border: 1px solid var(--bd);
      padding: clamp(22px, 5vw, 40px)
    }

    .profile-heading {
      display: flex;
      align-items: center;
      gap: 20px
    }

    .profile-logo {
      width: 88px;
      height: 88px;
      border: 1px solid var(--bd);
      object-fit: cover
    }

    .profile-heading h1 {
      overflow-wrap: anywhere
    }

    .profile-details {
      margin: 30px 0 0
    }

    .profile-details > div {
      padding: 16px 0;
      border-top: 1px solid var(--bd)
    }

    .profile-details dt {
      margin-bottom: 4px;
      color: var(--mu);
      font-size: .72rem;
      letter-spacing: .16em;
      text-transform: uppercase
    }

    .profile-details dd {
      margin: 0;
      overflow-wrap: anywhere
    }

    .profile-details a {
      color: var(--tx);
      text-underline-offset: 3px
    }

    .profile-card > .err {
      color: var(--er)
    }

    .directory-actions {
      display: flex;
      align-items: center;
      gap: 14px
    }

    .profile-link {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      border: 1px solid var(--tx);
      color: var(--tx)
    }

    .profile-link:hover {
      background: var(--tx);
      color: var(--on)
    }

    .profile-link svg {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.7;
      stroke-linecap: round
    }

    .profile-link-logo:not([hidden]) + svg {
      display: none
    }

    .profile-link-logo {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .card {
      background: var(--card-background, var(--card));
      border: 1px solid color-mix(in srgb, var(--card-border-color, var(--bd)) 28%, transparent);
      color: var(--card-text-color, var(--tx));
      border-radius: 0;
      padding: 26px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      position: relative;
      box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
      transition: box-shadow .25s ease
    }

    .add-startup-card {
      grid-column: 1 / -1;
      justify-self: center;
      width: min(100%, 520px);
      min-height: 280px;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      text-align: center;
      isolation: isolate
    }

    .add-startup-card:before,
    .add-startup-card:after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(115deg, rgba(31, 173, 190, .07), rgba(127, 93, 214, .06) 52%, rgba(238, 130, 115, .06))
    }

    .add-startup-card:before {
      mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 72px);
      -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 72px)
    }

    .add-startup-card:after {
      mask-image: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 72px);
      -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 72px)
    }

    .add-startup-card > * {
      position: relative;
      z-index: 1
    }

    .add-startup-title {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3rem);
      line-height: 1.05
    }

    .add-startup-benefit {
      max-width: 340px;
      margin: 0;
      color: var(--mu)
    }

    .add-startup-title.is-changing,
    .add-startup-benefit.is-changing {
      animation: add-startup-fade .45s ease both
    }

    @keyframes add-startup-fade {
      from { opacity: .2; transform: translateY(5px) }
      to { opacity: 1; transform: translateY(0) }
    }

    @media (prefers-reduced-motion: reduce) {
      .add-startup-title,
      .add-startup-benefit {
        animation: none
      }
    }

    .card:hover {
      box-shadow: 0 8px 24px rgba(0, 0, 0, .18)
    }

    .top {
      display: flex;
      gap: 14px;
      align-items: center
    }

    .logo {
      width: 64px;
      height: 64px;
      aspect-ratio: 1/1;
      border-radius: 0;
      object-fit: cover;
      border: 1px solid color-mix(in srgb, var(--card-border-color, var(--bd)) 28%, transparent);
      flex: none;
      background: #fff
    }

    .name {
      font-family: var(--serif);
      font-weight: 600;
      font-size: 1.25rem;
      margin: 0 0 2px;
      word-break: break-word;
      line-height: 1.25
    }

    .mail {
      color: var(--tx);
      font-size: .8rem;
      letter-spacing: .03em;
      text-decoration: underline;
      text-underline-offset: 3px;
      word-break: break-all
    }

    .desc {
      margin: 0;
      color: var(--card-muted-color, var(--mu));
      font-size: .92rem;
      padding-top: 16px;
      border-top: 1px solid color-mix(in srgb, var(--card-border-color, var(--bd)) 28%, transparent)
    }

    .del {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      color: var(--mu);
      padding: 2px 8px;
      font-size: 1.1rem
    }

    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 16px;
      font-size: .78rem;
      letter-spacing: .04em;
      color: var(--card-muted-color, var(--mu))
    }

    .meta a {
      color: var(--card-text-color, var(--tx));
      text-decoration: none;
      word-break: break-all
    }

    .external-link-icon {
      display: inline-block;
      width: 11px;
      height: 11px;
      margin-left: 4px;
      vertical-align: 0.05em
    }

    .meta span:before {
      content: "\1F4CD\00a0";
      filter: grayscale(1)
    }

    .empty {
      text-align: center;
      color: var(--mu);
      padding: 60px 0;
      font-family: var(--serif);
      font-style: italic
    }

    dialog {
      border: 1px solid var(--bd);
      border-radius: 0;
      background: var(--card);
      color: var(--tx);
      width: min(500px, 92vw);
      padding: 34px;
      box-shadow: none
    }

    dialog::backdrop {
      background: rgba(120, 120, 120, .55)
    }

    dialog h2 {
      font-family: var(--serif);
      font-size: 1.6rem;
      font-weight: 700
    }

    .nav {
      display: none
    }

    html {
      scroll-behavior: smooth
    }

    .land {
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 60px 24px;
      border-bottom: 1px solid var(--bd);
      position: relative;
      overflow: hidden;
      isolation: isolate
    }

    @supports (height: 100dvh) {
      .land {
        min-height: 100dvh
      }
    }

    .land:before,
    .land:after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background: linear-gradient(115deg, rgba(31, 173, 190, .05), rgba(127, 93, 214, .04) 52%, rgba(238, 130, 115, .04))
    }

    .land:before {
      mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 72px);
      -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 1px, transparent 1px 72px)
    }

    .land:after {
      mask-image: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 72px);
      -webkit-mask-image: repeating-linear-gradient(0deg, #000 0 1px, transparent 1px 72px)
    }

    .land > * {
      position: relative;
      z-index: 1
    }

    .hero-logo {
      width: auto;
      height: 60px;
      object-fit: contain
    }

    .land h1 {
      width: 100%;
      font-size: clamp(2.6rem, 9vw, 5.5rem);
      line-height: 1.05;
      margin: 20px auto
    }

    .lead {
      width: 100%;
      max-width: 520px;
      color: var(--mu);
      font-size: 1.05rem;
      margin: 0 auto
    }

    .cta {
      display: flex;
      align-self: center;
      gap: 14px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 34px
    }

    a.btn {
      text-decoration: none;
      display: inline-block
    }

    a.btn:hover {
      background: var(--on);
      color: var(--tx)
    }

    .about {
      max-width: 1000px;
      margin: 0 auto;
      padding: 70px 20px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px
    }

    .step {
      border-top: 1px solid var(--bd);
      padding-top: 18px
    }

    .step b {
      font-family: var(--serif);
      font-size: 2rem;
      display: block;
      font-weight: 600
    }

    .step h2 {
      font-size: .78rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      margin: 6px 0 8px
    }

    .step p {
      color: var(--mu);
      font-size: .92rem;
      margin: 0
    }

    @media (max-width:700px) {
      .about {
        grid-template-columns: 1fr;
        padding: 50px 24px
      }

      .land {
        min-height: 100vh;
        min-height: 100svh
      }
    }

    @media (max-width:700px) {
      header {
        padding: 28px 20px 20px
      }

      h1 {
        font-size: 1.8rem
      }

      main {
        padding: 24px 0 40px
      }

      .grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch
      }

      .grid::-webkit-scrollbar {
        display: none
      }

      .card {
        flex: 0 0 calc(100% - 40px);
        margin: 6px 20px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 280px;
        justify-content: center
      }

      .add-startup-card {
        grid-column: auto;
        justify-self: auto;
        width: auto;
        flex: 0 0 calc(100% - 40px)
      }

      .empty {
        flex: 0 0 100%
      }

      .nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        padding: 8px 20px 0
      }

      .nav button {
        padding: 8px 16px;
        font-size: 1.1rem;
        letter-spacing: 0
      }

      .nav span {
        font-family: var(--serif);
        font-size: 1.05rem;
        min-width: 110px;
        text-align: center
      }

      .nav small {
        display: block;
        font-family: Inter, sans-serif;
        font-size: .62rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--mu)
      }
    }

    @media (max-width: 600px) {
      body[data-page="dashboard"] {
        padding-bottom: 92px
      }

      .dashboard-bottom-nav {
        top: auto;
        left: 50%;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: min(340px, calc(100% - 28px));
        flex-direction: row;
        transform: translateX(-50%);
        justify-content: stretch
      }

      .dashboard-bottom-nav button {
        width: auto;
        min-width: 0;
        flex: 1;
        padding: 9px 10px;
        font-size: .78rem
      }

      dialog {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: 100%;
        margin: 0;
        padding: max(16px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom));
        border: 0;
        box-shadow: none;
        overflow-y: auto
      }

      .topbar {
        min-height: 0;
        padding: 10px 14px
      }

      .topbar-left {
        gap: 10px
      }

      .brand img {
        height: 30px
      }

      .primary-nav {
        gap: 10px
      }

      .primary-nav a {
        font-size: .78rem
      }

      .topbar-actions {
        gap: 6px
      }

      .topbar-actions button {
        padding: 8px 10px;
        font-size: .64rem;
        letter-spacing: .07em
      }
    }

    label {
      display: block;
      font-weight: 500;
      font-size: .72rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      margin: 20px 0 6px
    }

    input[type=text],
    input[type=email],
    input[type=url],
    select,
    textarea {
      width: 100%;
      font: inherit;
      padding: 11px 12px;
      border-radius: 0;
      border: 1px solid var(--bd);
      background: var(--bg);
      color: var(--tx);
      outline: none
    }

    input:focus,
    textarea:focus {
      box-shadow: 3px 3px 0 var(--tx)
    }

    input[type=file] {
      font-size: .85rem;
      max-width: 100%
    }

    textarea {
      min-height: 100px;
      resize: vertical
    }

    .hint {
      font-size: .78rem;
      color: var(--mu);
      margin-top: 4px
    }

    .err {
      font-size: .8rem;
      color: var(--er);
      font-weight: 600;
      font-style: italic;
      margin-top: 4px;
      min-height: 1em
    }

    .row {
      display: flex;
      gap: 12px;
      align-items: center
    }

    .prev {
      width: 64px;
      height: 64px;
      border-radius: 0;
      border: 1px solid var(--bd);
      object-fit: cover;
      display: none
    }

    .actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      margin-top: 20px
    }

    .dialog-heading {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 16px
    }

    .dialog-close,
    .dialog-close:hover {
      display: grid;
      width: 34px;
      height: 34px;
      flex: none;
      place-items: center;
      padding: 0;
      border: 1px solid var(--bd);
      background: transparent;
      color: var(--tx);
      font-size: 1.35rem;
      font-weight: 400;
      letter-spacing: 0;
      line-height: 1;
      text-transform: none
    }

    .dialog-close:hover {
      background: var(--tx);
      color: var(--on)
    }

    .form-progress {
      display: grid;
      gap: 7px;
      margin: 8px 0 0;
      color: var(--mu);
      font-size: .68rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase
    }

    .form-progress[hidden] {
      display: none
    }

    .progress-track {
      display: block;
      width: min(220px, 55vw);
      height: 3px;
      overflow: hidden;
      background: color-mix(in srgb, var(--tx) 16%, transparent)
    }

    .progress-track > span {
      display: block;
      height: 100%;
      background: var(--tx);
      transition: width .2s ease
    }

    .required {
      color: var(--er);
      letter-spacing: 0
    }

    .form-step > label:first-child {
      margin-top: 8px
    }

    .form-step textarea {
      min-height: 110px
    }

    .form-step select {
      width: 100%;
      min-height: 44px;
      font: inherit;
      padding: 10px 12px;
      border: 1px solid var(--bd);
      border-radius: 0;
      background: var(--bg);
      color: var(--tx)
    }

    .form-step select:focus,
    .form-step input:focus,
    .form-step textarea:focus {
      outline: 2px solid var(--tx);
      outline-offset: 2px
    }

    .form-step select:disabled {
      opacity: .55;
      cursor: not-allowed
    }

    .logo-picker {
      align-items: flex-start
    }

    .logo-picker > div {
      min-width: 0
    }

    .form-step-actions {
      justify-content: space-between;
      margin-top: 24px
    }

    .status {
      text-align: center;
      color: var(--mu);
      padding: 60px 0;
      font-family: var(--serif);
      font-style: italic;
      grid-column: 1/-1;
      flex: 0 0 100%
    }

    .status button {
      margin-top: 16px;
      font-style: normal
    }

    button:disabled {
      opacity: .5;
      cursor: wait
    }

    .spin {
      display: inline-block;
      width: 14px;
      height: 14px;
      border: 2px solid var(--mu);
      border-top-color: var(--tx);
      border-radius: 50%;
      animation: sp .8s linear infinite;
      vertical-align: -2px;
      margin-right: 8px
    }

    @keyframes sp {
      to {
        transform: rotate(360deg)
      }
    }

    .gbtn,
    .gbtn.ghost {
      display: flex;
      width: 100%;
      min-height: 40px;
      align-items: center;
      justify-content: center;
      gap: 12px;
      padding: 9px 16px;
      border: 1px solid #747775;
      border-radius: 4px;
      background: #fff;
      color: #1f1f1f;
      font-family: "Google Sans", Roboto, Arial, sans-serif;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: normal;
      line-height: 20px;
      text-align: center;
      text-transform: none;
      transition: background-color .15s, box-shadow .15s
    }

    .gbtn:hover,
    .gbtn.ghost:hover {
      background: #f8faff;
      color: #1f1f1f;
      box-shadow: 0 1px 2px rgba(60, 64, 67, .3)
    }

    .gbtn:focus-visible,
    .gbtn.ghost:focus-visible {
      outline: 2px solid #1a73e8;
      outline-offset: 2px
    }

    .google-mark {
      width: 18px;
      height: 18px;
      flex: none
    }

    .or {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 20px 0 0;
      color: var(--mu);
      font-size: .72rem;
      letter-spacing: .22em;
      text-transform: uppercase
    }

    .or:before,
    .or:after {
      content: "";
      flex: 1;
      border-top: 1px solid var(--bd)
    }

    .who {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin: 14px 0 0;
      padding: 10px 12px;
      border: 1px solid var(--bd);
      font-size: .8rem;
      word-break: break-all
    }

    .who button {
      padding: 6px 12px;
      font-size: .68rem
    }

    .note {
      font-size: .82rem;
      color: var(--tx);
      margin-top: 10px;
      min-height: 1em
    }

    [hidden] {
      display: none !important
    }

    input[type=password] {
      width: 100%;
      font: inherit;
      padding: 11px 12px;
      border-radius: 0;
      border: 1px solid var(--bd);
      background: var(--bg);
      color: var(--tx);
      outline: none
    }

    input[type=password]:focus {
      box-shadow: 3px 3px 0 var(--tx)
    }

    dialog {
      max-height: 92vh;
      overflow: auto
    }

    .dialog-title {
      margin: 0
    }

    .auth-intro {
      margin: 10px 0 18px
    }

    .optional,
    .word-count {
      font-weight: 400;
      color: var(--mu)
    }

    .site-footer {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: start;
      gap: 16px 24px;
      max-width: 1100px;
      margin: 0 auto;
      padding: 20px;
      border-top: 1px solid var(--bd);
      color: var(--mu);
      font-size: .8rem
    }

    .footer-brand {
      grid-column: 1;
      grid-row: 1
    }

    .footer-brand {
      display: grid;
      gap: 6px;
      color: var(--tx);
      font-weight: 600
    }

    .footer-brand img {
      display: block;
      width: 106px;
      height: 44px;
      object-fit: contain;
      object-position: left center
    }

    .footer-address {
      grid-column: 1;
      grid-row: 2;
      max-width: 340px;
      color: var(--mu);
      font-size: .78rem;
      font-style: normal;
      line-height: 1.55
    }

    .site-footer nav {
      display: flex;
      grid-column: 2;
      grid-row: 1;
      justify-content: flex-end;
      gap: 20px;
      flex-wrap: wrap
    }

    .site-footer .copyright {
      grid-column: 1 / -1;
      grid-row: 3;
      padding-top: 14px;
      border-top: 1px solid color-mix(in srgb, var(--bd) 25%, transparent)
    }

    .site-footer a,
    .legal-content a {
      color: var(--tx);
      text-underline-offset: 3px
    }

    .legal-content {
      max-width: 820px
    }

    .legal-content h2 {
      margin: 32px 0 8px;
      font-family: var(--serif);
      font-size: 1.4rem
    }

    .legal-content h2:first-of-type {
      margin-top: 0
    }

    .legal-content p,
    .legal-content li {
      color: var(--mu)
    }

    .legal-content ul {
      padding-left: 24px
    }

    .cookie-consent {
      position: fixed;
      z-index: 1000;
      right: 20px;
      bottom: 20px;
      left: 20px;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      max-width: 960px;
      margin: 0 auto;
      padding: 20px;
      align-items: flex-start;
      border: 1px solid var(--bd);
      border-radius: 12px;
      background: var(--card);
      color: var(--tx);
      box-shadow: none
    }

    .cookie-consent[hidden] {
      display: none
    }

    .cookie-consent-copy h2 {
      margin: 0 0 6px;
      font-family: var(--serif);
      font-size: 1.3rem
    }

    .cookie-consent-copy p {
      margin: 0;
      color: var(--mu);
      font-size: .9rem;
      line-height: 1.5
    }

    .cookie-consent-copy a {
      color: var(--tx);
      text-underline-offset: 3px
    }

    .cookie-consent-choices {
      display: grid;
      min-width: min(380px, 48%);
      gap: 12px
    }

    .cookie-consent-choice {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding-top: 10px;
      border-top: 1px solid color-mix(in srgb, var(--bd) 25%, transparent)
    }

    .cookie-consent-choice h3 {
      margin: 0 0 2px;
      font-size: .82rem
    }

    .cookie-consent-choice p,
    .cookie-consent-error {
      margin: 0;
      color: var(--mu);
      font-size: .76rem;
      line-height: 1.4
    }

    .cookie-consent-error {
      color: var(--er)
    }

    .cookie-consent-actions {
      display: flex;
      flex-shrink: 0;
      gap: 8px
    }

    .cookie-consent-actions button {
      min-height: 38px;
      padding: 7px 11px;
      border: 1px solid var(--bd);
      border-radius: 8px;
      background: var(--ac);
      color: var(--on);
      font: inherit;
      font-size: .78rem;
      cursor: pointer
    }

    .cookie-consent-actions button.ghost {
      background: var(--card);
      color: var(--tx)
    }

    @media (max-width: 600px) {
      .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px
      }

      .cookie-consent-choices {
        min-width: 0
      }

      .cookie-consent-choice {
        grid-template-columns: 1fr;
        gap: 8px
      }

      .cookie-consent-actions {
        width: 100%
      }

      .cookie-consent-actions button {
        flex: 1
      }

      .site-footer {
        grid-template-columns: minmax(0, 1fr) auto
      }

      .site-footer nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px
      }

      .dashboard-account-trigger {
        max-width: 58vw;
        gap: 7px;
        padding: 7px 9px
      }

      .dashboard-email {
        font-size: .76rem
      }
    }
