@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --text: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --soft-line: #e8eaed;
  --link: #1a73e8;
  --page: #fff;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  padding: 0 96px;
  background: #fff;
}

.menu-button {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 240px;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  line-height: 64px;
}

.brand:hover {
  text-decoration: none;
}

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

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 64px;
}

.main-nav a.is-active {
  color: var(--link);
}

.header-user-menu {
  position: relative;
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  flex: 0 0 auto;
}

.header-user-button {
  position: relative;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #202124;
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  box-shadow: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.header-user-button svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-user-button .geomind-user-link {
  stroke: #d3dbe7;
  stroke-width: 1;
}

.header-user-button .geomind-user-node {
  stroke: #fff;
  stroke-width: 0.8;
}

.header-user-button .geomind-user-node-cyan {
  fill: #12b8d0;
}

.header-user-button .geomind-user-node-yellow {
  fill: #ffeb3b;
}

.header-user-button .geomind-user-node-pink {
  fill: #e91e63;
}

.header-user-button .geomind-user-head,
.header-user-button .geomind-user-body {
  fill: #fff;
  stroke: #202124;
  stroke-width: 1.45;
}

.header-user-button .geomind-user-body {
  fill: none;
}

.header-user-button:hover,
.header-user-button:focus-visible {
  opacity: 0.86;
  outline: 0;
  text-decoration: none;
  transform: translateY(-1px);
}

.header-user-button:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.34);
  outline-offset: 4px;
}

.header-user-button::after {
  position: absolute;
  right: 50%;
  top: calc(100% + 10px);
  z-index: 3;
  padding: 7px 10px;
  background: #eef6ff;
  border: 1px solid #d9eaff;
  border-radius: 8px;
  color: #4d76af;
  content: attr(data-tooltip);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
  bottom: auto;
}

.header-user-button:hover::after,
.header-user-button:focus-visible::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.header-user-menu.is-open .header-user-button::after {
  opacity: 0;
}

.header-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: 248px;
  overflow: hidden;
  padding: 6px;
  background: #fffaf2;
  border: 1px solid #eadfce;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(54, 39, 20, 0.12), 0 2px 8px rgba(54, 39, 20, 0.08);
  color: #25211d;
  font-family: "Inter", "Google Sans Flex", Arial, Helvetica, sans-serif;
  text-align: left;
}

.header-user-dropdown[hidden] {
  display: none;
}

.header-user-summary {
  display: grid;
  gap: 2px;
  padding: 11px 12px 10px;
  background: #fff3df;
  border: 1px solid #f0ddc0;
  border-radius: 5px;
}

.header-user-summary strong {
  color: #25211d;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
}

.header-user-summary span {
  color: #77695a;
  font-size: 12.5px;
  line-height: 1.3;
}

.header-user-menu-section {
  display: grid;
  padding: 5px 0 0;
}

.header-user-menu-section + .header-user-menu-section {
  margin-top: 5px;
  border-top: 1px solid #efe4d6;
}

.header-user-menu-item {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: #2f2a24;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.header-user-menu-item:hover,
.header-user-menu-item:focus-visible {
  background: #fff0d9;
  outline: 0;
}

.header-submit-button + .header-user-menu,
.header-submit-button + .header-user-button {
  margin-left: 12px;
}

.site-footer a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 64px;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

main {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 112px 0 120px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 450;
  line-height: 1;
}

.tagline {
  max-width: 760px;
  margin-bottom: 0;
  color: #3c4043;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
}

.gradient-text {
  background: linear-gradient(90deg, #1a73e8, #00a3ff, #4b7cff, #1a73e8);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: blue-gradient-shift 5s linear infinite;
}

@keyframes blue-gradient-shift {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 220% 50%;
  }
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-nav a {
  color: var(--muted);
  font-size: 15px;
}

.section-nav a:hover {
  color: var(--text);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 72px;
  padding: 6px;
  background: #f8fafd;
  border-radius: 999px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  white-space: nowrap;
}

.category-tab.is-active {
  background: #111318;
  color: #fff;
}

.content-section {
  scroll-margin-top: 32px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.list-page .content-section {
  padding-top: 80px;
}

.subpage-hero {
  padding: 96px 0 48px;
}

.subpage-hero h1 {
  margin-bottom: 18px;
}

.subpage-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: #3c4043;
  font-size: 28px;
  line-height: 1.35;
}

.section-heading {
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 8px;
  font-size: 36px;
  line-height: 1.2;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-left: 10px;
  padding: 0 12px;
  background: #f8fafd;
  border-radius: 999px;
  color: var(--link);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.resource-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.paper-controls {
  grid-template-columns: minmax(0, 1fr) 168px auto;
  align-items: start;
}

.combined-controls {
  grid-template-columns: minmax(0, 1fr) 190px auto;
  align-items: start;
}

.company-filter {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 2px;
}

.company-filter button {
  min-height: 34px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #d0d4d9;
  border-radius: 12px;
  color: #55585c;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.company-filter button.is-active {
  background: var(--link);
  border-color: var(--link);
  color: #fff;
}

.search-control {
  display: block;
}

.search-control input,
.filter-control select {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  background: #f8fafd;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: 0;
}

.search-control input::placeholder {
  color: #80868b;
  opacity: 1;
}

.filter-control {
  display: block;
  position: relative;
}

.filter-control select {
  min-width: 148px;
  padding-right: 42px;
  appearance: none;
  cursor: pointer;
}

.filter-control::after {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.submit-icon-button {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #3d73b9;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  box-shadow: none;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.submit-icon-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submit-icon-button-paper {
  color: #315f9d;
}

.submit-icon-button-dataset {
  color: #28728f;
}

.submit-icon-button-model {
  color: #427a45;
}

.submit-icon-button:hover,
.submit-icon-button:focus-visible {
  color: #235f9f;
  opacity: 0.88;
  outline: 0;
  transform: translateY(-1px);
}

.submit-icon-button:focus-visible {
  outline: 2px solid rgba(26, 115, 232, 0.34);
  outline-offset: 4px;
}

.submit-icon-button-dataset:hover,
.submit-icon-button-dataset:focus-visible {
  color: #155e75;
}

.submit-icon-button-model:hover,
.submit-icon-button-model:focus-visible {
  color: #2f6b35;
}

.submit-icon-button::after {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 10px);
  z-index: 3;
  padding: 7px 10px;
  background: #eef6ff;
  border: 1px solid #d9eaff;
  border-radius: 8px;
  color: #4d76af;
  content: attr(data-tooltip);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.submit-icon-button:hover::after,
.submit-icon-button:focus-visible::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.submit-resource-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: #111318;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}

.submit-resource-button:hover,
.submit-resource-button:focus-visible {
  color: #fff;
  text-decoration: none;
}

.submit-resource-button::after {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 10px);
  z-index: 3;
  padding: 7px 10px;
  background: #111318;
  border-radius: 8px;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 12px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.submit-resource-button:hover::after,
.submit-resource-button:focus-visible::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.header-submit-button {
  min-height: 40px;
  margin-left: auto;
  padding: 0 16px;
  font-size: 14.5px;
}

.header-submit-button::after {
  top: calc(100% + 10px);
  bottom: auto;
}

body.is-submit-modal-open {
  overflow: hidden;
}

.submit-modal[hidden] {
  display: none;
}

.submit-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 78px 24px;
  background: rgba(248, 246, 241, 0.94);
}

.submit-modal-panel {
  position: relative;
  width: min(660px, 100%);
  color: #171717;
}

.submit-modal-panel h2 {
  margin-bottom: 16px;
  color: #171717;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.submit-modal-description {
  max-width: 620px;
  margin-bottom: 34px;
  color: #56524d;
  font-size: 15px;
  line-height: 1.55;
}

.submit-modal-form label {
  display: block;
  margin-bottom: 7px;
  color: #181818;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.submit-modal-form input,
.submit-modal-form textarea {
  width: 100%;
  padding: 0 13px;
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 8px;
  color: #172033;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.submit-modal-form input {
  height: 44px;
}

.submit-modal-form textarea {
  min-height: 96px;
  padding-top: 11px;
  padding-bottom: 11px;
  line-height: 1.45;
  resize: vertical;
}

.submit-modal-form input:focus,
.submit-modal-form textarea:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.16);
}

.submit-modal-form input::placeholder,
.submit-modal-form textarea::placeholder {
  color: #6e7f99;
  opacity: 1;
}

.edit-modal-panel {
  width: min(760px, 100%);
  padding: 22px 28px 24px;
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
}

.edit-modal {
  align-items: flex-start;
  padding: 36px 24px;
  background: rgba(248, 246, 241, 0.94);
}

.edit-modal-panel h2 {
  margin: 0 32px 6px 0;
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.18;
}

.edit-modal .submit-modal-description {
  max-width: 720px;
  margin: 0 0 18px;
  color: #62708a;
  font-size: 14.5px;
  line-height: 1.38;
}

.edit-modal-review-note {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  padding: 11px 14px;
  background: #fffaf0;
  border: 1px solid #facc15;
  border-radius: 3px;
  color: #86360c;
  font-size: 13px;
  line-height: 1.35;
}

.edit-modal-review-note strong {
  font-weight: 500;
}

.edit-modal-review-note span {
  font-weight: 400;
}

.edit-modal .submit-modal-close {
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #3f3f46;
}

.edit-modal .submit-modal-close:hover,
.edit-modal .submit-modal-close:focus-visible {
  background: transparent;
  border-color: transparent;
  color: #c43e3a;
  transform: none;
}

.edit-modal .edit-modal-images-label {
  display: block;
  margin-bottom: 8px;
  color: #202124;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.edit-modal-fields {
  display: grid;
  gap: 6px;
  margin: 24px 0 16px;
}

.edit-modal-empty {
  margin: 0;
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 3px;
  color: #62708a;
  font-size: 14px;
  line-height: 1.4;
}

.edit-modal-link-row {
  display: grid;
  grid-template-columns: auto 96px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  background: #fbfcfe;
  border-radius: 3px;
}

.edit-modal-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  color: #64748b;
}

.edit-modal-link-icon .paper-card-resource-icon {
  width: 17px;
  height: 17px;
}

.edit-modal .edit-modal-link-input {
  width: 100%;
  height: 26px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 3px;
  color: #202124;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
}

.edit-modal .edit-modal-link-input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.16);
}

