/* Kit v3 Credits (decision D89). Builds on calendar.css (filter panel, toolbar, inspector), tokens from v3.css only.
   The register is the instrument: one row per dataset, library, font or asset, grouped by area, full bleed. */
.cr__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.cr__kind button { padding-inline: 10px; white-space: nowrap; }
.cr__kind button em { font-style: normal; color: var(--ink-3); margin-inline: 5px; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.cr__q { display: flex; align-items: center; gap: 8px; height: 34px; padding-inline: 10px; border-radius: var(--r); border: 1px solid var(--line); color: var(--ink-3); min-width: 0; }
.cr__q input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.cr__body { overflow: auto; scrollbar-width: thin; }
.cr__note { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--bg-1); border-block-end: 1px solid var(--line); color: var(--ink-3); font-size: 12px; }
.cr__note b { color: var(--ink); font-weight: 600; }
.cr__note span { flex: 1; min-width: 0; }
.cr__note .btn { height: 28px; font-size: 12px; }
.cr__hd, .cr__r { display: grid; grid-template-columns: minmax(0, 1.25fr) 176px minmax(0, 1.6fr) 96px; gap: 14px; padding-inline: 16px; }
.cr__hd { padding-block: 10px 8px; border-block-end: 1px solid var(--line); }
.cr__hd span:last-child, .cr__w { text-align: end; }
.cr__grp { display: flex; align-items: baseline; gap: 10px; padding: 16px 16px 8px; border-block-end: 1px solid var(--line); }
.cr__grp b { font: 600 14px/1.2 var(--f); letter-spacing: -.005em; }
.cr__grp span { color: var(--ink-3); font-size: 12px; }
.cr__grp::after { content: ""; flex: 1; align-self: center; height: 1px; background: var(--pastel); opacity: .5; }
.cr__r { align-items: center; min-height: 54px; border-block-end: 1px solid var(--line); cursor: pointer; }
.cr__r:hover { background: var(--bg-2); }
.cr__r[aria-selected="true"] { background: var(--red-soft); }
.cr__t { min-width: 0; padding-block: 8px; }
.cr__t b { display: block; font-weight: 500; font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cr__t small { display: block; margin-block-start: 3px; color: var(--ink-3); font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cr__lic { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; height: 22px; font-size: 11px; }
.cr__lic i { flex: none; background: transparent; border: 1px solid currentColor; }
.cr__lic[data-du="sa"] i { background: var(--p2); border-color: var(--p2); }
.cr__lic[data-du="pd"] i { background: var(--p3); border-color: var(--p3); }
.cr__lic[data-du="notice"] i { background: var(--p1); border-color: var(--p1); }
.cr__a { min-width: 0; color: var(--ink-2); font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; unicode-bidi: plaintext; }
.cr__w { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.cr__w b { display: block; color: var(--ink); font-weight: 600; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.cr__empty { padding: 40px 16px; text-align: center; color: var(--ink-3); }
.cr__ttl { font-size: 20px; line-height: 1.25; }
.cr__cite { padding: 10px 12px; border-radius: var(--r); background: var(--bg-2); border-inline-start: 2px solid var(--ink-3); font-size: 12.5px; line-height: 1.5; unicode-bidi: plaintext; user-select: all; }
.cins .kv dd { overflow-wrap: anywhere; }
.cins .kv a { color: inherit; }
.cr__tbl { max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r); scrollbar-width: thin; }
.cr__tbl table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.cr__tbl th { position: sticky; top: 0; background: var(--bg-2); color: var(--ink-3); font-weight: 500; text-align: start; padding: 6px 8px; }
.cr__tbl td { padding: 5px 8px; border-block-start: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.cr__tbl a { color: inherit; }
.cins .acts { grid-template-columns: 1fr 1fr; padding: 16px; }
@media (max-width: 1560px) {
  .has-rail-end .cr__q { display: none; }
  .has-rail-end .cr__bar { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 1180px) {
  .cr__hd, .cr__r { grid-template-columns: minmax(0, 1fr) 150px 88px; }
  .cr__a, .cr__hd span:nth-child(3) { display: none; }
  .cr__q { display: none; }
}
@media (max-width: 760px) {
  .cr__bar { grid-template-columns: minmax(0, 1fr) auto; }
  .cr__kind { overflow-x: auto; scrollbar-width: none; }
  .cr__hd, .cr__r { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding-inline: 10px; }
  .cr__w, .cr__hd span:nth-child(4), .cr__hd span:nth-child(3) { display: none; }
  .cr__lic { max-width: 128px; }
  .cr__note { padding-inline: 10px; }
  .cr__note .btn { display: none; }
}
.cr__t b, .cr__t small, .cr__grp b, .cr__note span, .cr__w, .cins .kv dd, .cr__tbl td { unicode-bidi: plaintext; }
.cr__tbl td:first-child { min-width: 96px; }
