/* Library-only styles. Shared typography and colors come from style.css. */

:where(.object-library-page) .download-buttons {
  display: grid;
  gap: 8px;
  margin-top: auto;
  grid-template-columns: repeat(2, 1fr);
}

:where(.object-library-page) .download-btn {
  min-width: 0;
  text-align: center;
  text-decoration: none;
  padding: 10px 6px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

:where(.object-library-page) .btn-ifc {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: #f7f3ff;
  border-color: #d8c8ef;
}

:where(.object-library-page) .btn-ifc:hover {
  background: #ece2ff;
}

:where(.object-library-page) .btn-original {
  border: 1px solid #16a34a;
  color: var(--color-primary);
  background: #f7f3ff;
  border-color: #d8c8ef;
}

:where(.object-library-page) .btn-original:hover {
  background: #ece2ff;
}

:where(.object-library-page) .btn-zip {
  border: 1px solid #f59e0b;
  color: #fff;
  background: var(--color-primary);
  grid-column: 1 / -1;
  border-color: var(--color-primary);
}

:where(.object-library-page) .btn-zip:hover {
  background: #4b00b5;
  color: #fff;
}

:where(.object-library-page) .library-page-tab {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 0;
  margin-bottom: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

:where(.object-library-page) .page-tab-btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 6px;
  background: #f4efff;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
  flex: 1;
  text-align: center;
  font-size: .9rem;
}

:where(.object-library-page) .page-tab-btn:hover {
  background: #ece2ff;
}

:where(.object-library-page) .contact-form {
  max-width: none;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  border-color: var(--color-border);
}

:where(.object-library-page) .form-group {
  margin-bottom: 1rem;
}

:where(.object-library-page) .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #334155;
  font-size: 0.92rem;
}

:where(.object-library-page) .form-group input {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  min-height: 44px;
}

:where(.object-library-page) .form-group select {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  min-height: 44px;
}

:where(.object-library-page) .form-group textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 1rem;
  resize: vertical;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
  min-height: 180px;
  line-height: 1.8;
}

:where(.object-library-page) .required {
  color: #dc2626;
  margin-left: 0.2rem;
}

:where(.object-library-page) .submit-btn {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 44px;
  font-size: 0.95rem;
  transition: 0.2s;
}

:where(.object-library-page) .submit-btn:hover {
  background: #4b00b5;
}

:where(.object-library-page) .submit-message {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 6px;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  max-width: none;
  min-height: 1.5rem;
  margin: 1rem auto 0;
  line-height: 1.7;
}

:where(.object-library-page) .section {
  padding: 48px 0;
  scroll-margin-top: 96px;
}

:where(.object-library-page) .library-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

:where(.object-library-page) .library-sidebar {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
  border-color: var(--color-border);
}

:where(.object-library-page) .library-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

:where(.object-library-page) .library-sidebar select {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  margin-bottom: 1rem;
  background: #fff;
  font: inherit;
  font-size: .9rem;
  min-height: 44px;
}

:where(.object-library-page) .filter-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

:where(.object-library-page) .filter-btn:hover {
  background: #4b00b5;
}