.edit-modal-link-type {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 22px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #202124;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.15;
  white-space: nowrap;
}

.edit-modal-link-row.is-empty {
  background: rgba(251, 252, 254, 0.72);
}

.edit-modal-link-row.is-empty .edit-modal-link-input {
  color: #64748b;
}

.edit-modal-images-label {
  margin-top: 8px;
}

.edit-modal .edit-modal-upload-card {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 4px;
  color: #202124;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.edit-modal-upload-card:hover,
.edit-modal-upload-card:focus-within {
  background: #f8fbff;
  border-color: #9db8d4;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
  transform: translateY(-1px);
}

.edit-modal .edit-modal-image-upload {
  display: none;
}

.edit-modal-upload-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: #eef6ff;
  border: 1px solid #d6e7ff;
  border-radius: 4px;
  color: #2563eb;
}

.edit-modal-upload-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edit-modal-upload-title {
  color: #172033;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.submit-modal-hint,
.submit-modal-error {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.4;
}

.submit-modal-hint {
  color: #56524d;
}

.submit-modal-error {
  color: #b42318;
}

.submit-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.submit-modal-primary,
.submit-modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.submit-modal-primary {
  background: #111827;
  color: #fff;
}

.submit-modal-secondary {
  background: #fff;
  color: #171717;
}

.submit-modal-primary:hover,
.submit-modal-primary:focus-visible {
  background: #020617;
}

.submit-modal-secondary:hover,
.submit-modal-secondary:focus-visible {
  background: #f2f0eb;
}

.edit-modal .submit-modal-actions {
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.edit-modal .submit-modal-primary,
.edit-modal .submit-modal-secondary {
  min-height: 40px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 400;
}

.edit-modal .submit-modal-primary {
  gap: 14px;
  padding: 0 20px;
  background: #8d939f;
}

.edit-modal .submit-modal-primary::before {
  display: block;
  width: 7px;
  height: 13px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.edit-modal .submit-modal-primary:hover,
.edit-modal .submit-modal-primary:focus-visible {
  background: #6b7280;
}

.edit-modal .submit-modal-secondary {
  padding: 0;
  background: transparent;
  color: #171717;
}

.edit-modal .submit-modal-secondary:hover,
.edit-modal .submit-modal-secondary:focus-visible {
  background: transparent;
  color: #111827;
  text-decoration: underline;
}

.submit-modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #fffafa;
  border: 1px solid #ffe1e1;
  border-radius: 4px;
  color: #c43e3a;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.submit-modal-close::before,
.submit-modal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.submit-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.submit-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.submit-modal-close:hover,
.submit-modal-close:focus-visible {
  background: #ffecec;
  border-color: #ffc3c3;
  color: #a50e0e;
  transform: scale(1.04);
}

.resource-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  color: var(--link);
  font-size: 16px;
  font-weight: 450;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.resource-count-under-search {
  display: flex;
  justify-content: flex-start;
  min-height: auto;
  margin: 8px 0 0 18px;
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
}

.resource-table-wrap {
  width: 100%;
  overflow-x: hidden;
}

.resource-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.resource-table th,
.resource-table td {
  padding: 15px 20px 15px 0;
  border-bottom: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

.resource-table th {
  font-size: 12px;
}

.resource-table th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  margin: -2px -4px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 400;
}

.resource-table th button:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.resource-table th button[data-active="true"]::after {
  color: var(--link);
  content: "↓";
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.resource-table th button[data-active="true"][data-direction="asc"]::after {
  content: "↑";
}

.resource-table td:first-child {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.resource-table tbody tr[data-row-href] {
  cursor: pointer;
}

.resource-table tbody tr[data-row-href]:hover td {
  color: var(--text);
}

.resource-table tbody tr[data-row-href]:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: -2px;
}

.model-name-with-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  white-space: nowrap;
}

.model-name-text {
  min-width: 0;
  overflow-wrap: normal;
}

.resource-save-button {
  display: inline-flex;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #202124;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  line-height: 1;
  box-shadow: none;
  transition: color 160ms ease, transform 160ms ease;
}

.resource-save-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.resource-save-button:hover,
.resource-save-button:focus-visible {
  background: transparent;
  color: #111827;
  transform: translateY(-1px);
}

.resource-save-button:focus-visible {
  outline: 2px solid rgba(17, 24, 39, 0.28);
  outline-offset: 3px;
}

.resource-save-button.is-saved {
  background: transparent;
  color: #111827;
}

.resource-save-button.is-saved .resource-save-icon path {
  fill: currentColor;
}

.org-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.org-tag-google {
  background: #eaf2ff;
  border-color: #d4e3ff;
  color: #1f5aa6;
}

.resource-type-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.resource-type-dataset {
  background: #eaf2ff;
  border-color: #d4e3ff;
  color: #1f5aa6;
}

.resource-type-benchmark {
  background: #eef0ff;
  border-color: #d9ddff;
  color: #4750a8;
}

.org-tag-meta {
  background: #eef0ff;
  border-color: #d9ddff;
  color: #4750a8;
}

.org-tag-microsoft {
  background: #ebf7ee;
  border-color: #d5eadb;
  color: #2d7040;
}

.org-tag-nvidia {
  background: #eef8dc;
  border-color: #d9edb7;
  color: #4f741e;
}

.org-tag-ibm {
  background: #edf4ff;
  border-color: #d7e6fb;
  color: #315d8f;
}

.org-tag-amazon {
  background: #fff3dc;
  border-color: #f1deb8;
  color: #8a5a00;
}

.org-tag-allen-ai {
  background: #edf8f7;
  border-color: #d2ebe8;
  color: #2b6f6b;
}

.org-tag-nasa {
  background: #f5edff;
  border-color: #e5d7f8;
  color: #6b4b92;
}

.org-tag-ibm-nasa {
  background: #f5edff;
  border-color: #e5d7f8;
  color: #6b4b92;
}

.org-tag-esa {
  background: #f1f4f6;
  border-color: #dce4ea;
  color: #4d6476;
}

.org-tag-clay {
  background: #edf7f2;
  border-color: #d4eadf;
  color: #32654a;
}

.org-tag-chinese-academy {
  background: #fff0f0;
  border-color: #f0d2d2;
  color: #8a3a3a;
}

.org-tag-inria {
  background: #eef3ff;
  border-color: #d7e2fb;
  color: #3c5f9f;
}

.resource-table a {
  color: var(--link);
  font-weight: 400;
}

.paper-title-cell {
  display: grid;
  gap: 5px;
}

.paper-title-text {
  color: var(--text);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.35;
}

.paper-title-authors {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.paper-meta-strip,
.paper-card-meta-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px 8px;
  flex-wrap: wrap;
}

.paper-card-meta-strip {
  justify-content: flex-end;
}

.paper-stat {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.paper-stat-citations {
  background: #ecfdf3;
  border-color: #d1fadf;
  color: #027a48;
}

.paper-stat-github {
  background: #fff8e6;
  border-color: #ffe6a3;
  color: #8a5a00;
}

.paper-table-metric-cell {
  white-space: nowrap;
}

.paper-table-stat {
  min-height: 22px;
}

.paper-stat-github-icon {
  width: 13px;
  height: 13px;
  background: currentColor;
  color: inherit;
}

.paper-stat-star-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: currentColor;
  color: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8 1.15 2.08 4.22 4.66.68-3.37 3.28.8 4.64L8 11.78 3.83 13.97l.8-4.64-3.37-3.28 4.66-.68L8 1.15Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8 1.15 2.08 4.22 4.66.68-3.37 3.28.8 4.64L8 11.78 3.83 13.97l.8-4.64-3.37-3.28 4.66-.68L8 1.15Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.resource-edit-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  background: #fff;
  border: 1px solid var(--soft-line);
  border-radius: 3px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.resource-edit-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.resource-edit-button:hover,
.resource-edit-button:focus-visible {
  background: #f8fafc;
  border-color: #c6ccd2;
  color: #111827;
  transform: translateY(-1px);
}

.source-icon {
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--text);
  place-items: center;
}

.source-icon-github {
  background: var(--text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0.2A8 8 0 0 0 5.47 15.8c.4.07.55-.17.55-.38v-1.4c-2.23.49-2.7-.96-2.7-.96-.36-.91-.88-1.15-.88-1.15-.72-.49.05-.48.05-.48.8.06 1.22.82 1.22.82.71 1.21 1.86.86 2.31.66.07-.51.28-.86.51-1.06-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.58.82-2.14-.08-.2-.36-1.02.08-2.11 0 0 .67-.21 2.2.82A7.6 7.6 0 0 1 8 4.2c.68 0 1.36.09 2 .27 1.52-1.03 2.19-.82 2.19-.82.44 1.09.16 1.91.08 2.11.51.56.82 1.27.82 2.14 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.47v2.1c0 .21.14.46.55.38A8 8 0 0 0 8 .2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0.2A8 8 0 0 0 5.47 15.8c.4.07.55-.17.55-.38v-1.4c-2.23.49-2.7-.96-2.7-.96-.36-.91-.88-1.15-.88-1.15-.72-.49.05-.48.05-.48.8.06 1.22.82 1.22.82.71 1.21 1.86.86 2.31.66.07-.51.28-.86.51-1.06-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.58.82-2.14-.08-.2-.36-1.02.08-2.11 0 0 .67-.21 2.2.82A7.6 7.6 0 0 1 8 4.2c.68 0 1.36.09 2 .27 1.52-1.03 2.19-.82 2.19-.82.44 1.09.16 1.91.08 2.11.51.56.82 1.27.82 2.14 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.47v2.1c0 .21.14.46.55.38A8 8 0 0 0 8 .2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.source-icon-huggingface {
  width: 18px;
  height: 18px;
  background: url("../images/huggingface-logo.svg") center / contain no-repeat;
}

.source-icon-arxiv {
  background: var(--text);
  -webkit-mask: url("../images/arxiv-logo.svg") center / contain no-repeat;
  mask: url("../images/arxiv-logo.svg") center / contain no-repeat;
}

.resource-table th:first-child,
.resource-table td:first-child {
  width: 34%;
}

.resource-table th:nth-child(2),
.resource-table td:nth-child(2) {
  width: 18%;
}

.resource-table th:nth-child(3),
.resource-table td:nth-child(3) {
  width: 16%;
}

.resource-table th:nth-child(4),
.resource-table td:nth-child(4) {
  width: 12%;
}

.resource-table th:nth-child(5),
.resource-table td:nth-child(5) {
  width: 20%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table th:nth-last-child(4):first-child,
.resource-table th:nth-last-child(4):first-child ~ th,
.resource-table td:nth-last-child(4):first-child,
.resource-table td:nth-last-child(4):first-child ~ td {
  width: auto;
}

.resource-table th:nth-last-child(4):first-child,
.resource-table td:nth-last-child(4):first-child {
  width: 38%;
}

.resource-table th:nth-last-child(3),
.resource-table td:nth-last-child(3) {
  width: 24%;
}

.resource-table th:nth-last-child(2),
.resource-table td:nth-last-child(2) {
  width: 18%;
}

.resource-table th:nth-last-child(1),
.resource-table td:nth-last-child(1) {
  width: 20%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table-papers th:first-child,
.resource-table-papers td:first-child {
  width: 72%;
}

.resource-table-papers th:nth-child(2),
.resource-table-papers td:nth-child(2) {
  width: 28%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table-papers .paper-table-title-column {
  width: 55%;
}

.resource-table-papers .paper-table-metric-column,
.resource-table-papers .paper-table-venue-column {
  width: 15%;
}

.resource-table-papers:not(.resource-table-papers-full) th:first-child,
.resource-table-papers:not(.resource-table-papers-full) td:first-child {
  width: 55%;
}

.resource-table-papers:not(.resource-table-papers-full) th:nth-child(2),
.resource-table-papers:not(.resource-table-papers-full) td:nth-child(2) {
  width: 15%;
  padding-right: 14px;
  white-space: nowrap;
}

.resource-table-papers:not(.resource-table-papers-full) th:nth-child(3),
.resource-table-papers:not(.resource-table-papers-full) td:nth-child(3) {
  width: 15%;
  padding-right: 14px;
  white-space: nowrap;
}

.resource-table-papers:not(.resource-table-papers-full) th:nth-child(4),
.resource-table-papers:not(.resource-table-papers-full) td:nth-child(4) {
  width: 15%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table-papers-full th:first-child,
.resource-table-papers-full td:first-child {
  width: 55%;
}

.resource-table-papers-full th:nth-child(2),
.resource-table-papers-full td:nth-child(2) {
  width: 15%;
  padding-right: 14px;
  white-space: nowrap;
}

.resource-table-papers-full th:nth-child(3),
.resource-table-papers-full td:nth-child(3) {
  width: 15%;
  white-space: nowrap;
}

.resource-table-papers-full th:nth-child(4),
.resource-table-papers-full td:nth-child(4) {
  width: 15%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table.resource-table-papers-full {
  min-width: 0;
}

.resource-table-models th:first-child,
.resource-table-models td:first-child {
  width: 52%;
}

.resource-table-models th:nth-child(2),
.resource-table-models td:nth-child(2) {
  width: 24%;
}

.resource-table-models th:nth-child(3),
.resource-table-models td:nth-child(3) {
  width: 24%;
  padding-right: 0;
  white-space: nowrap;
}

.resource-table-papers .source-link {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  line-height: 1.2;
}

.browse-row {
  display: flex;
  justify-content: flex-end;
  padding-top: 22px;
}

.browse-row a {
  font-size: 15px;
  font-weight: 550;
  line-height: 1.4;
}

.table-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}

.table-pager[hidden] {
  display: none;
}

.table-pager-pages {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.table-pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 38px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1;
}

.table-pager button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.55;
}

.table-pager-page.is-active {
  background: #111318;
  border-color: #111318;
  color: #fff;
}

.table-pager-step {
  width: 38px;
  padding: 0;
  font-size: 16px;
}

.table-pager-status,
.table-pager-gap {
  color: var(--muted);
  font-size: 13px;
}

.table-pager-status {
  justify-self: start;
}

.table-pager-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
}

.paper-card-page {
  --paper-title: #171717;
  --paper-body: #404040;
  --paper-meta: #737373;
  --paper-rule: #e5e5e5;
  width: min(960px, calc(100% - 64px));
  color: var(--paper-body);
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
}

.paper-card-loading {
  padding: 96px 0;
  color: var(--paper-meta, #737373);
  font-size: 17px;
}

.paper-card-article {
  padding: 76px 0 112px;
}

.paper-card-hero {
  max-width: none;
  padding-bottom: 64px;
}

.paper-card-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  margin-bottom: 28px;
}

.paper-card-title-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.paper-card-meta {
  margin: 0;
  color: var(--paper-meta, #737373);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
}

.paper-card-venue-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  background: #eaf2ff;
  border: 1px solid #d4e3ff;
  border-radius: 4px;
  color: #1f5aa6;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.paper-card-close {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fffafa;
  border: 1px solid #ffe1e1;
  border-radius: 4px;
  color: #c43e3a;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    transform 160ms ease;
}

.paper-card-close::before,
.paper-card-close::after {
  position: absolute;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.paper-card-close::before {
  transform: rotate(45deg);
}

.paper-card-close::after {
  transform: rotate(-45deg);
}

.paper-card-close:hover,
.paper-card-close:focus-visible {
  border-color: #c6ccd2;
  text-decoration: none;
}

.paper-card-close:hover,
.paper-card-close:focus-visible {
  background: #ffecec;
  border-color: #ffc3c3;
  color: #a50e0e;
  transform: scale(1.04);
}

.paper-card-hero h1 {
  flex: 1 1 auto;
  max-width: 800px;
  margin: 0 0 18px;
  color: var(--paper-title, #171717);
  font-size: clamp(24px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.paper-card-authors {
  max-width: 760px;
  margin: 0;
  color: var(--paper-meta);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.7;
}

.paper-card-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--paper-body);
  font-size: 18px;
  line-height: 1.65;
}

.paper-card-presentation-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 4px;
  color: #9a3412;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.paper-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 62px;
  border-top: 0;
}

.paper-card-section,
.paper-card-bibtex {
  min-width: 0;
  max-width: 760px;
  padding-top: 0;
}

.paper-card-abstract {
  max-width: 960px;
}

.paper-card-section h2,
.paper-card-bibtex h2 {
  margin: 0 0 18px;
  color: var(--paper-title);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.32;
}

.paper-card-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 18px;
}

.paper-card-section-head h2 {
  margin-bottom: 0;
}

.paper-card-section-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.paper-card-section-actions .resource-save-button {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
}

.paper-card-section-actions .resource-save-icon {
  width: 20px;
  height: 20px;
}

.paper-card-resources {
  max-width: 960px;
}

.paper-card-links-row {
  display: block;
  width: 100%;
}

.paper-card-section > p {
  width: 100%;
  max-width: 68ch;
  margin: 0;
  color: var(--paper-body);
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.paper-card-abstract > p {
  max-width: none;
}

.paper-card-abstract-toggle {
  display: none;
  margin: 10px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  transition: color 160ms ease, transform 160ms ease;
}

.paper-card-abstract-toggle:hover,
.paper-card-abstract-toggle:focus-visible {
  color: #1d4ed8;
  text-decoration: none;
  transform: translateX(2px);
}

.paper-card-abstract-toggle[hidden] {
  display: none !important;
}

.paper-card-images {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin-top: 22px;
}

.paper-card-figures {
  max-width: 960px;
}

.paper-card-bibtex {
  max-width: 960px;
}

.paper-image-frame {
  position: relative;
  width: 100%;
}

.paper-image-stage {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid var(--paper-rule);
  border-radius: 10px;
  cursor: zoom-in;
}

.paper-image-stage img {
  display: block;
  width: 100%;
  max-height: min(560px, 62vh);
  object-fit: contain;
}

.paper-image-controls {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 0 2px;
}

.paper-image-nav {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 14px;
  pointer-events: none;
}

.paper-image-nav button,
.paper-image-viewer-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 229, 229, 0.92);
  border-radius: 999px;
  color: var(--paper-meta, #737373);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 23, 23, 0.08);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
    color 160ms ease, transform 160ms ease;
}

.paper-image-nav button {
  pointer-events: auto;
}

.paper-image-nav button:hover,
.paper-image-nav button:focus-visible {
  background: #fff;
  border-color: #d4d4d4;
  color: var(--paper-title);
  text-decoration: none;
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.12);
}

.paper-image-nav button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.08);
}

.paper-image-chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
}

.paper-image-chevron-left {
  margin-left: 3px;
  transform: rotate(-135deg);
}

.paper-image-chevron-right {
  margin-right: 3px;
  transform: rotate(45deg);
}

.paper-image-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.paper-image-dot {
  display: block;
  width: 7px;
  height: 7px;
  padding: 0;
  background: #d4d4d4;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.paper-image-dot:hover,
.paper-image-dot:focus-visible {
  background: #a3a3a3;
  outline: none;
  transform: scale(1.18);
}

.paper-image-dot:focus-visible {
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.16);
}

.paper-image-dot.is-active {
  background: var(--paper-body, #404040);
  transform: scale(1.08);
}

.is-paper-viewer-open {
  overflow: hidden;
}

.paper-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.96);
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
}

.paper-image-viewer-header {
  display: flex;
  justify-content: flex-end;
}

.paper-image-viewer-image {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: hidden;
  place-items: center;
}

.paper-image-viewer-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.paper-image-viewer-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.paper-image-viewer-arrow-left {
  left: 18px;
}

.paper-image-viewer-arrow-right {
  right: 18px;
}

.paper-image-viewer-arrow:hover,
.paper-image-viewer-arrow:focus-visible {
  background: #fff;
  border-color: #d4d4d4;
  color: var(--paper-title, #171717);
  text-decoration: none;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.12);
}

.paper-image-viewer-arrow:active {
  transform: translateY(-50%) scale(0.98);
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.08);
}

.paper-image-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
}

