@import url('/s/styles/foundations.css?v=36d14c26c2a5');
@layer pages {
  :root {
    color-scheme: dark;
    font-family: Plex, system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
  }
  body {
    margin: 0;
  }
  main {
    max-width: 1280px;
    margin: auto;
    padding: 40px 24px;
  }
  header {
    max-width: 760px;
  }
  header > a {
    font-size: 28px;
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
  }
  .eyebrow {
    color: var(--cyan);
    letter-spacing: 0.16em;
    font-size: 12px;
    margin-top: 32px;
  }
  h1 {
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.1;
    margin: 12px 0;
  }
  p {
    line-height: 1.55;
  }
  small,
  .note {
    color: var(--muted);
  }
  h2 {
    font-size: 19px;
  }
  form {
    margin-top: 28px;
  }
  label {
    display: block;
    font-size: 14px;
    margin: 12px 0 7px;
  }
  .input-row {
    display: flex;
    gap: 10px;
  }
  input,
  textarea,
  select,
  button {
    font: inherit;
    border: 1px solid #384664;
    border-radius: 8px;
    background: #111b36;
    color: inherit;
    padding: 11px 13px;
  }
  input,
  textarea {
    width: 100%;
    min-width: 0;
  }
  button {
    cursor: pointer;
    font-weight: 600;
  }
  button:hover {
    border-color: var(--cyan);
  }
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  select:focus-visible,
  summary:focus-visible,
  a:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
  }
  .input-row button {
    white-space: nowrap;
    background: var(--cyan);
    color: var(--bg);
    border: 0;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
  }
  nav button {
    font-size: 13px;
    padding: 7px 12px;
  }
  #status {
    min-height: 25px;
    color: var(--muted);
  }
  .workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .previews,
  aside {
    min-width: 0;
    background: #10182e;
    border: 1px solid #273553;
    border-radius: 16px;
    padding: 20px;
  }
  .toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .toolbar label {
    margin: 0;
    font-size: 12px;
  }
  .toolbar select {
    padding: 6px;
  }
  #feed {
    width: 560px;
    max-width: 100%;
    margin: 16px auto 24px;
  }
  .post,
  .compact,
  .search {
    color-scheme: light;
    color: #242b35;
    background: white;
    border-radius: 10px;
    overflow: hidden;
  }
  .author {
    display: flex;
    gap: 10px;
    padding: 16px 16px 0;
    align-items: center;
  }
  .author small {
    display: block;
    color: #65707e;
    font-size: 11px;
  }
  .avatar {
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: var(--bg);
    color: var(--cyan);
    font-weight: 700;
  }
  .post > p {
    padding: 0 16px;
    font-size: 14px;
  }
  .wide-card {
    border-top: 1px solid #dce1e8;
    background: #f1f3f5;
  }
  .wide-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200/630;
    object-fit: contain;
    background: var(--bg);
  }
  img[hidden] {
    display: none;
  }
  .card-copy {
    padding: 13px 16px;
  }
  .domain {
    color: #647080;
    font-size: 11px;
  }
  .card-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 5px 0;
    overflow-wrap: anywhere;
  }
  .card-description {
    color: #58616d;
    font-size: 13px;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .variant-label {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 24px 0 9px;
  }
  .compact {
    display: flex;
    min-height: 112px;
  }
  .compact img {
    width: 112px;
    flex: none;
    object-fit: cover;
  }
  .compact > div {
    padding: 12px;
    min-width: 0;
  }
  .compact h3 {
    font-size: 15px;
  }
  .search {
    padding: 18px;
  }
  .search small {
    color: #465260;
    overflow-wrap: anywhere;
  }
  .search h3 {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    margin: 8px 0;
  }
  .search p {
    color: #4d5156;
    font-size: 13px;
    margin: 0;
  }
  details {
    border-top: 1px solid #30405c;
    padding-top: 15px;
    margin-top: 18px;
  }
  summary {
    cursor: pointer;
  }
  details button {
    margin-top: 10px;
  }
  #checks {
    padding: 0;
    list-style: none;
  }
  #checks li {
    padding: 10px 12px;
    margin: 8px 0;
    background: #172840;
    border-radius: 8px;
    font-size: 13px;
    overflow-wrap: anywhere;
  }
  #checks .warn {
    border-left: 3px solid #ffcb70;
  }
  #checks .pass {
    border-left: 3px solid #00e8b3;
  }
  #checks .fail {
    border-left: 3px solid #ff8196;
  }
  dl {
    font-size: 12px;
  }
  dt {
    color: #a9b9d5;
    margin-top: 14px;
  }
  dd {
    margin: 4px 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.5;
  }
  a {
    color: var(--cyan);
  }
  .note {
    font-size: 12px;
  }
  @media (max-width: 850px) {
    .workspace {
      grid-template-columns: 1fr;
    }
    main {
      padding: 24px 14px;
    }
  }
  @media (max-width: 390px) {
    .previews,
    aside {
      padding: 12px;
    }
    .input-row {
      flex-direction: column;
    }
    .toolbar {
      align-items: start;
      flex-direction: column;
    }
    .compact img {
      width: 90px;
    }
    .card-title {
      font-size: 16px;
    }
  }

  #feed[data-width='390'] {
    width: 390px;
  }
  #feed[data-width='320'] {
    width: 320px;
  }
}