:where(.object-library-page) .filter-reset-btn {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.75rem;
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid #d8c8ef;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

:where(.object-library-page) .filter-reset-btn:hover {
  background: #f4efff;
}

:where(.object-library-page) .filter-result {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

:where(.object-library-page) .no-results {
  display: none;
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  color: var(--color-text-muted);
  text-align: center;
}

:where(.object-library-page) .no-results.is-visible {
  display: block;
}

:where(.object-library-page) .manual-link-panel {
  margin-top: 1.2rem;
  padding: 20px;
  border: 1px solid #e1d8ef;
  border-radius: 8px;
  background: #faf8ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

:where(.object-library-page) .manual-link-panel p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.7;
}

:where(.object-library-page) .manual-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  min-height: 44px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(98, 0, 234, 0.3);
  max-width: 100%;
  text-align: center;
}

:where(.object-library-page) .manual-link-btn:hover {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(98, 0, 234, 0.4);
}

:where(.object-library-page) .library-comparison-intro {
  max-width: none;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

:where(.object-library-page) #link-section .link-list {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}

:where(.object-library-page) .library-comparison-notes {
  max-width: none;
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--color-primary);
  background: #f8fafc;
  color: #5b6470;
  font-size: 0.9rem;
  line-height: 1.8;
}

:where(.object-library-page) .library-comparison-notes p {
  margin: 0;
}

:where(.object-library-page) .library-comparison-notes p + p {
  margin-top: 0.4rem;
}

:where(.object-library-page) .comparison-table-wrap {
  max-width: 920px;
  margin: 1.5rem auto 0;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
}

:where(.object-library-page) .comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

:where(.object-library-page) .comparison-table th {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

:where(.object-library-page) .comparison-table td {
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
}

:where(.object-library-page) .comparison-table th:last-child {
  border-right: none;
}

:where(.object-library-page) .comparison-table td:last-child {
  border-right: none;
}

:where(.object-library-page) .comparison-table tbody tr:last-child td {
  border-bottom: none;
}

:where(.object-library-page) .comparison-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

:where(.object-library-page) .comparison-table .status-cell {
  width: 18%;
  text-align: center;
  font-weight: 700;
}

:where(.object-library-page) .comparison-table .status-available {
  color: #16723a;
}

:where(.object-library-page) .comparison-table .status-unavailable {
  color: #64748b;
}

:where(.object-library-page) .comparison-legend {
  max-width: 920px;
  margin: 0.75rem auto 0;
  color: #5b6470;
  font-size: 0.9rem;
  text-align: right;
}

:where(.object-library-page) .comparison-date-note {
  max-width: 920px;
  margin: 0.25rem auto 0;
  color: #5b6470;
  font-size: 0.9rem;
  text-align: right;
}

:where(.object-library-page) .comparison-table-message {
  max-width: 920px;
  margin: 1rem auto 0;
  color: #5b6470;
  text-align: center;
}

:where(.object-library-page) .comparison-local-loader {
  display: none;
  max-width: 920px;
  margin: 1rem auto 0;
  padding: 1rem 1.2rem;
  border: 1px solid #e1d8ef;
  border-radius: 8px;
  background: #faf8ff;
  color: var(--color-text-muted);
  line-height: 1.7;
}

:where(.object-library-page) .comparison-local-loader.is-visible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

:where(.object-library-page) .comparison-local-loader p {
  margin: 0;
}

:where(.object-library-page) .comparison-csv-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--color-primary);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
}

:where(.object-library-page) .comparison-csv-label:hover {
  background: #4b00b5;
}

:where(.object-library-page) .comparison-csv-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

:where(.object-library-page) .library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

:where(.object-library-page) .model-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: 0.2s;
  border-color: var(--color-border);
  display: flex;
  flex-direction: column;
}

:where(.object-library-page) .model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

:where(.object-library-page) .model-preview {
  height: auto;
  background: #f4f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5edf5;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

:where(.object-library-page) .model-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

:where(.object-library-page) .model-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

:where(.object-library-page) .model-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.6;
}

:where(.object-library-page) .model-meta {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

:where(.object-library-page) .member-panel {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  border-color: var(--color-border);
}

:where(.object-library-page) .library-sidebar .member-panel {
  display: block;
  margin: 0 0 1.5rem;
  padding: 16px;
  background: #faf8ff;
  margin-bottom: 24px;
}

:where(.object-library-page) .library-sidebar .member-panel-title {
  font-size: 0.95rem;
}

:where(.object-library-page) .library-sidebar .member-panel-text {
  font-size: 0.84rem;
  line-height: 1.7;
}

:where(.object-library-page) .library-sidebar .member-actions {
  justify-content: flex-start;
  margin-top: 0.8rem;
}

:where(.object-library-page) .library-sidebar .member-btn {
  width: 100%;
}

:where(.object-library-page) .library-sidebar .member-status {
  width: 100%;
}

:where(.object-library-page) .member-panel-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--color-text);
}