.paper-image-viewer button[hidden] {
  display: none;
}

.paper-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  align-items: center;
  min-width: 0;
  max-width: none;
}

.paper-card-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  color: var(--paper-meta);
  font-size: 13.5px;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.paper-card-links a + a::before {
  display: inline-flex;
  margin: 0 10px 0 3px;
  color: #d4d4d4;
  content: "·";
}

.paper-card-links a:hover,
.paper-card-links a:focus-visible {
  color: var(--link);
  text-decoration: none;
  transform: translateY(-1px);
}

.paper-card-resource-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: currentColor;
  opacity: 0.82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.paper-card-resource-icon-image {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--paper-resource-icon) center / contain no-repeat;
  mask: var(--paper-resource-icon) center / contain no-repeat;
}

.paper-card-links a:hover .paper-card-resource-icon,
.paper-card-links a:focus-visible .paper-card-resource-icon {
  opacity: 1;
  transform: scale(1.04);
}

.paper-card-codebox {
  position: relative;
}

.paper-card-copy {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--paper-rule);
  border-radius: 999px;
  color: var(--paper-body);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1;
}

.paper-card-copy:hover,
.paper-card-copy:focus-visible {
  border-color: #d4d4d4;
}

.paper-card-copy-icon {
  position: relative;
  width: 15px;
  height: 16px;
}

