.mobile-only { display: none; }
.reader-copy-break { display: none; }

/* Mobile handoff: dPpjV5NsEQOpsi250rXu67. */
@media (max-width: 600px) {
  :root { --sheet-row: 47px; }

  html,
  body { width: 100%; min-width: 0; overflow-x: hidden; }

  body {
    min-height: 100dvh;
    background-color: #fcfcfb;
    background-image:
      linear-gradient(to bottom, #e2e4e7 1px, transparent 1px),
      linear-gradient(to right, #e2e4e7 1px, transparent 1px);
    background-position: 0 0, 16px 0;
    background-size: 100% 47px, calc((100vw - 32px) / 4) 100%;
    background-repeat: repeat, repeat-x;
  }

  button,
  input,
  textarea,
  select { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }

  .mobile-only { display: block; }
}

/* The landing page also uses the phone layout on short touch screens in landscape. */
@media (width < 601px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  .landing-page {
    --landing-gutter: 1rem;
    --landing-grid-row: 2.9375rem;
    display: grid;
    grid-template: auto 1fr auto / minmax(0, 1fr);
    min-height: 100dvh;
    padding: clamp(.75rem, 5.7dvh, 3rem) var(--landing-gutter);
    background-color: #fcfcfb;
    background-image:
      linear-gradient(to bottom, #e2e4e7 1px, transparent 1px),
      linear-gradient(to right, #e2e4e7 1px, transparent 1px);
    background-position: 0 0, var(--landing-gutter) 0;
    background-size: 100% var(--landing-grid-row), calc((100% - 2 * var(--landing-gutter)) / 4) 100%;
    background-repeat: repeat, repeat-x;
    box-shadow: inset 0 0 0 1px #e2e4e7;
  }
  .landing-page::before {
    position: absolute;
    z-index: 0;
    inset-block: 0;
    left: var(--landing-gutter);
    /* Cover the body gridline at the content edge with one frame border. */
    right: calc(var(--landing-gutter) - 1px);
    border-right: 1px solid #e2e4e7;
    background: #fcfcfb;
    content: "";
  }
  .landing-page > .site-head,
  .landing-page > .landing,
  .landing-page > .legal-links {
    position: relative;
    inset: auto;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
  }
  .landing-page .site-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(.5rem, 2.25dvh, 1.1875rem);
    padding: 0;
  }
  .landing-page .site-head .brand {
    display: flex;
    width: 100%;
    height: auto;
    min-height: var(--landing-grid-row);
    align-items: center;
    gap: 10px;
    padding: 0 5px;
    border: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .landing-page .brand-mark { width: 43px; height: auto; }
  .landing-page .brand-mark img { display: block; width: 32px; height: auto; }
  .landing-page .brand-name { display: block; width: auto; height: auto; min-width: 0; color: #2a333a; font-size: 1.1875rem; font-weight: 200; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
  .landing-page .brand-suffix { margin-left: .875em; color: #386f9f; }
  .landing-page .site-head nav {
    display: grid;
    grid-column: 1;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-page .site-head nav button {
    width: 100%;
    height: auto;
    min-height: var(--landing-grid-row);
    margin: 0;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fcfcfb;
    color: #29343b;
    font-size: .875rem;
    font-weight: 400;
  }
  .landing-page .site-head nav [data-action="signin"],
  .landing-page .site-head nav .primary { width: 100%; }
  .landing-page .site-head nav button + button { border-left: 0; }
  .landing-page .site-head nav button::before,
  .landing-page .actions button::before,
  .landing-page .lead::before,
  .landing-page .legal-links a::before { content: none; }
  .landing-page .site-head nav .primary { background: #fff34d; }
  .landing-page .site-head nav .primary:hover:not(:disabled),
  .landing-page .site-head nav .primary:active,
  .landing-page .site-head nav .primary:focus-visible { background: #fff34d; }
  .landing-page .landing {
    display: grid;
    align-self: start;
    gap: .8125rem;
    margin-block: clamp(1rem, 13.2dvh, 6.9375rem) clamp(1rem, 7dvh, 4rem);
    padding: 0;
  }
  .landing-page .lead {
    display: block;
    width: 100%;
    height: auto;
    min-height: min(23dvh, 12.1875rem);
    margin: 0;
    padding: .8125em 1.125em;
    border: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #2a333a;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625;
    text-align: left;
    white-space: normal;
  }
  .landing-page .lead br { display: none; }
  .landing-page .lead-wrap-space { display: inline; }
  .landing-page .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; width: 100%; height: auto; margin: 0; }
  .landing-page .actions button {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fcfcfb;
    color: #2a333a;
    font-size: .9375rem;
    font-weight: 400;
  }
  .landing-page .actions .primary { border: 0; border-right: 1px solid #e2e4e7; background: #fff34d; }
  .landing-page .actions .primary:hover:not(:disabled),
  .landing-page .actions .primary:active,
  .landing-page .actions .primary:focus-visible { background: #fff34d; }
  .landing-page .actions .primary,
  .landing-page .actions [data-action="signin"] { width: 100%; height: auto; min-height: 3.25rem; }
  .landing-page .actions [data-action="signin"] { background-color: #fff; }
  .landing-page .site-head nav button,
  .landing-page .actions button {
    padding: .5em;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  /* Share the frame's right pixel so scaling cannot leave a white strip. */
  .landing-page .site-head .brand,
  .landing-page .site-head nav .primary,
  .landing-page .lead,
  .landing-page .actions .primary,
  .landing-page .actions [data-action="signin"] { width: calc(100% + 1px); }
  .landing-page .legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 1.5rem;
    padding: 0 .5rem;
    border-top: 1px solid #e2e4e7;
    background: transparent;
    color: #626d76;
    font-size: .8125rem;
  }
  .landing-page .legal-links a { color: #386f9f; text-decoration: none; }
  .landing-page .legal-links a,
  .landing-page .copyright { width: auto; height: auto; max-width: 100%; padding: 0; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  .landing-page .legal-links a { display: flex; align-items: center; min-height: 2.75rem; font-size: inherit; color: #626d76; }
  .landing-page .copyright { margin-inline-start: auto; font-size: .75rem; }
}

@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  /* Creator and Reader shell */
  body:has(.workspace) {
    --sheet-row: 47px;
    min-height: 100dvh;
    background-color: #fcfcfb;
    background-image:
      linear-gradient(to bottom, #e2e4e7 1px, transparent 1px),
      linear-gradient(to right, #e2e4e7 1px, transparent 1px);
    background-position: 0 0, 16px 0;
    background-size: 100% var(--sheet-row), calc((100% - 32px) / 4) 100%;
  }
  .workspace :where(.mobile-only) { display: block; }
  .workspace {
    width: auto;
    min-height: 100dvh;
    max-width: none;
    margin: 0 16px;
    padding: clamp(1rem, 5.5dvh, 2.6875rem) 0 max(2rem, env(safe-area-inset-bottom));
    overflow: visible;
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .mobile-workspace-head {
    width: 100%;
    height: auto;
    min-height: 48px;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .mobile-workspace-head .brand {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 46px;
    align-items: center;
    padding: 0 10px;
  }
  .mobile-workspace-head .brand-mark { display: none; }
  .mobile-workspace-head .brand-name { color: #2a333a; font-size: 1.1875rem; font-weight: 200; line-height: 1.75rem; white-space: normal; overflow-wrap: anywhere; }
  .mobile-workspace-head .brand-suffix { color: #386f9f; }
  .mobile-view-tabs {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 13px 0 23px;
  }
  .mobile-view-tabs button {
    width: 100%;
    height: 47px;
    min-height: 47px;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 2.9375rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-view-tabs button:last-child { border-right: 0; }
  .mobile-view-tabs button.is-active { background: #fff34d; }
  .mobile-view-tabs button:focus-visible { position: relative; z-index: 2; outline: 2px solid #26323a; outline-offset: -3px; }

  .workspace .columns { display: block; width: 100%; min-height: 0; height: auto; }
  .workspace .list-section,
  .workspace .details-section { width: 100%; min-width: 0; margin: 0; }
  .workspace[data-mobile-pane="list"] .details-section,
  .workspace[data-mobile-pane="profile"] .list-section { display: none; }
  .workspace .section-title { display: none; }
  .workspace .companies { padding: 0; }

  .workspace .reader-intro {
    width: 100%;
    min-height: min(16dvh, 8.3125rem);
    margin: 0 0 26px;
    padding: 18px 17px;
    overflow-wrap: anywhere;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
  }
  .workspace .reader-intro::before { display: none; }
  .workspace.reader .reader-intro { min-height: min(19.5dvh, 10.1875rem); padding-top: 26px; }

  .workspace .company { width: 100%; margin: 0 0 22px; }
  .workspace .company-head {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: 1fr 47px;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
  }
  .workspace .company-head input,
  .workspace .company-head h3 {
    grid-column: 1 / -1;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 2.875rem;
  }
  .workspace:not(.reader) .company-head input { padding-right: 48px; }
  .workspace .company-head .delete {
    left: auto;
    right: 0;
    top: 0;
    z-index: 2;
    width: 47px;
    height: 46px;
    opacity: 1;
    background: #fcfcfb;
    box-shadow: inset 1px 0 #e2e4e7;
    font-size: 1.375rem;
    line-height: 2.875rem;
  }
  .workspace .person {
    display: grid;
    width: 100%;
    height: 62px;
    min-height: 62px;
    grid-template-columns: 37px minmax(0, 1fr) minmax(0, 1fr) 114px;
    grid-template-rows: 31px 31px;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace .person > :is(input, textarea),
  .workspace.reader .person > span {
    width: 100%;
    height: 31px;
    min-height: 31px;
    padding: 0 8px;
    overflow: hidden;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.8125rem;
    line-height: 1.9375rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .workspace .person > :is(input, textarea):nth-of-type(1),
  .workspace.reader .person > span:nth-of-type(1) { grid-column: 2; grid-row: 1; border-right: 1px solid #e2e4e7; }
  .workspace .person > :is(input, textarea):nth-of-type(2),
  .workspace.reader .person > span:nth-of-type(2) { grid-column: 3; grid-row: 1; }
  .workspace .person > :is(input, textarea):nth-of-type(3),
  .workspace.reader .person > span:nth-of-type(3) {
    grid-column: 2 / 4;
    grid-row: 2;
    border-top: 1px solid #e2e4e7;
    background: #fcfcfb;
    box-shadow: none;
  }
  .workspace .person > :is(input, textarea):nth-of-type(1) { padding-left: 8px; }
  .workspace .person > .delete {
    position: static;
    z-index: 1;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 37px;
    height: 62px;
    opacity: 1;
    background: #fcfcfb;
    box-shadow: inset -1px 0 #e2e4e7;
    font-size: 1.125rem;
    line-height: 3.875rem;
  }
  .workspace .person > .contact-actions {
    display: grid;
    grid-column: 4;
    grid-row: 1 / 3;
    width: 114px;
    height: 62px;
    grid-template-columns: repeat(3, 38px);
    border-left: 1px solid #e2e4e7;
  }
  .workspace .person .icon {
    width: 38px;
    height: 62px;
    min-height: 44px;
    padding: 0;
    border-right: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace .person .icon:last-child { border-right: 0; }
  .workspace .person .icon img { width: 18px; height: 18px; }
  .workspace .add-row {
    width: 100%;
    height: 43px;
    min-height: 43px;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.875rem;
  }
  .workspace .add-row::before { display: none; }
  .workspace .add-block {
    width: 100%;
    height: 55px;
    min-height: 55px;
    margin: 0 0 24px;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.875rem;
  }
  .workspace .add-block::before { display: none; }
  .workspace .empty { width: 100%; margin: 0 0 22px; background: #fcfcfb; }

  /* Creator mobile controls */
  .workspace .toolbar {
    display: grid;
    width: 100%;
    min-height: 47px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
  }
  .workspace .toolbar button {
    grid-column: auto !important;
    width: 100%;
    height: 47px;
    min-height: 47px;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    font-size: 0.9375rem;
    line-height: 2.9375rem;
  }
  .workspace .toolbar button::before { display: none; }
  .workspace .toolbar .save { background: #fff34d; }
  .workspace .save-status {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 8px;
    background: #fcfcfb;
    color: #626d76;
    font-size: 0.6875rem;
    line-height: 1.5rem;
    text-align: right;
  }
  .workspace .save-status:empty { display: none; }
  .workspace .save-status::before { display: none; }
  .workspace .bottom-bar { display: block; width: 100%; min-height: 0; }
  .workspace .tabs {
    display: flex;
    width: 100%;
    min-height: 47px;
    flex-wrap: wrap;
    margin: 11px 0 0;
    overflow: visible;
  }
  .workspace .tab-wrap,
  .workspace .tabs > [data-action="add-list"] {
    width: 50%;
    height: 47px;
    flex: 0 0 50%;
  }
  .workspace .tab,
  .workspace .tabs > [data-action="add-list"] {
    width: 100%;
    height: 47px;
    min-height: 47px;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    font-size: 0.9375rem;
    line-height: 2.9375rem;
  }
  .workspace .tab::before,
  .workspace .tabs > [data-action="add-list"]::before { display: none; }
  .workspace .tab.active { background: #fff34d; }
  .workspace .tab-wrap .delete { top: 0; right: 0; width: 44px; height: 44px; opacity: 1; line-height: 2.75rem; }
  .workspace .account-actions {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 25px;
  }
  .workspace .account-actions button {
    width: 100%;
    height: 47px;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    font-size: 0.9375rem;
    line-height: 2.9375rem;
  }
  .workspace .account-actions button::before { display: none; }
  .workspace[data-mobile-pane="list"] .account-actions { display: none; }
  .workspace[data-mobile-pane="profile"] .tabs { display: none; }

  /* Mobile profile grid */
  .workspace .details-body { display: block; width: 100%; }
  .workspace .name-row,
  .workspace .location-row {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace .name-row :is(input, textarea),
  .workspace .location-row input,
  .workspace.reader .name-row > span,
  .workspace.reader .location-row > span {
    width: 100%;
    height: 47px;
    padding: 0 13px;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.875rem;
    line-height: 2.9375rem;
  }
  .workspace .name-row > :nth-child(2),
  .workspace .location-row > :nth-child(2) { border-right: 0; }
  .workspace .profile-blank-cell { display: none; }
  .workspace .details-body > :is(input, textarea),
  .workspace.reader .plain-detail {
    display: block;
    width: 100%;
    height: 47px;
    min-height: 47px;
    margin: 0;
    padding: 0 13px;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.875rem;
    line-height: 2.9375rem;
  }
  .workspace .profile-contact-actions {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .workspace .profile-contact-actions .icon {
    width: 100%;
    height: 47px;
    min-height: 47px;
    border-right: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace .profile-contact-actions .icon:last-child { border-right: 0; }
  .workspace .profile-contact-actions .icon img { width: 20px; height: 20px; }
  .workspace .icon.muted:not(:disabled) :is(img, svg) { opacity: 1; }
  .workspace .profile-merged-spacer { display: block; width: 100%; height: 28px; border-bottom: 1px solid #e2e4e7; }
  .workspace .about-section,
  .workspace.reader .about-copy {
    position: relative;
    display: block;
    width: 100%;
    height: 188px;
    min-height: 188px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace .about-section textarea,
  .workspace.reader .about-copy {
    width: 100%;
    height: 188px;
    margin: 0;
    padding: 16px 13px 34px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    resize: none;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.875rem;
    line-height: 1.3125rem;
    overflow-wrap: anywhere;
  }
  .workspace .about-section > span { position: absolute; right: 13px; bottom: 11px; color: #626d76; font-size: 0.6875rem; }
  .workspace .pitch-section {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: 1fr 96px;
    margin: 20px 0 0;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
  }
  .workspace .pitch-label,
  .workspace .pitch-section > span.pitch-label {
    grid-column: 1;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.875rem;
    line-height: 2.875rem;
  }
  .workspace .pitch-section > .icon {
    grid-column: 2 !important;
    width: 96px;
    height: 46px;
    border-left: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace.reader .pitch-section { margin-top: 21px; grid-template-columns: 1fr 50px 50px; }
  .workspace.reader .pitch-section > .icon { width: 50px; }
  .workspace.reader .pitch-section > .icon.mobile-only { display: inline-flex; }
  .workspace.reader .pitch-section > .icon:first-of-type { grid-column: 2 !important; }
  .workspace.reader .pitch-section > .icon + .icon { grid-column: 3 !important; }
  .workspace .intro-title {
    display: grid;
    width: 100%;
    height: 47px;
    grid-template-columns: minmax(0, 1fr) 49px 49px;
    margin: 20px 0 0;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
  }
  .workspace .intro-title h3 {
    grid-column: 1;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 13px;
    background: #fcfcfb;
    color: #26323a;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 2.875rem;
  }
  .workspace .intro-title h3::before { display: none; }
  .workspace .intro-title .icon {
    grid-column: auto;
    width: 49px;
    height: 46px;
    border-left: 1px solid #e2e4e7;
    background: #fcfcfb;
  }
  .workspace .intro-title .icon img { width: 20px; height: 20px; }
  .workspace .intro-preview,
  .workspace.reader .intro-message {
    display: block;
    width: 100%;
    min-height: 346px;
    max-height: none;
    margin: 0;
    padding: 17px 13px;
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom: 1px solid #e2e4e7;
    background: #fcfcfb;
    box-shadow: none;
    color: #26323a;
    font-size: 0.875rem;
    line-height: 1.3125rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .workspace.reader .intro-title { grid-template-columns: 1fr 50px; }
  .workspace.reader .intro-title .icon { grid-column: 2; width: 50px; }
  .workspace.reader .reader-footer { display: none; }
  .workspace.reader .toolbar,
  .workspace.reader .bottom-bar { display: none; }

  .mobile-reader-cta { width: 100%; margin: 22px 0 0; }
  .mobile-reader-cta a {
    display: flex;
    width: 100%;
    height: 47px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e4e7;
    color: #26323a;
    font-size: 0.9375rem;
    text-decoration: none;
  }
  .mobile-reader-create { background: #fff34d; }
  .mobile-reader-site { margin-top: 12px; background: #fcfcfb; }
  .mobile-reader-site span { color: #386f9f; }

  .notice { position: relative; z-index: 5; width: calc(100% - 32px); margin: 8px 16px 0; font-size: 12px; }
  .preview-label { position: fixed; z-index: 30; top: 6px; left: 50%; transform: translateX(-50%); font-size: 10px; }

  /* Mobile anchored editors */
  .profile-contact-popover {
    width: calc(100vw - 32px);
    min-width: 0;
    max-width: 398px;
    height: 87px;
    min-height: 87px;
    padding: 23px 0 0;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .profile-contact-popover h2 {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 42px);
    height: 23px;
    padding: 0 8px;
    border-bottom: 1px solid #e2e4e7;
    color: #626d76;
    font-size: 10px;
    font-weight: 400;
    line-height: 23px;
  }
  .profile-contact-popover-close { top: 0; right: 0; width: 42px; height: 23px; border-left: 1px solid #e2e4e7; border-bottom: 1px solid #e2e4e7; }
  .profile-contact-popover-close img { width: 15px; height: 15px; }
  .profile-contact-popover form { display: grid; width: 100%; height: 63px; grid-template-columns: 1fr 64px; }
  .profile-contact-popover input { width: 100%; height: 63px; padding: 0 12px; border: 0; border-right: 1px solid #e2e4e7; border-radius: 0; font-size: 13px; }
  .profile-contact-popover form > button { width: 64px; height: 63px; border: 0; background: #fff; font-size: 13px; }
  .profile-contact-popover-error { position: absolute; top: 64px; left: 10px; z-index: 2; font-size: 10px; }
  .profile-contact-popover-pointer { display: none; }

  .reader-phone-popover {
    width: calc(100vw - 32px);
    max-width: 398px;
    height: 58px;
    min-height: 58px;
    grid-template-columns: 1fr 58px 42px;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .reader-phone-number { height: 56px; padding: 0 12px; font-size: 13px; line-height: 56px; }
  .reader-phone-copy { width: 58px; height: 56px; border-left: 1px solid #e2e4e7; border-right: 1px solid #e2e4e7; }
  .reader-phone-close { width: 42px; height: 56px; }

  .intro-popover {
    left: 16px !important;
    width: calc(100vw - 32px);
    max-width: 398px;
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .intro-popover-pointer { display: none; }
  .intro-popover-close { top: 8px; right: 8px; width: 44px; height: 44px; }
  .intro-popover-editor { padding-right: 44px; font-size: 13px; line-height: 19px; overflow-wrap: anywhere; }
  .intro-fragment { max-width: 100%; overflow-wrap: anywhere; }
  .intro-custom-editor { width: 100%; min-height: 360px; overflow-x: hidden; resize: none; overflow-wrap: anywhere; }
  .intro-guidance { font-size: 11px; line-height: 17px; }
  .intro-popover-save { min-width: 84px; min-height: 44px; }
  .intro-prerequisites { min-height: 137px; padding: 35px 52px 24px 22px; }
  .intro-prerequisites p { margin: 0; font-size: 13px; line-height: 20px; }

}

@media (max-width: 600px) {
  /* Bottom-sheet dialogs from the mobile authentication and account flows. */
  dialog,
  #recovery-modal,
  #account-flow-modal {
    top: auto;
    right: 16px;
    bottom: 18px;
    left: 16px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 36px);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  dialog::backdrop,
  #recovery-modal::backdrop,
  #account-flow-modal::backdrop { background: rgba(38, 48, 56, .18); backdrop-filter: none; }

  #modal[data-kind="sign-in"] { height: 601px; }
  #modal[data-kind="create-profile"] { height: 722px; }
  #modal[data-kind="account"] { height: 746px; }
  #modal[data-kind="sign-in"],
  #modal[data-kind="create-profile"] { padding: 0 20px; }
  #modal[data-kind="sign-in"] > .brand,
  #modal[data-kind="create-profile"] > .brand { display: none; }
  #modal[data-kind="sign-in"] > h2,
  #modal[data-kind="create-profile"] > h2,
  #modal[data-kind="account"] > h2 {
    height: 82px;
    min-height: 82px;
    margin: 0 -20px 25px;
    padding: 20px 58px 0 20px;
    border-bottom: 1px solid #e2e4e7;
    background: #f6f7f8;
    color: #26323a;
    font-size: 19px;
    font-weight: 500;
    line-height: 28px;
  }
  #modal[data-kind="sign-in"] > h2::after,
  #modal[data-kind="create-profile"] > h2::after {
    display: block;
    color: #626d76;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
  }
  #modal[data-kind="sign-in"] > h2::after { content: "Welcome back"; }
  #modal[data-kind="create-profile"] > h2::after { content: "Create your MyIntroList account"; }
  #modal[data-kind="sign-in"] > .close,
  #modal[data-kind="create-profile"] > .close,
  #modal[data-kind="account"] > .close { top: 19px; right: 18px; width: 44px; height: 44px; }
  #modal[data-kind="sign-in"] .social,
  #modal[data-kind="create-profile"] .social { width: 100%; height: 47px; margin: 0 0 12px; border: 1px solid #e2e4e7; border-radius: 0; }
  #modal[data-kind="sign-in"] .social[data-provider="apple"],
  #modal[data-kind="create-profile"] .social[data-provider="apple"] { display: none; }
  #modal[data-kind="sign-in"] .divider,
  #modal[data-kind="create-profile"] .divider { margin: 15px 0; font-size: 12px; }
  #modal[data-kind="sign-in"] form,
  #modal[data-kind="create-profile"] form { margin: 0; }
  #modal[data-kind="sign-in"] label,
  #modal[data-kind="create-profile"] label { font-size: 12px; }
  #modal[data-kind="sign-in"] input,
  #modal[data-kind="create-profile"] input { width: 100%; height: 43px; margin-bottom: 10px; border: 1px solid #e2e4e7; border-radius: 0; }
  #modal[data-kind="create-profile"] .signup-name-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #modal[data-kind="sign-in"] form > .primary,
  #modal[data-kind="create-profile"] form > .primary { width: 100%; height: 47px; min-height: 47px; margin-top: 10px; border-radius: 0; background: #fff34d; }
  #modal[data-kind="sign-in"] .text-link { min-height: 35px; color: #386f9f; font-size: 12px; }
  #modal[data-kind="sign-in"] .modal-bottom,
  #modal[data-kind="create-profile"] .modal-bottom { margin: 18px 0 0; font-size: 12px; text-align: center; }
  #modal[data-kind="sign-in"] .modal-bottom button,
  #modal[data-kind="create-profile"] .modal-bottom button { text-decoration: none; }
  #modal[data-kind="create-profile"] .signup-policy { font-size: 10px; line-height: 16px; }
  #modal[data-kind="sign-in"] .modal-info,
  #modal[data-kind="create-profile"] .modal-info { font-size: 10px; }

  #modal[data-kind="account"] { padding: 0 20px; }
  #modal[data-kind="account"] > h2 { margin-bottom: 0; }
  #modal[data-kind="account"] .account-modal-subtitle { position: absolute; top: 47px; left: 20px; z-index: 2; margin: 0; font-size: 12px; }
  #modal[data-kind="account"] .account-settings { width: 100%; }
  #modal[data-kind="account"] .account-email-heading,
  #modal[data-kind="account"] .account-verification-heading,
  #modal[data-kind="account"] .account-bug-form h3 { font-size: 12px; }
  #modal[data-kind="account"] .account-email-cell,
  #modal[data-kind="account"] .account-verification-button,
  #modal[data-kind="account"] .account-row { min-height: 47px; border-radius: 0; }
  #modal[data-kind="account"] .account-bug-compose { display: grid; grid-template-columns: 1fr 62px; }
  #modal[data-kind="account"] .account-bug-compose textarea { min-height: 86px; resize: none; overflow-wrap: anywhere; }

  #recovery-modal { min-height: 0; }
  #recovery-modal[data-step="email"] { height: 460px; }
  #recovery-modal[data-step="verify"] { height: 522px; }
  #recovery-modal[data-step="password"] { height: 470px; }
  #recovery-modal[data-step="success"] { height: 360px; }
  #recovery-modal .recovery-header,
  #account-flow-modal .account-flow-header { height: 82px; min-height: 82px; background: #f6f7f8; }
  #recovery-modal .recovery-header h2,
  #account-flow-modal .account-flow-header h2 { top: 17px; left: 20px; font-size: 18px; line-height: 26px; }
  #recovery-modal .recovery-header p,
  #account-flow-modal .account-flow-header p { top: 45px; left: 20px; font-size: 11px; line-height: 18px; }
  #recovery-modal .recovery-close,
  #account-flow-modal .account-flow-close { top: 18px; right: 16px; width: 44px; height: 44px; }
  #recovery-modal .recovery-body { padding: 22px 20px 20px; }
  #recovery-modal input { border-radius: 0; }
  #recovery-modal .recovery-primary { min-height: 47px; border-radius: 0; background: #fff34d; }
  #recovery-modal .recovery-code-cells { gap: 5px; }
  #recovery-modal .recovery-code-cells span { min-width: 0; height: 47px; border-radius: 0; }

  #account-flow-modal { min-height: 0; }
  #account-flow-modal[data-flow="email-code"] { height: 528px; }
  #account-flow-modal[data-flow="change-password"] { height: 465px; }
  #account-flow-modal[data-flow="password-code"] { height: 522px; }
  #account-flow-modal[data-flow="password-success"] { height: 355px; }
  #account-flow-modal[data-flow="delete-confirm"] { height: 445px; }
  #account-flow-modal[data-flow="delete-code"] { height: 529px; }
  #account-flow-modal[data-flow="delete-verified"] { height: 530px; }
  #account-flow-modal[data-flow="delete-success"] { height: 348px; }
  #account-flow-modal form,
  #account-flow-modal .account-delete-confirm,
  #account-flow-modal .account-delete-code,
  #account-flow-modal .account-delete-verified,
  #account-flow-modal .account-flow-success { padding-right: 20px; padding-left: 20px; }
  #account-flow-modal .account-code-inputs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
  #account-flow-modal .account-code-inputs input,
  #account-flow-modal .account-code-inputs span { width: 100%; min-width: 0; height: 47px; border-radius: 0; }
  #account-flow-modal .account-flow-primary,
  #account-flow-modal .account-delete-final,
  #account-flow-modal .account-flow-actions > button { min-height: 47px; border-radius: 0; }
  #account-flow-modal .account-flow-primary,
  #account-flow-modal .account-delete-final { background: #fff34d; }
  #account-flow-modal .account-delete-final { color: #9d2e2e; }

  #modal[data-kind="pitch-deck-pdf"] {
    right: 16px;
    bottom: auto;
    left: 16px;
    width: auto;
    height: 362px;
    max-height: calc(100dvh - 32px);
  }
  #modal[data-kind="pitch-deck-pdf"]::backdrop { background: transparent; }
  #modal[data-kind="pitch-deck-pdf"][data-state="uploaded"] { height: 287px; }

  #undo-toasts {
    right: 16px;
    bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
    left: 16px;
    width: auto;
  }
  .undo-toast { width: 100%; min-height: 73px; border-radius: 0; box-shadow: none; }

  @media (hover: none) {
    button:active,
    a:active { background-color: #f6f7f8; }
    .mobile-view-tabs button.is-active:active,
    .workspace .toolbar .save:active,
    .workspace .tab.active:active,
    .mobile-reader-create:active { background-color: #fff34d; }
  }
}

/* Mobile delete/undo toast, Figma page 04 (390px frame). */
@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  body.has-undo-toast .workspace { padding-bottom: calc(148px + env(safe-area-inset-bottom)); }
  #undo-toasts {
    right: 16px;
    bottom: max(53px, calc(env(safe-area-inset-bottom) + 16px));
    left: 16px;
    width: auto;
    max-height: calc(100dvh - 85px - env(safe-area-inset-bottom));
    gap: 8px;
    transform: none;
  }
  .undo-toast {
    flex: 0 0 73px;
    width: 100%;
    height: 73px;
    min-height: 73px;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 11px rgba(0, 0, 0, .1);
  }
  .undo-toast > img { top: 21px; left: 12px; width: 20px; height: 20px; }
  .undo-toast > span {
    top: 3px;
    left: 42px;
    width: calc(100% - 128px);
    height: 61px;
    color: #2a333a;
    font-size: 13px;
  }
  .undo-toast > button {
    top: 1px;
    right: 10px;
    width: 68px;
    height: 61px;
    color: #386f9f;
    font-size: 14px;
    font-weight: 500;
  }
  .undo-toast-track,
  .undo-toast-track > i { height: 3px; }
}

/* Mobile security/recovery sheets use their own 390px Figma coordinates. */
@media (max-width: 600px) {
  #recovery-modal .recovery-header,
  #account-flow-modal .account-flow-header {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 82px;
    min-height: 82px;
    padding: 0;
    border-bottom: 1px solid #e2e4e7;
    background: #f6f7f8;
  }
  #recovery-modal .recovery-header h2,
  #account-flow-modal .account-flow-header h2 {
    position: absolute;
    top: 17px;
    left: 19px;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: #29333b;
    font-size: 21px;
    font-weight: 500;
    line-height: 30px;
  }
  #recovery-modal .recovery-header p,
  #account-flow-modal .account-flow-header p {
    position: absolute;
    top: 47px;
    left: 19px;
    margin: 0;
    color: #626d76;
    font-size: 12px;
    line-height: 21px;
  }
  #recovery-modal .recovery-close,
  #account-flow-modal .account-flow-close {
    top: 25px;
    right: 19px;
    width: 20px;
    height: 20px;
    padding: 0;
  }
  #recovery-modal .recovery-close img,
  #account-flow-modal .account-flow-close img { width: 20px; height: 20px; }

  /* Forgot password — email. */
  #recovery-modal .recovery-body {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    height: calc(100% - 82px);
    padding: 0;
  }
  #recovery-modal[data-step="email"] .recovery-copy {
    position: absolute;
    top: 22px;
    left: 19px;
    width: 318px;
    height: 64px;
    margin: 0;
    color: #626d76;
    font-size: 14px;
    line-height: 21px;
  }
  #recovery-modal[data-step="email"] form > label {
    position: absolute;
    top: 105px;
    left: 19px;
    width: 318px;
  }
  #recovery-modal[data-step="email"] #recovery-email {
    position: absolute;
    top: 137px;
    left: 19px;
    width: 318px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    border-radius: 3px;
  }
  #recovery-modal[data-step="email"] .recovery-error {
    position: absolute;
    top: 190px;
    left: 19px;
    width: 318px;
    margin: 0;
  }
  #recovery-modal[data-step="email"] .recovery-primary {
    position: absolute;
    top: 222px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
    margin: 0;
    border-radius: 3px;
  }
  #recovery-modal[data-step="email"] .recovery-back-signin {
    position: absolute;
    top: 286px;
    left: 19px;
    width: 318px;
    height: 32px;
    margin: 0;
  }

  /* Shared one-time-code geometry. */
  #recovery-modal .recovery-instruction,
  #recovery-modal .recovery-email,
  #account-flow-modal .account-code-instruction,
  #account-flow-modal .account-code-email {
    left: 19px;
    width: 318px;
    color: #29333b;
  }
  #recovery-modal .recovery-instruction { top: 18px; font-size: 14px; line-height: 21px; }
  #recovery-modal .recovery-email { top: 51px; font-size: 15px; line-height: 21px; }
  #recovery-modal .recovery-code-control {
    top: 106px;
    left: 19px;
    width: 309px;
    height: 52px;
  }
  #recovery-modal .recovery-code-cells,
  #account-flow-modal .account-code-inputs {
    display: grid;
    width: 309px;
    grid-template-columns: repeat(6, 44px);
    gap: 9px;
  }
  #recovery-modal .recovery-code-cells span,
  #account-flow-modal .account-code-inputs input,
  #account-flow-modal .account-code-inputs.is-verified span {
    width: 44px;
    height: 52px;
    min-height: 0;
    border-radius: 3px;
    font-size: 22px;
  }
  #recovery-modal .recovery-code-input { width: 309px; height: 52px; }
  #recovery-modal .recovery-resend {
    top: 199px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 37px;
  }
  #recovery-modal .recovery-resend img { top: 9px; left: 3px; width: 19px; height: 19px; }
  #recovery-modal .recovery-resend span { margin-left: 30px; font-size: 13px; }
  #recovery-modal .recovery-resend strong {
    width: 74px;
    height: 37px;
    font-size: 16px;
  }
  #recovery-modal .recovery-resend-button { top: 240px; right: 19px; height: 32px; font-size: 13px; }
  #recovery-modal[data-step="verify"] .recovery-error {
    top: 277px;
    left: 19px;
    width: 318px;
  }
  #recovery-modal[data-step="verify"] .recovery-primary {
    top: 325px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
  }
  #recovery-modal[data-step="verify"] .recovery-back {
    top: 383px;
    left: 19px;
    width: 318px;
    height: 32px;
  }

  /* Forgot password — new password and success. */
  #recovery-modal[data-step="password"] .recovery-copy {
    top: 21px;
    left: 19px;
    width: 318px;
    height: 64px;
    font-size: 14px;
    line-height: 21px;
  }
  #recovery-modal[data-step="password"] form > label { top: 92px; left: 19px; width: 318px; }
  #recovery-modal .recovery-password-control { top: 115px; left: 19px; width: 318px; height: 48px; }
  #recovery-modal .recovery-password-control input {
    width: 318px;
    height: 48px;
    min-height: 48px;
    border-radius: 3px;
  }
  #recovery-modal .recovery-password-control button { height: 48px; }
  #recovery-modal .recovery-help { top: 184px; left: 19px; width: 318px; }
  #recovery-modal[data-step="password"] .recovery-error { top: 215px; left: 19px; width: 318px; }
  #recovery-modal[data-step="password"] .recovery-primary {
    top: 261px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
  }
  #recovery-modal .recovery-success-icon { top: 28px; left: 164px; width: 25px; height: 25px; }
  #recovery-modal .recovery-success-title { top: 73px; left: 19px; width: 318px; height: 47px; }
  #recovery-modal .recovery-success-copy { top: 128px; left: 19px; width: 318px; height: 43px; }
  #recovery-modal[data-step="success"] .recovery-primary {
    top: 203px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
  }

  /* Account flow shared code cells and timer. */
  #account-flow-modal .account-code-instruction { top: 101px; font-size: 14px; line-height: 21px; }
  #account-flow-modal .account-code-email { top: 137px; font-size: 15px; line-height: 21px; }
  #account-flow-modal .account-code-inputs { top: 197px; left: 19px; }
  #account-flow-modal[data-flow="email-code"] .account-code-inputs {
    top: 197px;
    left: 19px;
    width: 309px;
    grid-template-columns: repeat(6, 44px);
    gap: 9px;
  }
  #account-flow-modal[data-flow="email-code"] .account-code-inputs input {
    width: 44px;
    height: 52px;
  }
  #account-flow-modal .account-timer {
    top: 283px;
    left: 19px;
    width: 318px;
    height: 37px;
    font-size: 13px;
    line-height: 21px;
  }
  #account-flow-modal .account-timer img { width: 19px; height: 19px; margin-left: 3px; }
  #account-flow-modal .account-timer span { margin-left: 8px; }
  #account-flow-modal .account-timer strong {
    width: 74px;
    height: 37px;
    font-size: 16px;
    line-height: 37px;
  }
  #account-flow-modal[data-flow="email-code"] .account-timer {
    top: 283px;
    left: 19px;
    width: 318px;
  }
  #account-flow-modal[data-flow="email-code"] .account-timer strong { width: 74px; }
  #account-flow-modal .account-resend { top: 326px; right: 19px; height: 32px; font-size: 13px; line-height: 21px; }
  #account-flow-modal[data-flow="email-code"] .account-resend { top: 326px; right: 19px; }
  #account-flow-modal .account-flow-error { left: 19px; width: 318px; }
  #account-flow-modal[data-flow="email-code"] .account-flow-error { top: 366px; }
  #account-flow-modal[data-flow="email-code"] form > .account-flow-primary {
    top: 414px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
  }
  #account-flow-modal .account-flow-back-link {
    top: 468px;
    left: 19px;
    width: 318px;
    height: 32px;
  }

  /* Change password sheet. */
  #account-flow-modal .account-password-copy {
    top: 102px;
    left: 19px;
    width: 318px;
    height: 77px;
    font-size: 14px;
    line-height: 21px;
  }
  #account-flow-modal .account-password-copy + label { top: 190px; left: 19px; width: 318px; }
  #account-flow-modal .account-password-control { top: 220px; left: 19px; width: 318px; height: 48px; }
  #account-flow-modal .account-password-control input {
    width: 318px;
    height: 48px;
    min-height: 48px;
    border-radius: 3px;
  }
  #account-flow-modal .account-password-control button { height: 48px; }
  #account-flow-modal .account-password-help { top: 279px; left: 19px; width: 318px; }
  #account-flow-modal[data-flow="change-password"] .account-flow-error { top: 324px; }

  /* Every two-action mobile flow is a full-width primary followed by a text action. */
  #account-flow-modal .account-flow-actions {
    left: 19px;
    display: block;
    width: 318px;
    height: 93px;
  }
  #account-flow-modal .account-flow-actions > button {
    position: absolute;
    left: 0;
    width: 318px;
    height: 46px;
    min-height: 46px;
    border-radius: 3px;
  }
  #account-flow-modal .account-flow-actions > button:first-child {
    top: 58px;
    border-color: transparent;
    background: transparent;
  }
  #account-flow-modal .account-flow-actions > button:last-child { top: 0; }
  #account-flow-modal[data-flow="change-password"] .account-flow-actions { top: 360px; }

  /* Delete confirmation. */
  #account-flow-modal .account-delete-confirm img { top: 110px; left: 24px; width: 22px; height: 22px; }
  #account-flow-modal .account-delete-confirm h3 {
    top: 99px;
    left: 56px;
    width: 283px;
    height: 68px;
    font-size: 16px;
    line-height: 24px;
  }
  #account-flow-modal .account-delete-confirm > p:not(.account-flow-error) {
    top: 185px;
    left: 19px;
    width: 318px;
    height: 118px;
    padding: 16px 15px;
    background: #fff4f3;
    font-size: 14px;
    line-height: 23px;
  }
  #account-flow-modal[data-flow="delete-confirm"] .account-flow-error { top: 304px; }
  #account-flow-modal .account-delete-confirm .account-flow-actions { top: 325px; }

  /* Delete/password code sheets. */
  #account-flow-modal[data-flow="delete-code"] .account-code-instruction,
  #account-flow-modal[data-flow="password-code"] .account-code-instruction { top: 102px; }
  #account-flow-modal[data-flow="delete-code"] .account-code-email,
  #account-flow-modal[data-flow="password-code"] .account-code-email { top: 130px; }
  #account-flow-modal[data-flow="delete-code"] .account-code-inputs { top: 183px; }
  #account-flow-modal[data-flow="password-code"] .account-code-inputs { top: 188px; }
  #account-flow-modal[data-flow="delete-code"] .account-timer { top: 278px; }
  #account-flow-modal[data-flow="password-code"] .account-timer { top: 281px; }
  #account-flow-modal[data-flow="delete-code"] .account-resend { top: 321px; }
  #account-flow-modal[data-flow="password-code"] .account-resend { top: 324px; }
  #account-flow-modal .account-flow-helper { top: 371px; left: 19px; width: 318px; font-size: 13px; line-height: 21px; }
  #account-flow-modal[data-flow="delete-code"] .account-flow-error,
  #account-flow-modal[data-flow="password-code"] .account-flow-error { top: 397px; }
  #account-flow-modal[data-flow="delete-code"] .account-flow-actions { top: 426px; }
  #account-flow-modal[data-flow="password-code"] .account-flow-actions { top: 407px; }

  /* Delete verified. */
  #account-flow-modal[data-flow="delete-verified"] .account-code-instruction { top: 102px; }
  #account-flow-modal[data-flow="delete-verified"] .account-code-email { top: 130px; }
  #account-flow-modal[data-flow="delete-verified"] .account-code-inputs { top: 159px; }
  #account-flow-modal[data-flow="delete-verified"] .account-code-inputs.is-verified span {
    height: 47px;
    border-color: #3b875e;
    background: #f7fbf8;
    font-size: 14px;
  }
  #account-flow-modal .account-delete-verified .account-verified-message {
    top: 226px;
    left: 20px;
    width: 317px;
    min-height: 47px;
    gap: 9px;
    font-size: 14px;
    line-height: 25px;
  }
  #account-flow-modal .account-delete-verified .account-verified-message img { width: 23px; height: 23px; }
  #account-flow-modal .account-delete-verified .account-final-warning {
    top: 314px;
    left: 19px;
    width: 318px;
    height: 69px;
    padding: 24px 15px;
    background: #fff4f3;
  }
  #account-flow-modal[data-flow="delete-verified"] .account-flow-error { top: 384px; }
  #account-flow-modal[data-flow="delete-verified"] .account-flow-actions { top: 401px; }
  #account-flow-modal .account-flow-actions .account-delete-final {
    border-color: #b84343;
    background: #b84343;
    color: #fff;
  }

  /* Password/account-deleted success sheets. */
  #account-flow-modal .account-flow-success > img { top: 110px; left: 165px; width: 24px; height: 24px; }
  #account-flow-modal .account-flow-success h3 {
    top: 153px;
    left: 19px;
    width: 318px;
    font-size: 17px;
    line-height: 25px;
  }
  #account-flow-modal .account-flow-success p { top: 209px; left: 19px; width: 318px; font-size: 14px; line-height: 21px; }
  #account-flow-modal .account-flow-success .account-flow-primary {
    top: 280px;
    left: 19px;
    width: 318px;
    height: 46px;
    min-height: 46px;
  }
  #account-flow-modal[data-flow="delete-success"] .account-flow-success > img { top: 104px; }
  #account-flow-modal[data-flow="delete-success"] .account-flow-success h3 { top: 146px; }
  #account-flow-modal[data-flow="delete-success"] .account-flow-success p { top: 197px; }
  #account-flow-modal[data-flow="delete-success"] .account-flow-success .account-flow-primary { top: 273px; }
}