:where(.object-library-page) .member-panel-text {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

:where(.object-library-page) .member-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

:where(.object-library-page) .member-btn {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.2s;
}

:where(.object-library-page) .member-btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

:where(.object-library-page) .member-btn-primary:hover {
  background: #4b00b5;
}

:where(.object-library-page) .member-btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
}

:where(.object-library-page) .member-btn-secondary:hover {
  background: #f4efff;
}

:where(.object-library-page) .member-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

:where(.object-library-page) .member-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9ca3af;
}

:where(.object-library-page) .member-status.is-logged-in::before {
  background: #16a34a;
}

:where(.object-library-page) .download-buttons.is-locked .download-btn {
  border-color: #cbd5e1;
  color: #64748b;
  background: #f8fafc;
}

:where(.object-library-page) .login-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.56);
}

:where(.object-library-page) .login-modal.is-open {
  display: flex;
}

:where(.object-library-page) .login-dialog {
  width: min(100%, 460px);
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

:where(.object-library-page) .login-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #e5edf5;
}

:where(.object-library-page) .login-dialog-title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
}

:where(.object-library-page) .login-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

:where(.object-library-page) .login-close:hover {
  background: #f4efff;
}

:where(.object-library-page) .auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.75rem;
  gap: 0.5rem;
  background: #f4f7fa;
}

:where(.object-library-page) .auth-tab {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-weight: 700;
}

:where(.object-library-page) .auth-tab.is-active {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

:where(.object-library-page) .auth-form {
  display: none;
  padding: 1.25rem;
}

:where(.object-library-page) .auth-form.is-active {
  display: block;
}

:where(.object-library-page) .form-field {
  margin-bottom: 1rem;
}

:where(.object-library-page) .form-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
}

:where(.object-library-page) .form-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #ffffff;
}

:where(.object-library-page) .form-field input:focus {
  outline: 2px solid #dcc8ff;
  border-color: var(--color-primary);
}

:where(.object-library-page) .terms-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0.25rem 0 1rem;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.7;
}

:where(.object-library-page) .terms-check input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
}

:where(.object-library-page) .auth-submit {
  width: 100%;
  min-height: 44px;
  border: none;
  border-radius: 6px;
  background: var(--color-primary);
  color: #ffffff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
}

:where(.object-library-page) .auth-submit:hover {
  background: #4b00b5;
}