.paper-card-copy-icon::before,
.paper-card-copy-icon::after {
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  content: "";
}

.paper-card-copy-icon::before {
  top: 0;
  left: 4px;
  opacity: 0.45;
}

.paper-card-copy-icon::after {
  right: 4px;
  bottom: 0;
  background: #fff;
}

.paper-card-copy.is-copied {
  background: #f0f7f1;
  border-color: #cce8d1;
  color: #137333;
}

.paper-card-copy.is-copied .paper-card-copy-icon {
  width: 16px;
  height: 16px;
}

.paper-card-copy.is-copied .paper-card-copy-icon::before {
  top: 3px;
  left: 2px;
  width: 11px;
  height: 6px;
  border: 0;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 0;
  opacity: 1;
  transform: rotate(-45deg);
}

.paper-card-copy.is-copied .paper-card-copy-icon::after {
  display: none;
}

.paper-card-bibtex pre {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 56px 16px 16px;
  overflow-x: hidden;
  background: #fafafa;
  border: 1px solid var(--paper-rule);
  border-radius: 10px;
  color: var(--paper-body);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.model-card-page {
  width: min(1120px, calc(100% - 48px));
}

.model-card-article {
  padding-bottom: 96px;
}

.model-card-hero {
  padding: 88px 0 52px;
}

.model-card-meta {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.model-card-title-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.model-card-hero h1 {
  flex: 1 1 auto;
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 450;
  line-height: 1;
}

.model-card-title-row .resource-save-button {
  margin-top: 8px;
}

.model-card-hero p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: #3c4043;
  font-size: 28px;
  line-height: 1.32;
}

.model-card-media {
  margin: 0 0 72px;
}

.model-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.model-card-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.model-card-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-card-summary h2,
.model-card-story h2,
.model-card-gallery h2,
.model-card-details h2,
.model-card-links h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.25;
}