/* Final mobile-frame alignment. Keep these overrides isolated from desktop. */
@media (max-width: 600px) {
  #modal[data-kind="sign-in"] {
    height: 601px;
    min-height: 601px;
  }

  body:has(#modal[data-kind="sign-in"][open]) .landing-page .brand-suffix,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .brand-suffix,
  body:has(#recovery-modal[open]) .landing-page .brand-suffix {
    margin-left: 12px;
  }

  /* Create profile — mobile frame 2:47. */
  #modal[data-kind="create-profile"] {
    height: 722px;
    min-height: 722px;
    max-height: calc(100dvh - 36px);
    padding: 0 19px;
  }
  #modal[data-kind="create-profile"] > h2 {
    height: 82px;
    min-height: 82px;
    margin: 0 -19px;
    padding: 17px 58px 0 19px;
  }
  #modal[data-kind="create-profile"] .social[data-provider="google"] {
    top: 101px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 46px;
    min-height: 46px;
    margin: 0;
  }
  #modal[data-kind="create-profile"] .divider {
    top: 165px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 27px;
    margin: 0;
  }
  #modal[data-kind="create-profile"] .signup-name-row {
    top: 202px;
    right: 19px;
    left: 19px;
    display: block;
    width: auto;
    height: 157px;
  }
  #modal[data-kind="create-profile"] .signup-name-field {
    position: absolute;
    left: 0;
    width: 100%;
  }
  #modal[data-kind="create-profile"] .signup-name-field:first-child { top: 0; }
  #modal[data-kind="create-profile"] .signup-name-field:nth-child(2) { top: 79px; }
  #modal[data-kind="create-profile"] .signup-name-field input {
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 5px 0 0;
  }
  #modal[data-kind="create-profile"] .signup-name-field .field-error {
    top: 70px;
    width: 100%;
  }
  #modal[data-kind="create-profile"] label[for="auth-email"] {
    top: 360px;
    left: 19px;
  }
  #modal[data-kind="create-profile"] #auth-email {
    top: 389px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 48px;
    min-height: 48px;
    margin: 0;
  }
  #modal[data-kind="create-profile"] #auth-email-error {
    top: 436px;
    right: 19px;
    left: 19px;
    width: auto;
  }
  #modal[data-kind="create-profile"] label[for="auth-password"] {
    top: 439px;
    left: 19px;
  }
  #modal[data-kind="create-profile"] #auth-password {
    top: 468px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 48px;
    min-height: 48px;
    margin: 0;
  }
  #modal[data-kind="create-profile"] #auth-password-error {
    top: 515px;
    right: 19px;
    left: 19px;
    width: auto;
  }
  #modal[data-kind="create-profile"] .signup-policy {
    top: 528px;
    right: 19px;
    left: 19px;
    width: auto;
    margin: 0;
  }
  #modal[data-kind="create-profile"] form > .error {
    top: 568px;
    right: 19px;
    left: 19px;
    width: auto;
  }
  #modal[data-kind="create-profile"] form > .primary {
    top: 590px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 46px;
    min-height: 46px;
    margin: 0;
  }
  #modal[data-kind="create-profile"] .modal-bottom {
    top: 650px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 33px;
    margin: 0;
    line-height: 33px;
  }

  /* Account settings — mobile frame 2:94. */
  #modal[data-kind="account"] {
    height: 746px;
    min-height: 746px;
    max-height: calc(100dvh - 36px);
    padding: 0 19px;
  }
  #modal[data-kind="account"] > h2 {
    height: 82px;
    min-height: 82px;
    margin: 0 -19px;
    padding: 17px 58px 0 19px;
  }
  #modal[data-kind="account"] .account-modal-subtitle { top: 47px; left: 19px; }
  #modal[data-kind="account"] .account-email-heading { top: 102px; left: 19px; }
  #modal[data-kind="account"] .account-email-cell {
    top: 132px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 48px;
    min-height: 48px;
  }
  #modal[data-kind="account"] .account-verification-heading { top: 190px; left: 19px; }
  #modal[data-kind="account"] .account-verification-button {
    top: 203px;
    right: 19px;
    left: 19px;
    width: auto;
    height: 46px;
    min-height: 46px;
  }
  #modal[data-kind="account"] .account-divider { top: 273px; right: 19px; left: 19px; width: auto; }
  #modal[data-kind="account"] .account-row {
    right: 19px;
    left: 19px;
    width: auto;
    height: 54px;
    min-height: 54px;
  }
  #modal[data-kind="account"] .account-row[data-action="account-change-password"] { top: 291px; }
  #modal[data-kind="account"] .account-row[data-action="account-delete"] { top: 360px; }
  #modal[data-kind="account"] .account-row-danger b { color: #626d76; }
  #modal[data-kind="account"] .account-bug-divider { top: 436px; right: 19px; left: 19px; width: auto; }
  #modal[data-kind="account"] .account-bug-form h3 { top: 459px; left: 19px; font-size: 17px; }
  #modal[data-kind="account"] .account-bug-form > p:not(.error) {
    top: 491px;
    right: 19px;
    left: 19px;
    width: auto;
  }
  #modal[data-kind="account"] .account-bug-compose {
    top: 523px;
    right: 19px;
    left: 19px;
    display: block;
    width: auto;
    height: 155px;
  }
  #modal[data-kind="account"] .account-bug-compose textarea {
    height: 108px;
    min-height: 108px;
  }
  #modal[data-kind="account"] .account-bug-compose button {
    right: 12px;
    bottom: 11px;
    width: 76px;
    height: 41px;
  }
  #modal[data-kind="account"] .account-bug-form > .error {
    top: 681px;
    right: 19px;
    left: 19px;
    width: auto;
  }
}

