/* Paper product options mirror the compact GH DESIGNS workflow. */
#ghboard[data-paper="true"] .tabs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#ghboard[data-paper="true"] .tabs button {
  min-width: 0;
}

#ghboard[data-paper="true"] .paper-size-ui,
#ghboard[data-paper="true"] .paper-orientation-ui {
  color: var(--gh-ink);
}

#ghboard[data-paper="true"] .paper-size-intro {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 9px;
}

#ghboard[data-paper="true"] .paper-size-intro strong {
  color: var(--gh-blue);
  font-size: 12px;
  letter-spacing: .45px;
}

#ghboard[data-paper="true"] .paper-size-intro span {
  color: var(--gh-muted);
  font-size: 11px;
}

#ghboard[data-paper="true"] .paper-size-search {
  width: 100%;
  margin-bottom: 8px;
}

#ghboard[data-paper="true"] .paper-size-list {
  max-height: 248px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce2e8;
  scrollbar-width: thin;
  scrollbar-color: #98a8bb transparent;
}

#ghboard[data-paper="true"] .paper-size-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #eef1f4;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

#ghboard[data-paper="true"] .paper-size-option:last-child {
  border-bottom: 0;
}

#ghboard[data-paper="true"] .paper-size-option:hover,
#ghboard[data-paper="true"] .paper-size-option:focus-visible {
  background: #eef4ff;
}

#ghboard[data-paper="true"] .paper-size-option[aria-selected="true"] {
  background: #26c930;
  color: #fff;
}

#ghboard[data-paper="true"] .paper-size-option span {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#ghboard[data-paper="true"] .paper-size-option small {
  color: inherit;
  font-size: 11px;
  opacity: .82;
  text-align: right;
}

#ghboard[data-paper="true"] .paper-size-help,
#ghboard[data-paper="true"] .paper-size-empty {
  color: var(--gh-muted);
  font-size: 11px;
  line-height: 1.4;
}

#ghboard[data-paper="true"] .paper-size-empty {
  padding: 14px;
}

#ghboard[data-paper="true"] .paper-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#ghboard[data-paper="true"] .paper-choice-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

#ghboard[data-paper="true"] .paper-choice-grid button[aria-pressed="true"] {
  color: #fff;
  background: var(--gh-blue);
  border-color: var(--gh-blue);
}

#ghboard[data-paper="true"] .paper-choice-grid strong {
  font-size: 13px;
}

#ghboard[data-paper="true"] .paper-choice-grid small {
  font-size: 11px;
  line-height: 1.25;
  opacity: .82;
}

#ghboard[data-paper="true"] .paper-orientation-ui > p {
  color: var(--gh-muted);
  font-size: 11px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  #ghboard[data-paper="true"] .tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #ghboard[data-paper="true"] .paper-size-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