.model-card-summary p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.model-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 72px;
  background: var(--soft-line);
  border: 1px solid var(--soft-line);
}

.model-card-stats div {
  min-width: 0;
  padding: 28px;
  background: #fff;
}

.model-card-stats strong {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 450;
  line-height: 1;
}

.model-card-stats span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.model-card-story,
.model-card-gallery {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.model-card-story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: 48px;
  align-items: start;
}

.model-card-story-copy p:not(.model-card-kicker) {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.model-card-story-copy p:last-child {
  margin-bottom: 0;
}

.model-card-kicker {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.model-card-source-note {
  display: grid;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--soft-line);
}

.model-card-source-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.model-card-source-note a {
  font-size: 17px;
  line-height: 1.35;
}

.model-card-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.model-card-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.model-card-gallery figure,
.model-card-story-media figure {
  margin: 0;
}

.model-card-gallery img,
.model-card-story-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.model-card-gallery figcaption,
.model-card-story-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.model-card-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.model-card-mini-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.model-card-details,
.model-card-links {
  padding: 64px 0 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
}

.detail-grid div {
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--soft-line);
}

.detail-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.detail-grid strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

.model-card-links {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.model-card-links-head {
  display: flex;
  grid-column: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.model-card-links h2 {
  margin-bottom: 0;
}

.model-card-links a {
  display: block;
  grid-column: 2;
  padding: 16px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 17px;
}

.compact-links {
  padding-top: 44px;
}

.compact-links a {
  padding: 10px 0;
  font-size: 16px;
  line-height: 1.35;
}

.empty-page {
  min-height: 280px;
  padding: 96px 0;
}

.empty-page h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
}

.submit-resource-page {
  width: min(960px, calc(100% - 48px));
  padding: 88px 0 104px;
}

.submit-choice-hero {
  margin-bottom: 44px;
}

.submit-choice-hero h1 {
  max-width: 820px;
  margin: 0 0 8px;
  color: #171717;
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 2.05vw, 30px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.16;
}

.submit-choice-hero p {
  max-width: 840px;
  margin: 0 0 22px;
  color: #62708a;
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-size: clamp(14.5px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.45;
}

.submit-choice-review-note {
  display: grid;
  gap: 4px;
  max-width: 100%;
  padding: 11px 14px;
  background: #fffaf0;
  border: 1px solid #facc15;
  border-radius: 3px;
  color: #86360c;
  font-family: Inter, "Google Sans Flex", Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  line-height: 1.35;
}

.submit-choice-review-note strong {
  font-weight: 500;
}

.submit-choice-review-note span {
  font-weight: 400;
}

.submit-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.submit-choice-card {
  display: grid;
  min-height: 218px;
  padding: 24px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.submit-choice-card:hover,
.submit-choice-card:focus-visible {
  background: #f1f7ff;
  border-color: #bfd8ff;
  box-shadow: 0 10px 24px rgba(76, 129, 202, 0.12);
  transform: translateY(-2px);
}

.submit-choice-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  align-items: center;
  justify-content: center;
  background: #eaf3ff;
  border-radius: 50%;
  color: #5f8fd8;
}

.submit-choice-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submit-choice-title {
  display: block;
  margin-bottom: 8px;
  color: #18202b;
  font-size: 21px;
  font-weight: 550;
  line-height: 1.2;
}

.submit-choice-copy {
  display: block;
  color: #5f6368;
  font-size: 15px;
  line-height: 1.45;
}

.page-footer-divider {
  border-bottom: 1px solid var(--line);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 40px 24px;
  padding-bottom: 96px;
}

.people-section + .people-section {
  margin-top: 56px;
}

.people-section-title {
  margin: 0 0 30px;
  font-size: 22px;
  font-weight: 500;
}

.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.person-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #f1f3f4;
  color: var(--muted);
  font-size: 30px;
  font-weight: 500;
  overflow: hidden;
}

.person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-name {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}

.person-linkedin {
  display: inline-flex;
  color: var(--muted);
  transition: color 0.15s ease;
}

.person-linkedin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.person-card:hover .person-linkedin,
.person-linkedin:hover {
  color: var(--link);
}

.legal-page {
  width: min(960px, calc(100% - 48px));
}

.legal-hero {
  padding: 96px 0 64px;
}

.legal-kicker {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.legal-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 450;
  line-height: 1;
}

.legal-hero p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: #3c4043;
  font-size: 28px;
  line-height: 1.32;
}

