/* styles/references.desktop.css */
/* Apply only on desktop and large tablets in landscape */
@media (min-width: 1024px) {
  /* Container breathing room for desktop */
  .library-container {
    padding: 16px 0;
    max-width: 1080px;
    margin: 0 auto;
  }

  /* Accordions: always open and look like section headers (no +/- affordance) */
  .ref-accordion {
    margin-bottom: 18px;
    border: none;
    background: transparent;
  }

  .ref-accordion[open] > summary .ref-section-title::after,
  .ref-accordion:not([open]) > summary .ref-section-title::after {
    content: ""; /* hide +/- on desktop */
  }

  .ref-accordion > summary {
    cursor: default; /* disable toggle cursor on desktop */
    padding: 4px 0 8px 0;
    font-size: 1.15rem;
    font-weight: 700;
  }

  .ref-count {
    font-size: 0.95rem;
    color: #64748b; /* slate-500 */
  }

  /* List: tidy vertical rhythm */
  .ref-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
  }

  /* Cards: compact, non-touch layout */
  .ref-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }

  /* Row: title left, actions right */
  .ref-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .ref-title {
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 1rem;
  }

  .ref-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .action-btn {
    padding: 0;
    width: 32px;
    height: 32px;
  }

  .action-btn.icon-only {
    width: 32px;
    height: 32px;
  }

  .icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
}