/* Pixel-precision corrections from the individual 390px mobile handoff frames. */
@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  body { color: #2a333a; }
  .notice {
    display: block;
    width: calc(100% - 32px);
    height: auto;
    margin: 12px 16px 0;
    padding: 9px 12px;
    overflow: visible;
    border: 1px solid #e2e4e7;
    background: #fcfcfb;
    color: #626d76;
    font-size: 12px;
    line-height: 18px;
    text-align: left;
    text-overflow: clip;
    white-space: normal;
  }
  .workspace {
    border-right: 0;
    border-left: 0;
  }
  .mobile-workspace-head .brand-suffix { margin-left: 33px; }

  /* Mobile screen header and view tabs. */
  .mobile-view-tabs button {
    color: #2a333a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3125rem;
  }
  .workspace[data-mobile-pane="profile"] .mobile-view-tabs,
  .workspace.reader .mobile-view-tabs { margin-bottom: 25px; }

  /* Creator list frame 1:44. */
  .workspace .reader-intro {
    display: block;
    background-color: #fff;
    padding: 11px 13px;
    color: #626d76;
    font-size: 0.8125rem;
    line-height: 1.3125rem;
  }
  .workspace .company-head {
    grid-template-columns: 37px minmax(0, 1fr);
    background: #fff;
  }
  .workspace .company-head input {
    grid-column: 1 / -1;
    padding: 0 12px 0 37px;
    color: #2a333a;
    font-size: 0.875rem;
    line-height: 2.875rem;
  }
  .workspace .company-head input::placeholder {
    color: #2a333a;
    font-weight: 700;
    opacity: 1;
  }
  .workspace .company-head h3 {
    grid-column: 1 / -1;
    padding: 0 11px;
    color: #2a333a;
    font-size: 0.875rem;
    line-height: 2.875rem;
  }
  .workspace .company-head .delete {
    left: 0;
    right: auto;
    width: 37px;
    height: 46px;
    background: transparent;
    box-shadow: none;
    font-size: 0;
    line-height: 2.875rem;
  }
  .workspace .person > .delete {
    background: transparent;
    box-shadow: none;
    font-size: 0;
  }
  .workspace .person > :is(input, textarea),
  .workspace.reader .person > span {
    color: #626d76;
    font-size: 0.8125rem;
    line-height: 1.3125rem;
  }
  .workspace input::placeholder,
  .workspace textarea.wrap-cell::placeholder { color: #626d76; opacity: 1; }
  .workspace .company-head input::placeholder,
  .workspace .name-row :is(input, textarea)::placeholder { color: #2a333a; }
  .workspace .person > :is(input, textarea):nth-of-type(1),
  .workspace.reader .person > span:nth-of-type(1) {
    border-right: 0;
    background-color: #fcfcfb;
    background-image: linear-gradient(#e2e4e7, #e2e4e7);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 1px 21px;
  }
  .workspace:not(.reader) .person {
    grid-template-columns: 37px 100px minmax(0, 1fr) 124px;
  }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(1) { padding-right: 0; padding-left: 1px; }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(2) { padding-right: 0; padding-left: 6px; }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(3) { padding-right: 0; padding-left: 1px; }
  .workspace:not(.reader) .person > .contact-actions {
    width: 124px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .workspace:not(.reader) .person .icon { width: 100%; }
  .workspace .person > :is(input, textarea):nth-of-type(3),
  .workspace.reader .person > span:nth-of-type(3) {
    border-top: 0;
    font-size: 0.75rem;
  }
  .workspace .person > .contact-actions { border-left: 0; }
  .workspace .person .icon {
    border-right: 0;
    background: transparent;
    box-shadow: none;
  }
  .workspace .person .icon img { width: 18px; height: 18px; opacity: 1; }
  .workspace .add-row { background-color: #fff; color: #626d76; font-size: 0.8125rem; }
  .workspace .add-block { background-color: #fff; color: #626d76; font-size: 0.875rem; }
  .workspace .toolbar button {
    background: #fff;
    color: #2a333a;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.3125rem;
  }
  .workspace .toolbar {
    height: 47px;
    min-height: 47px;
    grid-template-rows: 47px;
  }
  .workspace .toolbar .save { background: #fff; }
  .workspace .tab,
  .workspace .tabs > [data-action="add-list"] {
    background: #fff;
    color: #2a333a;
    font-size: 0.875rem;
    line-height: 1.3125rem;
  }
  .workspace .tab.active { background: rgba(98, 109, 118, .09); }
  @media (hover: none) {
    .workspace .tab.active:active { background: rgba(98, 109, 118, .13); }
  }

  /* Creator list spreadsheet frames. These overlays preserve the exact Figma
     geometry while drawing every merged cell as one continuous 1px box. */
  .workspace:not(.reader)[data-mobile-pane="list"] { position: relative; }
  .workspace:not(.reader)[data-mobile-pane="list"]::before {
    position: absolute;
    z-index: 20;
    inset: 0;
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }
  .workspace:not(.reader)[data-mobile-pane="list"] .mobile-workspace-head,
  .workspace:not(.reader)[data-mobile-pane="list"] .mobile-view-tabs,
  .workspace:not(.reader)[data-mobile-pane="list"] .reader-intro,
  .workspace:not(.reader)[data-mobile-pane="list"] .company-head,
  .workspace:not(.reader)[data-mobile-pane="list"] .person,
  .workspace:not(.reader)[data-mobile-pane="list"] .add-row,
  .workspace:not(.reader)[data-mobile-pane="list"] .add-block,
  .workspace:not(.reader)[data-mobile-pane="list"] .toolbar,
  .workspace:not(.reader)[data-mobile-pane="list"] .tabs { position: relative; }
  .workspace:not(.reader)[data-mobile-pane="list"] .mobile-workspace-head::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .mobile-view-tabs::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .reader-intro::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .company-head::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .person::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .add-row::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .add-block::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .toolbar::after,
  .workspace:not(.reader)[data-mobile-pane="list"] .tabs::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    border: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }

  /* Creator profile spreadsheet frame 1:157. Each visual row is one genuine
     Figma cell, while the name/location and pitch rows remain merged. */
  .workspace:not(.reader)[data-mobile-pane="profile"] .profile-contact-actions .icon,
  .workspace:not(.reader)[data-mobile-pane="profile"] .about-section,
  .workspace:not(.reader)[data-mobile-pane="profile"] .about-section textarea,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-preview,
  .workspace:not(.reader)[data-mobile-pane="profile"] .account-actions button { background-color: #fff; }
  .workspace:not(.reader)[data-mobile-pane="profile"] .account-actions button {
    color: #2a333a;
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] { position: relative; }
  .workspace:not(.reader)[data-mobile-pane="profile"]::before {
    position: absolute;
    z-index: 20;
    inset: 0;
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .mobile-workspace-head,
  .workspace:not(.reader)[data-mobile-pane="profile"] .mobile-view-tabs,
  .workspace:not(.reader)[data-mobile-pane="profile"] .name-row,
  .workspace:not(.reader)[data-mobile-pane="profile"] .location-row,
  .workspace:not(.reader)[data-mobile-pane="profile"] .profile-contact-actions,
  .workspace:not(.reader)[data-mobile-pane="profile"] .about-section,
  .workspace:not(.reader)[data-mobile-pane="profile"] .pitch-section,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-title,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-preview,
  .workspace:not(.reader)[data-mobile-pane="profile"] .toolbar,
  .workspace:not(.reader)[data-mobile-pane="profile"] .account-actions { position: relative; }
  .workspace:not(.reader)[data-mobile-pane="profile"] .mobile-workspace-head::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .mobile-view-tabs::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .name-row::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .location-row::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .profile-contact-actions::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .about-section::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .pitch-section::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-title::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-preview::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .toolbar::after,
  .workspace:not(.reader)[data-mobile-pane="profile"] .account-actions::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    border: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }
  .workspace:not(.reader) .toolbar:has(> .save-status:not(:empty))::after {
    border-bottom: 0;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .about-section,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-preview { border-bottom: 0; }
  .workspace:not(.reader)[data-mobile-pane="profile"] .pitch-section,
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-title { border-top: 0; border-bottom: 0; }
  .workspace:not(.reader)[data-mobile-pane="profile"] .intro-preview::after { border-top: 0; }
  .workspace:not(.reader)[data-mobile-pane="profile"] .details-body > :is(input, textarea) {
    box-shadow: inset 0 0 0 1px #e2e4e7;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .name-row,
  .workspace:not(.reader)[data-mobile-pane="profile"] .location-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .name-row :is(input, textarea),
  .workspace:not(.reader)[data-mobile-pane="profile"] .location-row input {
    border-right: 0;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .pitch-section {
    grid-template-columns: minmax(0, 1fr) 56px;
  }
  .workspace:not(.reader)[data-mobile-pane="profile"] .pitch-section > .icon {
    width: 56px;
    border-left: 0;
  }

  /* Reader list frame 1:258. */
  .workspace.reader[data-mobile-pane="list"] { position: relative; }
  .workspace.reader[data-mobile-pane="list"]::after {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    border-top: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }
  .workspace.reader[data-mobile-pane="list"] .mobile-workspace-head,
  .workspace.reader[data-mobile-pane="list"] .mobile-view-tabs,
  .workspace.reader[data-mobile-pane="list"] .reader-intro,
  .workspace.reader[data-mobile-pane="list"] .company,
  .workspace.reader[data-mobile-pane="list"] .company-head,
  .workspace.reader[data-mobile-pane="list"] .person { position: relative; }
  .workspace.reader[data-mobile-pane="list"] .mobile-workspace-head::after,
  .workspace.reader[data-mobile-pane="list"] .mobile-view-tabs::after,
  .workspace.reader[data-mobile-pane="list"] .reader-intro::after,
  .workspace.reader[data-mobile-pane="list"] .company::after,
  .workspace.reader[data-mobile-pane="list"] .company-head::after,
  .workspace.reader[data-mobile-pane="list"] .person::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    content: "";
    pointer-events: none;
  }
  .workspace.reader[data-mobile-pane="list"] .mobile-workspace-head::after,
  .workspace.reader[data-mobile-pane="list"] .reader-intro::after {
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="list"] .mobile-view-tabs::after {
    border: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="list"] .company::after {
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="list"] .company-head,
  .workspace.reader[data-mobile-pane="list"] .person { border-top: 0; border-bottom: 0; }
  .workspace.reader[data-mobile-pane="list"] .company-head::after,
  .workspace.reader[data-mobile-pane="list"] .person::after {
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="list"] .reader-intro {
    margin-bottom: 22px;
    padding: 10px 13px 10px 14px;
    font-size: 0.84375rem;
    line-height: 1.34375rem;
    letter-spacing: normal;
  }
  .workspace.reader .company { margin-bottom: 48px; }
  .workspace.reader .company-head h3 { padding-left: 12px; font-size: 0.9375rem; }
  .workspace.reader .person > span:nth-of-type(1),
  .workspace.reader .person > span:nth-of-type(2) { font-size: 0.875rem; }
  .workspace.reader .person {
    grid-template-columns: max-content minmax(0, 1fr) 114px;
    grid-template-rows: 31px 31px;
  }
  .workspace.reader .person > span:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    padding: 0 4px 0 12px;
    background-image: none;
    color: #2a333a;
  }
  .workspace.reader .person > span:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    padding: 0;
    color: #2a333a;
  }
  .workspace.reader .person > span:nth-of-type(3) {
    grid-column: 1 / 3;
    grid-row: 2;
    padding: 0 12px;
    color: #626d76;
  }
  .workspace.reader .person > .contact-actions {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .mobile-reader-cta { margin-top: 70px; }
  .mobile-reader-cta .mobile-reader-create {
    border: 1px solid #fff34d;
    background: #fff34d;
    color: #2a333a;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .mobile-reader-cta .mobile-reader-site {
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: #386f9f;
    font-size: 0.8125rem;
  }
  .mobile-reader-cta .mobile-reader-site span { color: inherit; }

  /* Creator and Reader profile frames 1:157 and 1:356. */
  .workspace .name-row :is(input, textarea),
  .workspace .location-row input,
  .workspace.reader .name-row > span,
  .workspace.reader .location-row > span,
  .workspace .details-body > :is(input, textarea),
  .workspace.reader .plain-detail {
    color: #626d76;
    font-size: 0.8125rem;
    line-height: 1.3125rem;
  }
  .workspace .name-row,
  .workspace .location-row { margin-top: 0; }
  .workspace .name-row :is(input, textarea):first-child,
  .workspace .location-row input:first-child { grid-column: 1; grid-row: 1; }
  .workspace .name-row :is(input, textarea):nth-child(2),
  .workspace .location-row input:nth-child(2) { grid-column: 2; grid-row: 1; }
  .workspace .name-row :is(input, textarea) { color: #2a333a; font-size: 0.875rem; font-weight: 700; }
  .workspace .profile-contact-actions .icon img { width: 19px; height: 19px; }
  .workspace .about-section textarea,
  .workspace.reader .about-copy {
    color: #626d76;
    font-size: 0.875rem;
    line-height: 1.375rem;
  }
  .workspace .about-section > span { right: auto; bottom: auto; top: 17px; left: 13px; font-size: 0.875rem; line-height: 1.375rem; }
  .workspace .about-section > span { z-index: 2; }
  .workspace .pitch-section { margin-top: 21px; }
  .workspace .pitch-label,
  .workspace .pitch-section > span.pitch-label { color: #626d76; font-size: 0.8125rem; line-height: 1.3125rem; }
  .workspace .pitch-section + .profile-merged-spacer { height: 21px; border-bottom: 0; }
  .workspace .profile-merged-spacer + .intro-title { margin-top: 0; }
  .workspace .intro-title h3 {
    background: #e7f5fa;
    color: #2a333a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3125rem;
  }
  .workspace .intro-title .icon { background: #fff; }
  .workspace .intro-title .icon.is-active { background: #f6f7f8; }
  .workspace .intro-title .icon img { width: 18px; height: 18px; }
  .workspace .intro-preview,
  .workspace.reader .intro-message {
    padding: 13px;
    color: #626d76;
    font-size: 0.875rem;
    line-height: 1.4375rem;
  }
  .workspace[data-mobile-pane="profile"] .columns { padding-bottom: 34px; }
  .workspace .account-actions button:first-child { grid-column: 1; }
  .workspace .account-actions button:last-child { grid-column: 2; }
  .workspace.reader .name-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e2e4e7;
  }
  .workspace.reader .name-row > span {
    width: auto;
    height: 46px;
    padding: 0;
    border: 0;
    color: #2a333a;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 2.875rem;
  }
  .workspace.reader .name-row > span:first-child { padding-left: 13px; padding-right: 5px; }
  .workspace.reader .location-row > span { color: #2a333a; }
  .workspace.reader .about-copy { margin-top: 27px; padding: 16px 13px; }
  .workspace.reader .pitch-section { margin-top: 23px; }
  .workspace.reader .intro-title { margin-top: 22px; }

  /* Reader and Preview About-profile frame 1:356. */
  .workspace.reader[data-mobile-pane="profile"] { position: relative; }
  .workspace.reader[data-mobile-pane="profile"]::after {
    position: absolute;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    border-top: 1px solid #e2e4e7;
    content: "";
    pointer-events: none;
  }
  .workspace.reader[data-mobile-pane="profile"] .mobile-workspace-head,
  .workspace.reader[data-mobile-pane="profile"] .mobile-view-tabs,
  .workspace.reader[data-mobile-pane="profile"] .name-row,
  .workspace.reader[data-mobile-pane="profile"] .plain-detail,
  .workspace.reader[data-mobile-pane="profile"] .location-row,
  .workspace.reader[data-mobile-pane="profile"] .profile-contact-actions,
  .workspace.reader[data-mobile-pane="profile"] .about-copy,
  .workspace.reader[data-mobile-pane="profile"] .pitch-section,
  .workspace.reader[data-mobile-pane="profile"] .intro-title,
  .workspace.reader[data-mobile-pane="profile"] .intro-message { position: relative; }
  .workspace.reader[data-mobile-pane="profile"] .mobile-workspace-head::after,
  .workspace.reader[data-mobile-pane="profile"] .mobile-view-tabs::after,
  .workspace.reader[data-mobile-pane="profile"] .name-row::after,
  .workspace.reader[data-mobile-pane="profile"] .plain-detail::after,
  .workspace.reader[data-mobile-pane="profile"] .location-row::after,
  .workspace.reader[data-mobile-pane="profile"] .profile-contact-actions::after,
  .workspace.reader[data-mobile-pane="profile"] .about-copy::after,
  .workspace.reader[data-mobile-pane="profile"] .pitch-section::after,
  .workspace.reader[data-mobile-pane="profile"] .intro-title::after,
  .workspace.reader[data-mobile-pane="profile"] .intro-message::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    content: "";
    pointer-events: none;
  }
  .workspace.reader[data-mobile-pane="profile"] .mobile-workspace-head::after {
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="profile"] .mobile-view-tabs::after,
  .workspace.reader[data-mobile-pane="profile"] .name-row::after,
  .workspace.reader[data-mobile-pane="profile"] .plain-detail::after,
  .workspace.reader[data-mobile-pane="profile"] .location-row::after,
  .workspace.reader[data-mobile-pane="profile"] .profile-contact-actions::after,
  .workspace.reader[data-mobile-pane="profile"] .about-copy::after,
  .workspace.reader[data-mobile-pane="profile"] .pitch-section::after,
  .workspace.reader[data-mobile-pane="profile"] .intro-title::after,
  .workspace.reader[data-mobile-pane="profile"] .intro-message::after {
    border: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="profile"] .name-row,
  .workspace.reader[data-mobile-pane="profile"] .plain-detail,
  .workspace.reader[data-mobile-pane="profile"] .about-copy,
  .workspace.reader[data-mobile-pane="profile"] .pitch-section,
  .workspace.reader[data-mobile-pane="profile"] .intro-title,
  .workspace.reader[data-mobile-pane="profile"] .intro-message { border: 0; }
  .workspace.reader[data-mobile-pane="profile"] .location-row > span,
  .workspace.reader[data-mobile-pane="profile"] .profile-contact-actions .icon { border-bottom: 0; }
  .workspace.reader[data-mobile-pane="profile"] .location-row > span:first-child {
    border-right: 0;
  }
  .workspace.reader[data-mobile-pane="profile"] .location-row > span:nth-child(2) {
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="profile"] .name-row > span:first-child { padding-right: 24px; }
  .workspace.reader[data-mobile-pane="profile"] .plain-detail,
  .workspace.reader[data-mobile-pane="profile"] .pitch-label { color: #2a333a; font-size: 0.875rem; }
  .workspace.reader[data-mobile-pane="profile"] .about-copy {
    padding: 17px 18px 34px 15px;
    color: #626d76;
    background: #fff;
    font-size: 0.9375rem;
    line-height: 1.5rem;
  }
  .workspace.reader[data-mobile-pane="profile"] .profile-contact-actions .icon,
  .workspace.reader[data-mobile-pane="profile"] .pitch-label,
  .workspace.reader[data-mobile-pane="profile"] .pitch-section > .icon,
  .workspace.reader[data-mobile-pane="profile"] .intro-message { background: #fff; }
  .workspace.reader[data-mobile-pane="profile"] .pitch-section > .icon {
    border: 0;
    box-shadow: none;
  }
  .workspace.reader[data-mobile-pane="profile"] .pitch-section > .icon:first-of-type {
    border-right: 1px solid #e2e4e7;
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="profile"] .pitch-section > .icon + .icon {
    border-left: 1px solid #e2e4e7;
  }
  .workspace.reader[data-mobile-pane="profile"] .intro-title h3,
  .workspace.reader[data-mobile-pane="profile"] .intro-title .icon {
    border-left: 0;
    background: #e7f5fa;
    box-shadow: none;
  }
  .workspace.reader[data-mobile-pane="profile"] .intro-message {
    padding: 14px;
    line-height: 1.46875rem;
    white-space: normal;
  }
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph {
    display: block;
    margin: 0 0 13px;
    white-space: pre-wrap;
  }
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph:first-child { margin-bottom: 12px; }
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph:nth-child(2) {
    margin-bottom: 12px;
    line-height: 1.53125rem;
  }
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph:nth-child(3),
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph:nth-child(4) { margin-bottom: 14px; }
  .workspace.reader[data-mobile-pane="profile"] .reader-intro-paragraph:last-child { margin-bottom: 0; }

  /* Contact editors: frame 3:105 is 358 × 87. */
  .profile-contact-popover {
    height: 87px;
    min-height: 87px;
    padding-top: 23px;
    border-radius: 0;
    margin-top: 4px;
  }
  .profile-contact-popover h2 {
    width: 100%;
    height: 23px;
    padding-left: 12px;
    border-bottom: 0;
    color: #626d76;
    font-size: 12px;
    line-height: 23px;
  }
  .profile-contact-popover form {
    position: absolute;
    top: 23px;
    left: 0;
    width: calc(100% - 41px);
    height: 64px;
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 0;
    margin: 0;
  }
  .profile-contact-popover input {
    height: 64px;
    padding: 0 13px;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    color: #626d76;
    font-size: 13px;
    line-height: 21px;
  }
  .profile-contact-popover form > button {
    width: 64px;
    height: 64px;
    border: 1px solid #e2e4e7;
    border-radius: 0;
    background: #fff34d;
    color: #2a333a;
    font-size: 13px;
  }
  .profile-contact-popover-close {
    top: 23px;
    right: 0;
    width: 41px;
    height: 64px;
    border-top: 1px solid #e2e4e7;
    border-bottom: 0;
    border-left: 1px solid #e2e4e7;
  }
  .profile-contact-popover-close img { width: 17px; height: 17px; }
  .profile-contact-popover.has-error { height: 145px; min-height: 145px; }
  .profile-contact-popover.has-error form { top: 81px; }
  .profile-contact-popover.has-error .profile-contact-popover-close { top: 81px; }
  .profile-contact-popover.has-error .profile-contact-popover-error {
    top: -58px;
    left: 0;
    width: calc(100% + 41px);
    min-height: 58px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
  }

  /* Reader phone bar frame 3:1102. */
  .reader-phone-popover { grid-template-columns: minmax(0, 1fr) 62px 43px; }
  .reader-phone-popover { margin-top: 8px; }
  .reader-phone-number { padding-left: 12px; color: #626d76; font-size: 13px; }
  .reader-phone-copy { width: 62px; }
  .reader-phone-close { width: 43px; }

  /* Introduction popovers 3:780, 3:891 and 3:1002. */
  .intro-popover--template { height: 631px; overflow: hidden; }
  .intro-popover { margin-top: 17px; }
  .intro-popover--template .intro-popover-close,
  .intro-popover--custom .intro-popover-close { top: 13px; right: 16px; width: 17px; height: 17px; }
  .intro-popover--template .intro-popover-close img,
  .intro-popover--custom .intro-popover-close img { width: 17px; height: 17px; }
  .intro-popover--template .intro-popover-editor {
    top: 46px;
    left: 17px;
    width: 325px;
    height: 382px;
    padding: 0;
    color: #2a333a;
    font-size: 14px;
    line-height: 23px;
  }
  .intro-popover--template .intro-template-popover-editor p { margin-bottom: 23px; }
  .intro-popover--template .intro-popover-divider { top: 434px; left: 17px; width: 324px; }
  .intro-popover--template .intro-guidance {
    top: 449px;
    left: 20px;
    width: 317px;
    color: #626d76;
    font-size: 12px;
    line-height: 20px;
  }
  .intro-popover--template .intro-guidance p { margin-bottom: 14px; }
  .intro-popover--template .intro-popover-save,
  .intro-popover--custom .intro-popover-save {
    right: 20px;
    bottom: 5px;
    width: 74px;
    height: 42px;
    min-width: 74px;
    min-height: 42px;
    font-size: 13px;
  }
  .intro-popover--custom { height: 575px; overflow: hidden; }
  .intro-popover--custom .intro-custom-editor {
    top: 45px;
    left: 17px;
    width: 323px;
    max-width: 323px;
    height: 396px;
    min-height: 396px;
    padding: 0;
    color: #2a333a;
    font-size: 14px;
    line-height: 23px;
  }
  .intro-popover--custom .intro-character-count { top: 436px; left: 19px; width: 319px; }
  .intro-popover--custom .intro-popover-divider { top: 471px; left: 19px; width: 319px; }
  .intro-popover--custom .intro-guidance { top: 486px; left: 20px; width: 316px; font-size: 12px; line-height: 20px; }
  .intro-popover--custom .intro-popover-save { bottom: 12px; }
  .intro-popover.intro-prerequisites {
    width: calc(100vw - 32px);
    height: 140px;
    min-height: 140px;
    padding: 0;
    overflow: hidden;
  }
  .intro-prerequisites > p {
    top: 41px;
    left: 19px;
    width: 317px;
    height: 86px;
    color: #626d76;
    font-size: 13px;
    line-height: 21px;
  }
  .intro-prerequisites .intro-popover-close { top: 13px; right: 16px; width: 17px; height: 17px; }
  .intro-prerequisites .intro-popover-close img { width: 17px; height: 17px; }

}

@media (max-width: 600px) {
  /* PDF popovers 3:545 and 3:663. */
  #modal[data-kind="pitch-deck-pdf"] {
    top: min(305px, calc(100dvh - 421px));
    bottom: auto;
    height: 405px;
    border-radius: 0;
  }
  #modal[data-kind="pitch-deck-pdf"][data-state="uploaded"] {
    top: min(432px, calc(100dvh - 262px));
    height: 246px;
  }

  /* Authentication and account sheets. */
  dialog,
  #recovery-modal,
  #account-flow-modal { border-radius: 6px; }
  dialog::backdrop,
  #recovery-modal::backdrop,
  #account-flow-modal::backdrop { background: rgba(41, 51, 59, .13); }
  #modal[data-kind="sign-in"] > h2,
  #modal[data-kind="create-profile"] > h2,
  #modal[data-kind="account"] > h2,
  #recovery-modal .recovery-header h2,
  #account-flow-modal .account-flow-header h2 {
    color: #29333b;
    font-size: 21px;
    font-weight: 500;
    line-height: 30px;
  }
  #modal[data-kind="sign-in"] > h2::after { content: "Access your intro lists"; }
  #modal[data-kind="create-profile"] > h2::after { content: "Create an account with Google or email"; }
  #modal[data-kind="create-profile"] .signup-name-row { display: block; }
  #modal[data-kind="sign-in"] input,
  #modal[data-kind="create-profile"] input { height: 48px; border-radius: 3px; }
  #modal[data-kind="sign-in"] .social,
  #modal[data-kind="create-profile"] .social,
  #modal[data-kind="sign-in"] form > .primary,
  #modal[data-kind="create-profile"] form > .primary { height: 46px; min-height: 46px; border-radius: 3px; }
  #modal[data-kind="create-profile"] .signup-policy { color: #626d76; font-size: 12.5px; line-height: 20px; text-align: center; }
  #modal[data-kind="account"] .account-email-cell { min-height: 48px; }
  #modal[data-kind="account"] .account-verification-button { min-height: 46px; }
  #modal[data-kind="account"] .account-row { min-height: 54px; }
  #modal[data-kind="account"] .account-bug-compose textarea { min-height: 155px; }

  body:has(#modal[data-kind="sign-in"][open]) .landing-page .brand-mark,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .brand-mark,
  body:has(#recovery-modal[open]) .landing-page .brand-mark { display: none; }
  body:has(#modal[data-kind="sign-in"][open]) .landing-page .brand,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .brand,
  body:has(#recovery-modal[open]) .landing-page .brand { padding-left: 10px; }
  body:has(#modal[data-kind="sign-in"][open]) .landing-page .brand-name,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .brand-name,
  body:has(#recovery-modal[open]) .landing-page .brand-name {
    width: auto;
    justify-content: flex-start;
    color: #626d76;
    font-size: 21px;
    font-weight: 400;
  }
  body:has(#modal[data-kind="sign-in"][open]) .landing-page .site-head nav,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .site-head nav,
  body:has(#recovery-modal[open]) .landing-page .site-head nav,
  body:has(#modal[data-kind="sign-in"][open]) .landing-page .landing,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .landing,
  body:has(#recovery-modal[open]) .landing-page .landing,
  body:has(#modal[data-kind="sign-in"][open]) .landing-page .legal-links,
  body:has(#modal[data-kind="create-profile"][open]) .landing-page .legal-links,
  body:has(#recovery-modal[open]) .landing-page .legal-links { visibility: hidden; }
}

/* Fluid phone details. The 390px handoff geometry remains the default. */
@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  .workspace .about-section,
  .workspace .about-section textarea,
  .workspace.reader .about-copy {
    min-height: 188px;
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
  }
  .workspace .about-section textarea { max-height: none; }
  .workspace.reader .about-copy { height: auto; overflow-wrap: anywhere; }

  /* Extend the hit area of small Figma icons without moving their artwork or gridlines. */
  .workspace .company-head .delete::before,
  .workspace .person > .delete::before,
  .workspace.reader .person .contact-actions .icon::before,
  .workspace .add-row::before,
  .profile-contact-popover-close::before,
  .reader-phone-close::before,
  .intro-popover-close::before,
  .intro-popover-save::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: max(44px, 100%);
    height: 44px;
    transform: translate(-50%, -50%);
    border: 0;
    background: transparent;
    box-shadow: none;
    content: "";
  }
  .workspace .person > .delete,
  .workspace.reader .person .contact-actions .icon,
  .workspace .add-row,
  .reader-phone-close { position: relative; }
  .workspace .company-head .delete::before,
  .workspace .person > .delete::before {
    right: 0;
    left: auto;
    transform: translateY(-50%);
  }
  .profile-contact-popover-close::before,
  .reader-phone-close::before { left: 0; transform: translateY(-50%); }

  .intro-popover--custom .intro-character-count,
  .intro-popover--custom .intro-popover-divider,
  .intro-popover--custom .intro-guidance {
    top: calc(var(--custom-growth, 0px) + var(--custom-base-top));
  }
  .intro-popover--custom .intro-character-count { --custom-base-top: 436px; }
  .intro-popover--custom .intro-popover-divider { --custom-base-top: 471px; }
  .intro-popover--custom .intro-guidance { --custom-base-top: 486px; }
}

@media (max-width: 359px) {
  .workspace:not(.reader) .person {
    height: 132px;
    min-height: 132px;
    grid-template-columns: 44px repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 44px);
  }
  .workspace:not(.reader) .person > :is(input, textarea),
  .workspace.reader .person > span {
    min-width: 0;
    height: 44px;
    min-height: 44px;
    line-height: 2.75rem;
  }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(1) { grid-column: 2; grid-row: 1; padding-left: 8px; }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(2) { grid-column: 3; grid-row: 1; padding-left: 8px; }
  .workspace:not(.reader) .person > :is(input, textarea):nth-of-type(3) {
    grid-column: 2 / 4;
    grid-row: 2;
    padding-left: 8px;
    border-top: 1px solid #e2e4e7;
  }
  .workspace:not(.reader) .person > .delete {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 44px;
    height: 132px;
    align-items: flex-start;
    padding: 15px 0 0;
    border-right: 1px solid #e2e4e7;
  }
  .workspace:not(.reader) .person > .delete::before { top: 22px; }
  .workspace:not(.reader) .person > .contact-actions {
    grid-column: 2 / 4;
    grid-row: 3;
    width: 100%;
    height: 44px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e2e4e7;
  }
  .workspace:not(.reader) .person .contact-actions .icon {
    width: 100%;
    height: 44px;
    border-right: 1px solid #e2e4e7;
  }
  .workspace:not(.reader) .person .contact-actions .icon:last-child { border-right: 0; }

  .workspace.reader .person {
    height: 132px;
    min-height: 132px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 44px);
  }
  .workspace.reader .person > span:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .workspace.reader .person > span:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .workspace.reader .person > span:nth-of-type(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid #e2e4e7;
  }
  .workspace.reader .person > .contact-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    height: 44px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e2e4e7;
  }
  .workspace.reader .person .contact-actions .icon {
    width: 100%;
    height: 44px;
    border-right: 1px solid #e2e4e7;
  }
  .workspace.reader .person .contact-actions .icon:last-child { border-right: 0; }

  .intro-popover--template { height: 675px; }
  .intro-popover--template .intro-popover-editor,
  .intro-popover--custom .intro-custom-editor { width: calc(100% - 34px); max-width: calc(100% - 34px); }
  .intro-popover--template .intro-popover-divider,
  .intro-popover--template .intro-guidance,
  .intro-popover--custom .intro-character-count,
  .intro-popover--custom .intro-popover-divider,
  .intro-popover--custom .intro-guidance { width: calc(100% - 38px); }
  .intro-prerequisites > p { width: calc(100% - 38px); }
}

/* Keep the Figma row sizes at normal text size, while allowing larger text to reflow. */
@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  .mobile-view-tabs { height: auto; min-height: 47px; }
  .mobile-view-tabs button {
    display: flex;
    height: auto;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    padding-block: 6px;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.5;
  }

  .workspace.reader .company-head { height: auto; min-height: 47px; }
  .workspace.reader .company-head h3 {
    display: flex;
    height: auto;
    min-height: 46px;
    align-items: center;
    padding-block: 8px;
    overflow: visible;
    overflow-wrap: anywhere;
    line-height: 1.4;
    text-overflow: clip;
    white-space: normal;
  }
  .workspace:not(.reader) .company-head { height: auto; min-height: 47px; border-bottom: 0; }
  .workspace:not(.reader) .company-head input {
    height: auto;
    min-height: 46px;
    padding-block: 8px;
    line-height: 1.5;
  }
  .workspace .name-row,
  .workspace .location-row { height: auto; min-height: 47px; }
  .workspace .name-row :is(input, textarea),
  .workspace .location-row input,
  .workspace .details-body > :is(input, textarea) {
    height: auto;
    min-height: 47px;
    padding-block: 8px;
    line-height: 1.5;
  }
  .workspace.reader .name-row { height: auto; min-height: 47px; flex-wrap: wrap; }
  .workspace.reader .name-row > span,
  .workspace.reader .location-row > span,
  .workspace.reader .plain-detail {
    height: auto;
    min-height: 46px;
    padding-block: 8px;
    overflow: visible;
    overflow-wrap: anywhere;
    line-height: 1.5;
    text-overflow: clip;
    white-space: normal;
  }
  .workspace .person {
    height: auto;
    min-height: 62px;
    grid-template-rows: repeat(2, minmax(31px, auto));
    border-bottom: 0;
  }
  .workspace:not(.reader) .person > :is(input, textarea) {
    height: auto;
    min-height: 31px;
    padding-block: 5px;
    line-height: 1.6;
  }
  .workspace.reader .person > span {
    display: flex;
    height: auto;
    min-height: 31px;
    align-items: center;
    padding-block: 4px;
    overflow: visible;
    overflow-wrap: anywhere;
    line-height: 1.5;
    text-overflow: clip;
    white-space: normal;
  }
  .workspace:not(.reader) .person > .delete,
  .workspace .person > .contact-actions,
  .workspace .person .contact-actions .icon { height: 100%; }
  .workspace.reader[data-mobile-pane="list"] .company-head,
  .workspace.reader[data-mobile-pane="list"] .company-head h3 { height: auto; }
  .workspace.reader[data-mobile-pane="list"] .person {
    height: auto;
    min-height: 62px;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr) 114px;
    grid-template-rows: repeat(2, minmax(31px, auto));
  }
  .workspace.reader[data-mobile-pane="list"] .person > .contact-actions,
  .workspace.reader[data-mobile-pane="list"] .person .contact-actions .icon { height: 100%; }

  .workspace .intro-title,
  .workspace .pitch-section,
  .workspace .account-actions,
  .workspace .tabs .tab-wrap {
    height: auto;
    min-height: 47px;
  }
  .workspace .intro-title h3,
  .workspace .pitch-section > span.pitch-label {
    min-width: 0;
    padding-block: .375em;
  }
  .workspace .intro-title .icon,
  .workspace .pitch-section > .icon {
    height: 100%;
    min-height: 46px;
  }
  .workspace .toolbar,
  .workspace .toolbar:has(.save-status.is-verification-hint) {
    height: auto;
    grid-template-rows: minmax(47px, auto);
  }
  .workspace .intro-title h3,
  .workspace .pitch-section > span.pitch-label,
  .workspace .toolbar > button,
  .workspace .account-actions button,
  .workspace .tab,
  .workspace .mobile-reader-cta a {
    height: auto;
    min-height: 46px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .workspace .intro-preview,
  .workspace.reader[data-mobile-pane="profile"] .intro-message {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .workspace :is(input, textarea):focus-visible,
  .profile-contact-popover input:focus-visible,
  .intro-popover :is(textarea, [contenteditable]):focus-visible,
  dialog :is(input, textarea):not(.recovery-code-input):focus-visible {
    outline: 2px solid #386f9f;
    outline-offset: -2px;
  }
  #recovery-modal .recovery-code-control:focus-within .recovery-code-cells {
    outline: 2px solid #386f9f;
    outline-offset: 2px;
  }
}

@media (max-width: 359px) {
  .workspace:not(.reader) .person {
    height: auto;
    min-height: 132px;
    grid-template-rows: minmax(44px, auto) minmax(44px, auto) 44px;
  }
  .workspace.reader[data-mobile-pane="list"] .person {
    min-height: 132px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(44px, auto) minmax(44px, auto) 44px;
  }
  .workspace .person {
    min-height: 132px;
    grid-template-rows: minmax(44px, auto) minmax(44px, auto) 44px;
  }
  .workspace:not(.reader) .person > :is(input, textarea),
  .workspace.reader .person > span { min-height: 44px; }
  .workspace .person > .contact-actions,
  .workspace .person .contact-actions .icon { height: 44px; }
}

/* Preview identifies the private draft within the existing wordmark row. */
@media (max-width: 600px), (orientation: landscape) and (pointer: coarse) and (max-height: 500px) {
  .mobile-workspace-head { position: relative; }
  .mobile-workspace-head:has(.mobile-preview-marker) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-workspace-head:has(.mobile-preview-marker) .brand { width: auto; }
  .mobile-preview-marker { padding: .5em .6875rem; color: #386f9f; font-size: 0.75rem; font-weight: 500; line-height: 1; }
  .preview-context { display: none; }
  .workspace .save-status.is-verification-hint { justify-content: flex-end; flex-wrap: wrap; min-height: 44px; padding: 0 8px; font-size: 0.75rem; text-align: right; }
  .workspace .toolbar .save-status.is-verification-hint button { grid-column: auto !important; width: auto; height: 44px; min-height: 44px; flex: none; padding: 0 4px; border: 0; background: transparent; color: #386f9f; font-size: 0.75rem; line-height: 1.3; }
}