.legal-section {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.legal-section p {
  margin-bottom: 0;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.cookie-settings {
  padding-bottom: 96px;
}

.cookie-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.cookie-row h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.25;
}

.cookie-row p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
}

.toggle input {
  width: 20px;
  height: 20px;
  accent-color: #111318;
}

.settings-button {
  margin-top: 28px;
  padding: 12px 22px;
  background: #111318;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
}

.site-footer {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 58px;
}

.social-section {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-bottom: 74px;
}

.social-section h2,
.signup-section h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.social-links a {
  display: inline-grid;
  width: 28px;
  height: 28px;
  color: #17181c;
  place-items: center;
}

.social-links svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.signup-section p {
  margin: 3px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.signup-section p a {
  color: var(--muted);
  text-decoration: underline;
}

.signup-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 56px;
  overflow: hidden;
  background: #f8fafd;
  border-radius: 999px;
}

.signup-form input {
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 0 178px 0 32px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  outline: 0;
}

.signup-form input::placeholder {
  color: #80868b;
  opacity: 1;
}

.signup-form button {
  position: absolute;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  background: #111318;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  white-space: nowrap;
}

.signup-form button svg {
  width: 20px;
  height: 20px;
}

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

.footer-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  gap: 48px;
  align-items: start;
  margin-top: 96px;
  padding-top: 34px;
  border-top: 1px solid var(--soft-line);
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-wordmark img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand-block p {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.site-footer .footer-links {
  display: grid;
  gap: 8px;
  align-items: start;
}

.site-footer .footer-links h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 550;
  line-height: 1.35;
}

.site-footer .footer-links a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.site-footer .footer-links a:hover {
  color: var(--link);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--soft-line);
}