:where(.object-library-page) .auth-link-btn {
  margin-top: 0.85rem;
  border: none;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

:where(.object-library-page) .auth-message {
  min-height: 1.4rem;
  margin-top: 0.8rem;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

:where(.object-library-page) .auth-support {
  padding: 1rem 1.25rem;
  border-top: 1px solid #e5edf5;
  background: #f8fafc;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.65;
}

:where(.object-library-page) .auth-support-title {
  margin: 0 0 0.25rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

:where(.object-library-page) .auth-support p {
  margin: 0;
}

:where(.object-library-page) .auth-support-address {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

:where(.object-library-page) .terms-open {
  border: none;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.object-library-page) .terms-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
}

:where(.object-library-page) .terms-modal.is-open {
  display: flex;
}

:where(.object-library-page) .terms-dialog {
  width: min(100%, 760px);
  max-height: min(86vh, 760px);
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

:where(.object-library-page) .terms-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #e5edf5;
}

:where(.object-library-page) .terms-dialog-title {
  margin: 0;
  color: var(--color-text);
  font-size: 1.1rem;
}

:where(.object-library-page) .terms-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

:where(.object-library-page) .terms-close:hover {
  background: #f4efff;
}

:where(.object-library-page) .terms-body {
  padding: 1.25rem 1.5rem;
  overflow: auto;
  color: #334155;
  line-height: 1.85;
}

:where(.object-library-page) .terms-body h3 {
  margin: 1.2rem 0 0.35rem;
  color: var(--color-text);
  font-size: 1rem;
  border-bottom: 1px solid #e5edf5;
  padding-bottom: 0.25rem;
}

:where(.object-library-page) .terms-body h3:first-child {
  margin-top: 0;
}

:where(.object-library-page) .terms-body p {
  font-size: 0.92rem;
}

:where(.object-library-page) .terms-body li {
  font-size: 0.92rem;
}

:where(.object-library-page) .terms-body ol {
  margin: 0;
  padding-left: 1.4rem;
}

:where(.object-library-page) .terms-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #f4f7fa;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: #475569;
  font-size: 0.88rem;
}

:where(.object-library-page) .contact-description {
  max-width: none;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  text-align: left;
}

:where(.object-library-page) .form-group input:focus {
  outline: 2px solid #dcc8ff;
  border-color: var(--color-primary);
}

:where(.object-library-page) .form-group select:focus {
  outline: 2px solid #dcc8ff;
  border-color: var(--color-primary);
}

:where(.object-library-page) .form-group textarea:focus {
  outline: 2px solid #dcc8ff;
  border-color: var(--color-primary);
}

:where(.object-library-page) .submit-message[hidden] {
  display: none !important;
}

:where(.object-library-page) .submit-message.is-visible {
  display: block;
}

:where(.object-library-page) .auth-resend-note {
  width: calc(100% - 2.5rem);
  margin: 0.1rem 2rem 1rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.7;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

:where(.object-library-page) .auth-resend-btn {
  border: none;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(.object-library-page) .auth-resend-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

:where(.object-library-page) .library-main {
  min-width: 0;
}

:where(.object-library-page) .section-title {
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 20px;
  font-weight: 700;
}

:where(.object-library-page) .breadcrumbs {
  margin-bottom: 20px;
}

:where(.object-library-page) #link-section .link-list a {
  padding: 16px 0;
  line-height: 1.8;
}

:where(.object-library-page) .contact-form .form-group {
  margin-bottom: 20px;
}

:where(.object-library-page) .guide-box {
  line-height: 1.9;
}

:where(.object-library-page) .guide-box > p + p {
  margin-top: 16px;
}

:where(.object-library-page) :is(.library-sidebar, .library-main, .library-page-tab, .contact-form) :is(a, button, select, input, textarea):focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

@media(max-width:960px) {
  :where(.object-library-page) .library-layout {
    grid-template-columns: 1fr;
  }

  :where(.object-library-page) .member-panel {
    grid-template-columns: 1fr;
  }

  :where(.object-library-page) .member-actions {
    justify-content: flex-start;
  }

  :where(.object-library-page) .manual-link-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  :where(.object-library-page) .comparison-local-loader.is-visible {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 960px) {
  :where(.object-library-page) .library-layout {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (max-width: 600px) {
  :where(.object-library-page) .library-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  :where(.object-library-page) .library-page-tab {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  :where(.object-library-page) .page-tab-btn {
    padding: 12px 8px;
    font-size: .85rem;
  }

  :where(.object-library-page) .section {
    padding: 32px 0;
  }

  :where(.object-library-page) .section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  :where(.object-library-page) .library-sidebar {
    padding: 16px;
  }

  :where(.object-library-page) .contact-form {
    padding: 16px;
  }

  :where(.object-library-page) .model-content {
    padding: 16px;
  }

  :where(.object-library-page) .manual-link-panel {
    padding: 16px;
  }

  :where(.object-library-page) .page-hero h1 {
    font-size: 1.65rem;
    line-height: 1.6;
  }

  :where(.object-library-page) .model-preview {
    aspect-ratio: 16 / 10;
  }

}
