.ref-page { max-width: 1040px; margin: 0 auto; padding: 48px 40px 80px; }
.ref-page h1 { margin: 0 0 8px; font-size: 28px; }
.ref-page h2 { margin: 0 0 12px; font-size: 16px; }
.ref-muted { color: var(--mut); line-height: 1.6; }
.ref-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.ref-stats > div, .ref-card, .ref-details { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.ref-stats span { display: block; color: var(--mut); font-size: 13px; }
.ref-stats strong { display: block; margin-top: 8px; font-size: 30px; color: var(--navy); }
.ref-card h2:not(:first-child) { margin-top: 24px; }
.ref-copy { display: flex; gap: 8px; }
.ref-copy input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 6px; color: var(--navy); background: var(--surf); }
.ref-search { display: flex; gap: 8px; margin-top: 24px; }
.ref-search input { width: min(100%, 360px); min-width: 0; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 6px; }
.ref-copy button, .ref-pagination button, .ref-search button { padding: 9px 14px; border: 1px solid var(--line2); border-radius: 6px; background: #fff; color: var(--navy); }
.ref-copy button:hover, .ref-pagination button:hover:not(:disabled) { background: var(--surf-blue); }
.ref-message { min-height: 20px; color: var(--blue); }
.ref-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ref-table { width: 100%; border-collapse: collapse; text-align: left; background: white; }
.ref-table th, .ref-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table th { font-size: 12px; color: var(--mut); }
.ref-table td { overflow-wrap: anywhere; }
.ref-link { padding: 0; border: 0; background: none; color: var(--blue); text-decoration: underline; }
.ref-pagination { display: flex; gap: 8px; margin: 16px 0; }
.ref-pagination button:disabled { opacity: .45; }
.ref-details { margin-top: 24px; }
.ref-details ul { padding-left: 20px; line-height: 2; overflow-wrap: anywhere; }
@media (max-width: 600px) { .ref-page { padding: 32px 20px 88px; } .ref-copy { flex-wrap: wrap; } .ref-copy input { flex-basis: 100%; } .ref-copy button { width: 100%; } .ref-table { min-width: 560px; } }