.footer-legal a {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.footer-legal a:hover {
  color: var(--link);
}

@media (max-width: 1024px) {
  .site-header {
    min-height: 64px;
    padding: 0 28px;
    position: relative;
    z-index: 10;
  }

  .menu-button {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    width: 40px;
    height: 40px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    background: #fff;
    border: 1px solid var(--soft-line);
    border-radius: 50%;
    cursor: pointer;
  }

  .resource-site-header .menu-button {
    order: 3;
    margin-left: 0;
  }

  .header-user-menu {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
  }

  .header-user-button {
    width: 48px;
    height: 48px;
    margin-left: 0;
  }

  .header-user-button svg {
    width: 36px;
    height: 36px;
  }

  .resource-site-header .header-submit-button {
    order: 2;
    margin-left: auto;
    margin-right: 12px;
    padding: 0 14px;
    font-size: 14px;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--text);
    border-radius: 999px;
    content: "";
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.is-menu-open .menu-button {
    gap: 0;
  }

  .site-header.is-menu-open .menu-button span {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-button::before {
    transform: translateY(1.5px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-button::after {
    transform: translateY(-1.5px) rotate(-45deg);
  }

  .brand {
    order: 1;
    flex: 0 1 auto;
    gap: 9px;
    font-size: 20px;
    line-height: 64px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    display: none;
  }

  .site-header.is-menu-open .main-nav {
    position: absolute;
    top: 64px;
    right: 28px;
    left: 28px;
    display: grid;
    gap: 0;
    align-items: stretch;
    padding: 8px 0;
    background: #fff;
    border: 1px solid var(--soft-line);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(60, 64, 67, 0.12);
  }

  .site-header.is-menu-open .main-nav a {
    padding: 14px 20px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
  }

  .site-header.is-menu-open .main-nav a.is-active {
    color: var(--link);
  }

  main {
    width: min(100% - 56px, 1080px);
  }

  .hero {
    padding: 72px 0 88px;
  }

  .hero h1 {
    display: none;
  }

  h1 {
    margin-bottom: 2px;
    font-size: 28px;
    line-height: 1.08;
  }

  .tagline {
    max-width: 720px;
    font-size: 28px;
    line-height: 1.22;
    white-space: normal;
  }

  .content-section {
    padding: 0 0 68px;
  }

  .list-page .content-section {
    padding-top: 36px;
  }

  .content-section + .content-section {
    padding-top: 64px;
  }

  .content-section.resource-panel {
    padding-top: 64px;
  }

  .category-tabs {
    width: max-content;
    max-width: 100%;
    margin-bottom: 72px;
  }

  .category-tab {
    min-height: 46px;
    padding: 0 16px;
    font-size: 16px;
  }

  .resource-panel[hidden] {
    display: none;
  }

  h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .section-heading p {
    font-size: 28px;
    line-height: 1.08;
  }

  .resource-table {
    min-width: 100%;
  }

  .resource-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .paper-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .combined-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .resource-controls .resource-count {
    grid-column: 1 / -1;
    justify-content: flex-start;
    min-height: auto;
    text-align: left;
  }

  .paper-controls .search-control,
  .combined-controls .search-control,
  .model-controls .company-filter {
    grid-column: 1 / -1;
  }

  .paper-controls .filter-control,
  .combined-controls .filter-control {
    grid-column: 1;
  }

  .resource-controls .submit-resource-button {
    width: 100%;
  }

  .resource-controls .submit-icon-button {
    width: 38px;
  }

  .company-filter {
    grid-column: auto;
    grid-row: auto;
  }

  .company-filter {
    justify-content: flex-start;
  }

  .resource-table th,
  .resource-table td {
    padding: 14px 12px 14px 0;
    vertical-align: top;
  }

  .subpage-hero,
  .model-card-hero,
  .legal-hero {
    padding: 28px 0 84px;
  }

  .subpage-hero h1,
  .model-card-hero h1,
  .legal-hero h1 {
    margin-bottom: 2px;
    font-size: 28px;
    line-height: 1.08;
  }

  .subpage-hero p,
  .model-card-hero p:last-child,
  .legal-hero p:last-child {
    max-width: 720px;
    font-size: 28px;
    line-height: 1.08;
  }

  .paper-card-hero {
    padding-bottom: 56px;
  }

  .paper-card-topbar {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .paper-card-title-row,
  .model-card-title-row {
    gap: 18px;
  }

  .model-card-title-row .resource-save-button {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .paper-card-hero h1 {
    font-size: clamp(24px, 1.8vw, 28px);
    line-height: 1.15;
  }

  .paper-card-authors {
    font-size: 13px;
    line-height: 1.7;
  }

  .model-card-summary {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .model-card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .model-card-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .model-card-source-note {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid var(--soft-line);
    border-left: 0;
  }

  .model-card-gallery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .model-card-links {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .model-card-links-head,
  .model-card-links h2,
  .model-card-links a {
    grid-column: auto;
  }

  .legal-section {
    padding: 34px 0;
  }

  .cookie-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .header-user-button {
    width: 40px;
    height: 40px;
  }

  .header-user-button svg {
    width: 40px;
    height: 40px;
  }

  main.list-page {
    width: 100%;
  }

  .list-page .content-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .list-page .resource-table-wrap {
    width: 100%;
  }

  .edit-modal-fields {
    grid-template-columns: 1fr;
  }

  .edit-modal {
    align-items: flex-start;
    padding: 48px 18px;
  }

  .edit-modal-panel {
    padding: 20px 16px;
  }

  .edit-modal-panel h2 {
    font-size: 19px;
  }

  .edit-modal .submit-modal-description {
    font-size: 14px;
  }

  .edit-modal-review-note {
    font-size: 13px;
  }

  .edit-modal-link-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 8px;
    min-height: 48px;
    padding: 10px;
  }

  .edit-modal-link-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .edit-modal-link-type {
    grid-column: 2;
    grid-row: 1;
    width: max-content;
    max-width: 100%;
    min-height: 20px;
    padding: 0;
    font-size: 12.5px;
  }

  .edit-modal .edit-modal-link-input {
    grid-column: 2;
    grid-row: 2;
    font-size: 13.5px;
  }

  .edit-modal .edit-modal-upload-card {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
  }

  .resource-table {
    display: block;
    min-width: 0;
  }

  .resource-table.resource-table-papers-full {
    min-width: 0;
  }

  .combined-controls {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .combined-controls .search-control {
    grid-column: 1;
  }

  .combined-controls .filter-control {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .combined-controls .submit-icon-button {
    grid-column: 2;
    grid-row: 1;
  }

  .resource-table thead,
  .resource-table tbody {
    display: block;
    width: 100%;
  }

  .category-tabs {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.58fr) minmax(0, 1.45fr);
    width: 100%;
    max-width: 420px;
    margin-bottom: 54px;
    padding: 4px;
  }

  .company-filter {
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding-bottom: 4px;
  }

  .company-filter button {
    flex: 0 0 auto;
  }

  .category-tab {
    position: relative;
    min-width: 0;
    min-height: 42px;
    padding: 0 5px;
    font-size: 10px;
    line-height: 1.05;
  }

  .category-tab.is-active {
    z-index: 1;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(17, 19, 24, 0.14);
    transform: translateY(-2px);
  }

  .submit-modal {
    align-items: center;
    padding: 72px 20px;
  }

  .submit-modal-panel h2 {
    font-size: 32px;
  }

  .submit-modal-description {
    margin-bottom: 28px;
  }

  .submit-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .submit-modal-primary,
  .submit-modal-secondary {
    width: 100%;
    min-height: 40px;
  }

  .resource-table thead tr,
  .resource-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 7px;
    align-items: start;
    border-bottom: 1px solid var(--soft-line);
  }

  .resource-table th,
  .resource-table td {
    min-width: 0;
    padding: 16px 0;
    border-bottom: 0;
  }

  .resource-table th:nth-child(n + 2),
  .resource-table td:nth-child(n + 2):not(:last-child) {
    display: none;
  }

  .featured-paper-metric-column,
  .featured-paper-metric-cell {
    display: none;
  }

  .resource-table th:first-child,
  .resource-table td:first-child {
    grid-column: 1;
    width: auto;
  }

  .resource-table td:last-child {
    grid-column: 1;
    width: auto;
    padding-top: 0;
    padding-right: 0;
    white-space: nowrap;
  }

  .resource-table td:first-child {
    padding-bottom: 0;
  }

  .list-page .resource-table-papers,
  .list-page .resource-table-papers-full,
  .list-page .resource-table-papers thead tr,
  .list-page .resource-table-papers tbody tr,
  .list-page .resource-table-papers th:first-child,
  .list-page .resource-table-papers td:first-child,
  .list-page .resource-table-papers .paper-title-cell,
  .list-page .resource-table-papers .paper-title-text,
  .list-page .resource-table-papers .paper-title-authors {
    width: 100%;
    max-width: none;
  }

  .list-page .resource-table-papers th:first-child,
  .list-page .resource-table-papers td:first-child {
    justify-self: stretch;
  }

  .list-page .resource-table-papers .paper-title-cell,
  .list-page .resource-table-papers .paper-title-text,
  .list-page .resource-table-papers .paper-title-authors {
    display: block;
  }

  .list-page .resource-table-papers .paper-title-text,
  .list-page .resource-table-papers .paper-title-authors {
    overflow-wrap: anywhere;
  }

  .resource-panel .resource-table tbody tr {
    grid-template-columns: 58% 42%;
    column-gap: 0;
    row-gap: 0;
  }

  .resource-panel .resource-table td:first-child {
    padding-bottom: 16px;
  }

  .resource-panel .resource-table td:last-child {
    grid-column: 2;
    padding-top: 16px;
    text-align: right;
  }

  .resource-panel .resource-table-models td:first-child {
    display: flex;
    align-items: center;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .resource-panel .resource-table-papers td:first-child {
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .resource-table-models .model-name-with-tag {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .resource-table-models .model-name-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .resource-panel .resource-table-models tbody tr,
  .resource-panel .resource-table-papers tbody tr {
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 14px;
  }

  .resource-panel .resource-table-models .org-tag {
    display: block;
    flex: 0 0 auto;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .resource-table-papers td:first-child {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .browse-row {
    justify-content: flex-start;
    padding-top: 18px;
  }

  .table-pager {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .table-pager-pages {
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .paper-card-article {
    padding-top: 36px;
    padding-bottom: 76px;
  }

  .paper-card-hero {
    padding-bottom: 48px;
  }

  .paper-card-hero h1 {
    font-size: 20px;
  }

  .paper-card-body {
    gap: 48px;
  }

  .paper-card-section,
  .paper-card-bibtex {
    max-width: none;
  }

  .paper-card-section h2,
  .paper-card-bibtex h2 {
    font-size: 16px;
  }

  .paper-card-section > p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .paper-card-abstract:not(.is-expanded) .paper-card-abstract-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .paper-card-abstract.is-expanded .paper-card-abstract-text {
    display: block;
    overflow: visible;
  }

  .paper-card-abstract-toggle {
    display: inline-flex;
    align-items: center;
  }

  .paper-card-images {
    margin-top: 20px;
  }

  .paper-image-stage img {
    height: 190px;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .paper-image-nav {
    padding: 0 8px;
  }

  .paper-image-nav button,
  .paper-image-viewer-arrow {
    width: 34px;
    height: 34px;
  }

  .paper-image-dots {
    gap: 7px;
  }

  .paper-image-viewer {
    padding: 16px;
  }

  .paper-image-viewer-arrow-left {
    left: 10px;
  }

  .paper-image-viewer-arrow-right {
    right: 10px;
  }

  .paper-image-viewer-image {
    justify-content: start;
    place-items: center start;
  }

  .paper-image-viewer-image img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .paper-card-links {
    gap: 9px 16px;
    align-items: flex-start;
  }

  .paper-card-links a + a::before {
    display: none;
  }

  .model-card-media {
    margin-bottom: 48px;
  }

  .model-card-summary {
    padding: 42px 0;
  }

  .model-card-stats {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .model-card-stats div {
    padding: 24px;
  }

  .model-card-stats strong {
    font-size: 30px;
  }

  .model-card-story,
  .model-card-gallery {
    padding: 46px 0;
  }

  .model-card-story h2,
  .model-card-gallery h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .model-card-story-copy p:not(.model-card-kicker) {
    font-size: 16px;
    line-height: 1.6;
  }

  .model-card-mini-list {
    gap: 8px;
  }

  .model-card-mini-list span {
    min-height: 34px;
    font-size: 13px;
  }

  .empty-page {
    min-height: 180px;
    padding: 64px 0;
  }

  .submit-resource-page {
    padding: 64px 0 80px;
  }

  .submit-choice-hero {
    margin-bottom: 28px;
  }

  .submit-choice-hero h1 {
    font-size: clamp(22px, 6.4vw, 28px);
  }

  .submit-choice-hero p {
    margin-bottom: 18px;
    font-size: 14.5px;
  }

  .submit-choice-review-note {
    font-size: 13px;
  }

  .submit-choice-grid {
    grid-template-columns: 1fr;
  }

  .submit-choice-card {
    min-height: auto;
  }

  .submit-choice-icon {
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 0;
    padding: 0 28px;
  }

  .brand {
    flex-basis: auto;
    line-height: 64px;
  }

  main,
  .site-footer {
    width: min(100% - 56px, 1080px);
  }

  .paper-card-page {
    width: min(100% - 40px, 960px);
  }

  .hero {
    padding: 58px 0 68px;
  }

  h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 24px;
    line-height: 1.24;
  }

  .content-section {
    padding: 0 0 68px;
  }

  .content-section.resource-panel {
    padding-top: 64px;
  }

  h2 {
    font-size: 28px;
  }

  .site-footer {
    padding-top: 60px;
  }

  .social-section {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 54px;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 22px;
  }

  .signup-form {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 8px;
    border-radius: 28px;
  }

  .signup-form input {
    height: 48px;
    padding: 0 18px;
    font-size: 18px;
  }

  .signup-form button {
    position: static;
    justify-content: center;
    width: 100%;
  }

  .footer-directory {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 72px;
  }

  .legal-page {
    width: min(100% - 48px, 960px);
  }

  .legal-kicker {
    margin-bottom: 24px;
  }

  .legal-hero {
    padding-bottom: 58px;
  }

  .legal-hero p:last-child {
    font-size: 24px;
    line-height: 1.16;
  }

  .legal-section p,
  .legal-section li,
  .cookie-row p {
    font-size: 16px;
    line-height: 1.65;
  }

  .cookie-settings {
    padding-bottom: 72px;
  }

  .settings-button {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  .section-nav {
    gap: 16px 22px;
  }
}
