/*
 * NGM Digital Repository — public pages.
 * Fonts come from the site theme. Each community has a "spine" colour (like
 * colour-coded library shelves) that marks its items everywhere.
 */
.ndr {
	--ndr-ink: #1d2733;
	--ndr-muted: #5b6675;
	--ndr-line: #d8dee6;
	--ndr-panel: #f2f5f8;
	--ndr-accent: #234a86;
	--ndr-accent-dark: #17335f;
	--ndr-open: #1a7f4b;
	--ndr-campus: #1f5f8c;
	--ndr-members: #5a3f8c;
	--ndr-embargo: #8a6a12;
	--ndr-closed: #9a3b2e;
	--ndr-spine: #5b6675;
	color: var(--ndr-ink);
	line-height: 1.55;
	font-variant-numeric: lining-nums;
}
.ndr *, .ndr *::before, .ndr *::after { box-sizing: border-box; }
.ndr a { color: var(--ndr-accent); text-underline-offset: .15em; }
.ndr a:hover { color: var(--ndr-accent-dark); }
.ndr :focus-visible { outline: 2px solid var(--ndr-accent); outline-offset: 2px; border-radius: 2px; }
.ndr h2 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 .75rem; color: var(--ndr-ink); }
.ndr h3 { font-size: 1.05rem; line-height: 1.3; margin: 0 0 .4rem; }
.ndr p { margin: 0 0 .75rem; }
.ndr [hidden] { display: none !important; }
.ndr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ndr-i { flex: none; vertical-align: -.2em; }
.ndr-small { font-size: .85rem; color: var(--ndr-muted); }
.ndr-empty { color: var(--ndr-muted); }
.ndr-empty p:first-child { color: var(--ndr-ink); font-weight: 600; }

/* Buttons */
.ndr-btn, .ndr button.ndr-btn {
	display: inline-flex; align-items: center; gap: .4em;
	padding: .55em 1.05em; border: 1px solid var(--ndr-accent); border-radius: 6px;
	background: var(--ndr-accent); color: #fff !important; font: inherit; font-weight: 600; font-size: .95rem;
	line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.ndr-btn:hover { background: var(--ndr-accent-dark); border-color: var(--ndr-accent-dark); }
.ndr-btn--quiet, .ndr button.ndr-btn--quiet { background: transparent; color: var(--ndr-accent) !important; border-color: var(--ndr-line); font-weight: 500; }
.ndr-btn--quiet:hover { background: var(--ndr-panel); border-color: var(--ndr-accent); }

/* Search */
.ndr-search { margin: 0 0 .6rem; }
.ndr-search__row {
	display: flex; align-items: stretch; border: 2px solid var(--ndr-ink); border-radius: 8px; background: #fff; overflow: hidden;
}
.ndr-search__row:focus-within { border-color: var(--ndr-accent); box-shadow: 0 0 0 3px rgba(35, 74, 134, .18); }
.ndr-search__icon { display: flex; align-items: center; padding: 0 .2rem 0 .85rem; color: var(--ndr-muted); }
.ndr-search input[type="search"] {
	flex: 1 1 auto; min-width: 0; border: 0; padding: .9rem .7rem; font: inherit; font-size: 1.08rem; background: transparent; color: var(--ndr-ink); outline: none; box-shadow: none;
}
.ndr-search select { border: 0; border-left: 1px solid var(--ndr-line); padding: 0 .8rem; font: inherit; font-size: .92rem; background: var(--ndr-panel); color: var(--ndr-ink); max-width: 13rem; }
.ndr-search .ndr-btn { border-radius: 0; border: 0; padding: 0 1.4rem; font-size: 1rem; }
.ndr-search--compact input[type="search"] { padding: .65rem .6rem; font-size: 1rem; }
.ndr-browsebar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin: 0 0 1.75rem; font-size: .92rem; }
.ndr-browsebar span { color: var(--ndr-muted); }
.ndr-browsebar a { text-decoration: none; border-bottom: 1px solid transparent; }
.ndr-browsebar a:hover, .ndr-browsebar a[aria-current] { border-bottom-color: currentColor; }
.ndr-browsebar a[aria-current] { color: var(--ndr-ink); font-weight: 600; }

/* Home */
.ndr-home__head { max-width: 60rem; margin: 0 0 1.25rem; }
.ndr-home__lede { font-size: 1.15rem; color: var(--ndr-muted); max-width: 48ch; margin-bottom: 1rem; }
.ndr-counts { margin: -.5rem 0 2rem; color: var(--ndr-muted); }
.ndr-counts strong { color: var(--ndr-ink); }
.ndr-section { margin: 0 0 2.5rem; }
.ndr-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 3rem; }
.ndr-communities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem 1.5rem; }
.ndr-community { position: relative; padding: .2rem 0 .2rem 1.1rem; border-left: 6px solid var(--ndr-spine); }
.ndr-community__name { display: block; font-size: 1.15rem; font-weight: 700; color: var(--ndr-ink) !important; text-decoration: none; line-height: 1.25; }
.ndr-community__name:hover { color: var(--ndr-spine) !important; }
.ndr-community__count { display: block; font-size: .85rem; color: var(--ndr-muted); margin: .15rem 0 .45rem; }
.ndr-community__kids { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.ndr-community__kids li { margin: .1rem 0; }
.ndr-community__kids a { text-decoration: none; }
.ndr-community__kids a:hover { text-decoration: underline; }
.ndr-cta { margin: 0 0 2rem; padding: 1.25rem 1.4rem; background: var(--ndr-panel); border-radius: 8px; max-width: 46rem; }
.ndr-cta h2 { margin-bottom: .4rem; }

/* Result list */
.ndr-list { list-style: none; margin: 0; padding: 0; }
.ndr-row {
	display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem;
	padding: 1rem 0 1rem 1rem; border-left: 4px solid var(--ndr-spine); border-bottom: 1px solid var(--ndr-line);
}
.ndr-row + .ndr-row { margin-top: .25rem; }
.ndr-row--compact { grid-template-columns: minmax(0, 1fr); padding: .65rem 0 .65rem .85rem; border-left-width: 3px; }
.ndr-row__cover { width: 64px; height: 88px; object-fit: cover; object-position: top; border: 1px solid var(--ndr-line); background: #fff; }
.ndr-row__cover--none { display: flex; align-items: center; justify-content: center; color: var(--ndr-spine); background: var(--ndr-panel); }
.ndr-row__cover--none .ndr-i { width: 26px; height: 26px; }
.ndr-row__title { font-size: 1.08rem; line-height: 1.3; margin: 0 0 .2rem; font-weight: 650; }
.ndr-row--compact .ndr-row__title { font-size: 1rem; }
.ndr-row__title a { color: var(--ndr-ink); text-decoration: none; }
.ndr-row__title a:hover { color: var(--ndr-accent); text-decoration: underline; }
.ndr-row__who { margin: 0 0 .3rem; font-size: .93rem; }
.ndr-row__who a { color: inherit; text-decoration: none; }
.ndr-row__who a:hover { text-decoration: underline; color: var(--ndr-accent); }
.ndr-row__who span { color: var(--ndr-muted); }
.ndr-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin: 0 0 .35rem; font-size: .85rem; color: var(--ndr-muted); }
.ndr-row__year { font-weight: 700; color: var(--ndr-ink); }
.ndr-row__snip { margin: 0; font-size: .92rem; color: #36414f; max-width: 75ch; }
.ndr-row__snip mark { background: #fff1b8; color: inherit; padding: 0 .1em; border-radius: 2px; }
.ndr-row__where { color: var(--ndr-muted); font-size: .82rem; white-space: nowrap; }
.ndr-row__count { grid-column: 1 / -1; font-size: .82rem; color: var(--ndr-muted); margin-top: -.15rem; }
.ndr-list--ranked { counter-reset: ndr-rank; }
.ndr-list--ranked .ndr-row { counter-increment: ndr-rank; grid-template-columns: 2rem minmax(0, 1fr); }
.ndr-list--ranked .ndr-row::before { content: counter(ndr-rank); font-weight: 700; color: var(--ndr-spine); font-size: 1.1rem; line-height: 1.3; }
.ndr-list--ranked .ndr-row__count { grid-column: 2; }

/* Type pill and access badges */
.ndr-type {
	display: inline-block; padding: .08rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; line-height: 1.5;
	color: var(--ndr-spine); background: #eef2f7; background: color-mix(in srgb, var(--ndr-spine) 11%, #fff); text-decoration: none;
}
a.ndr-type:hover { text-decoration: underline; }
.ndr-access { display: inline-flex; align-items: center; gap: .3em; font-size: .82rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.ndr-access .ndr-i { width: 15px; height: 15px; }
.ndr-access--open { color: var(--ndr-open); }
.ndr-access--campus { color: var(--ndr-campus); }
.ndr-access--registered { color: var(--ndr-members); }
.ndr-access--embargo { color: var(--ndr-embargo); }
.ndr-access--restricted { color: var(--ndr-closed); }

/* Results page */
.ndr-results { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.25rem; align-items: start; }
.ndr-results__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ndr-ink); }
.ndr-results__count { margin: 0; }
.ndr-sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: 0; }
.ndr-sort select { font: inherit; font-size: .9rem; padding: .3rem .5rem; border: 1px solid var(--ndr-line); border-radius: 6px; background: #fff; }
.ndr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; padding: 0; }
.ndr-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .4rem .2rem .7rem; border: 1px solid var(--ndr-line); border-radius: 999px; font-size: .85rem; color: var(--ndr-ink) !important; text-decoration: none; background: #fff; }
.ndr-chip .ndr-i { width: 14px; height: 14px; color: var(--ndr-muted); }
.ndr-chip:hover { border-color: var(--ndr-closed); }
.ndr-chip:hover .ndr-i { color: var(--ndr-closed); }
.ndr-chip--clear { padding-right: .7rem; color: var(--ndr-accent) !important; border-style: dashed; }
.ndr-facets { font-size: .92rem; }
.ndr-facet { margin: 0 0 1.4rem; }
.ndr-facet h3 { font-size: .95rem; margin: 0 0 .4rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ndr-line); }
.ndr-facet ul { list-style: none; margin: 0; padding: 0; }
.ndr-facet li a { display: flex; justify-content: space-between; gap: .75rem; padding: .22rem .4rem; margin: 0 -.4rem; border-radius: 4px; color: var(--ndr-ink); text-decoration: none; }
.ndr-facet li a:hover { background: var(--ndr-panel); }
.ndr-facet li a em, .ndr-toggle em { font-style: normal; color: var(--ndr-muted); font-variant-numeric: tabular-nums; }
.ndr-facet li a.is-on { background: var(--ndr-panel); font-weight: 650; box-shadow: inset 3px 0 0 var(--ndr-accent); }
.ndr-facet ul.is-folded li:nth-child(n + 11) { display: none; }
.ndr-facet ul.is-folded[data-show="8"] li:nth-child(n + 9) { display: none; }
.ndr-facet ul.is-folded[data-show="6"] li:nth-child(n + 7) { display: none; }
.ndr-more { margin-top: .3rem; padding: 0; border: 0; background: none; color: var(--ndr-accent); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; }
.ndr-toggle { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border: 1px solid var(--ndr-line); border-radius: 8px; color: var(--ndr-open) !important; font-weight: 650; text-decoration: none; }
.ndr-toggle span { flex: 1; }
.ndr-toggle.is-on { background: #e8f5ee; border-color: var(--ndr-open); }
.ndr-years { display: flex; gap: .35rem; margin-top: .6rem; }
.ndr-years input { width: 5.2rem; padding: .3rem .4rem; border: 1px solid var(--ndr-line); border-radius: 6px; font: inherit; font-size: .9rem; }
.ndr-years .ndr-btn { padding: .3rem .7rem; }
.ndr-pages { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1.5rem 0 1rem; }
.ndr-pages a, .ndr-pages span { min-width: 2.3rem; padding: .35rem .6rem; text-align: center; border: 1px solid var(--ndr-line); border-radius: 6px; text-decoration: none; }
.ndr-pages span[aria-current] { background: var(--ndr-ink); border-color: var(--ndr-ink); color: #fff; font-weight: 700; }
.ndr-pages .ndr-pages__gap { border: 0; min-width: 0; color: var(--ndr-muted); }
.ndr-export { font-size: .88rem; color: var(--ndr-muted); }
.ndr-export a { margin-left: .6rem; }

/* Browse */
.ndr-tree, .ndr-index { list-style: none; margin: 0; padding: 0; }
.ndr-tree li { padding: .35rem 0 .35rem calc(1rem + var(--ndr-depth, 0) * 1.4rem); border-left: 6px solid var(--ndr-spine); }
.ndr-tree__top { margin-top: 1rem; font-size: 1.1rem; font-weight: 700; }
.ndr-tree__kid { border-left-width: 2px !important; margin-left: 2px; font-size: .97rem; }
.ndr-tree p { font-size: .9rem; font-weight: 400; color: var(--ndr-muted); margin: .2rem 0 0; max-width: 70ch; }
.ndr-tree em, .ndr-index em, .ndr-azlist em, .ndr-decades em, .ndr-subcols em { font-style: normal; font-weight: 400; color: var(--ndr-muted); font-size: .88em; }
.ndr-index li { padding: .3rem 0 .3rem calc(var(--ndr-depth, 0) * 1.4rem); border-bottom: 1px solid var(--ndr-line); }
.ndr-az { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1.25rem; }
.ndr-az a, .ndr-az span { display: inline-block; min-width: 2.1rem; padding: .3rem .45rem; text-align: center; border-radius: 4px; text-decoration: none; font-weight: 600; }
.ndr-az a { background: var(--ndr-panel); }
.ndr-az a[aria-current] { background: var(--ndr-ink); color: #fff; }
.ndr-az span { color: #b4bcc6; }
.ndr-azlist { columns: 3 16rem; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
.ndr-azlist li { break-inside: avoid; padding: .15rem 0; }
.ndr-decades { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.ndr-decades h3 { border-bottom: 2px solid var(--ndr-ink); padding-bottom: .25rem; }
.ndr-decades ul { list-style: none; margin: 0; padding: 0; columns: 2; }

/* Collection / type / author pages */
.ndr-archive-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.ndr-crumbs { display: flex; flex-wrap: wrap; gap: .2rem; font-size: .88rem; margin: 0 0 1rem; }
.ndr-crumbs a { text-decoration: none; }
.ndr-crumbs a + a::before { content: "/"; margin: 0 .45rem 0 .25rem; color: var(--ndr-line); }
.ndr-term__head { padding-left: 1.1rem; border-left: 6px solid var(--ndr-spine); margin: 0 0 1.5rem; }
.ndr-term__kind { margin: 0; color: var(--ndr-spine); font-weight: 600; font-size: .95rem; }
.ndr-term__title { margin: .1rem 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.ndr-term__desc { max-width: 70ch; color: var(--ndr-muted); }
.ndr-subcols { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.ndr-subcols a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--ndr-line); border-radius: 6px; text-decoration: none; font-weight: 600; }
.ndr-subcols a:hover { border-color: var(--ndr-spine); }

/* Item page */
.ndr-item { margin-top: .25rem; }
.ndr-lead { padding-left: 1.1rem; border-left: 6px solid var(--ndr-spine); margin: 0 0 1.75rem; }
.ndr-lead__who { font-size: 1.12rem; margin: 0 0 .45rem; }
.ndr-lead__who a { color: var(--ndr-ink); text-decoration: none; border-bottom: 1px solid var(--ndr-line); }
.ndr-lead__who a:hover { border-color: var(--ndr-accent); color: var(--ndr-accent); }
.ndr-lead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0; font-size: .92rem; }
.ndr-lead__date { font-weight: 600; }
.ndr-lead__alt { margin: .6rem 0 0; font-size: 1.05rem; color: var(--ndr-muted); }
.ndr-item__grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 2.5rem; align-items: start; }
.ndr-item__main > section { margin: 0 0 2rem; }
.ndr-abstract { max-width: 72ch; }
.ndr-keywords { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: -1rem 0 2rem; }
.ndr-keywords a { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--ndr-panel); font-size: .85rem; text-decoration: none; color: var(--ndr-ink); }
.ndr-keywords a:hover { background: #e2e8ef; }
.ndr-filelist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ndr-ink); }
.ndr-file { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto auto; grid-template-areas: "kind name info badge" "kind actions actions actions"; gap: .35rem 1rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--ndr-line); }
.ndr-file__kind { grid-area: kind; align-self: start; font-size: .78rem; font-weight: 700; color: var(--ndr-spine); padding: .3rem 0; border-top: 3px solid var(--ndr-spine); text-align: center; }
.ndr-file__name { grid-area: name; font-weight: 600; word-break: break-word; }
.ndr-file__name small { display: block; font-weight: 400; color: var(--ndr-muted); font-size: .8rem; }
.ndr-file__info { grid-area: info; font-size: .85rem; color: var(--ndr-muted); text-align: right; white-space: nowrap; }
.ndr-file__info small { display: block; }
.ndr-file .ndr-access { grid-area: badge; }
.ndr-file__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: .5rem; }
.ndr-file.is-locked .ndr-file__name { color: var(--ndr-muted); }
.ndr-file__denied { padding: 0 0 1rem; border-bottom: 1px solid var(--ndr-line); }
.ndr-denied { padding: 1rem 1.2rem; background: #fdf6ec; border-left: 4px solid var(--ndr-embargo); border-radius: 0 6px 6px 0; }
.ndr-request summary { cursor: pointer; font-weight: 600; color: var(--ndr-accent); }
.ndr-request form { margin-top: .8rem; }
.ndr-preview { margin-top: 1rem; }
.ndr-preview__frame iframe { width: 100%; height: min(80vh, 900px); border: 1px solid var(--ndr-line); border-radius: 6px; margin-top: .75rem; background: var(--ndr-panel); }
.ndr-dl { margin: 0; border-top: 2px solid var(--ndr-ink); }
.ndr-dl__row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--ndr-line); }
.ndr-dl dt { color: var(--ndr-muted); font-size: .92rem; }
.ndr-dl dd { margin: 0; word-break: break-word; }
.ndr-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--ndr-line); margin-bottom: .75rem; }
.ndr-tabs button { padding: .45rem .9rem; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 600; color: var(--ndr-muted); cursor: pointer; margin-bottom: -1px; }
.ndr-tabs button[aria-selected="true"] { color: var(--ndr-ink); border-bottom-color: var(--ndr-spine); }
.ndr-cite__text p { padding: .9rem 1.1rem; background: var(--ndr-panel); border-radius: 6px; font-size: .95rem; word-break: break-word; }
.ndr-cite__own { font-style: italic; }
.ndr-cite__tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.ndr-item__side { font-size: .93rem; }
.ndr-item__side h2 { font-size: .95rem; margin: 0 0 .35rem; color: var(--ndr-muted); font-weight: 600; }
.ndr-cover { display: block; width: 100%; height: auto; border: 1px solid var(--ndr-line); margin: 0 0 1.5rem; box-shadow: 6px 6px 0 color-mix(in srgb, var(--ndr-spine) 18%, transparent); }
.ndr-side__block { margin: 0 0 1.5rem; padding-top: .9rem; border-top: 1px solid var(--ndr-line); }
.ndr-permalink { word-break: break-all; font-weight: 600; }
.ndr-side__stats p { margin: 0; }
.ndr-side__stats strong { font-size: 1.25rem; }
.ndr-related { margin-top: 1rem; padding-top: 1.5rem; border-top: 2px solid var(--ndr-ink); }
.ndr-related .ndr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 1.5rem; }
.ndr-tombstone { padding: 1.5rem; border: 1px solid var(--ndr-line); border-left: 6px solid var(--ndr-closed); border-radius: 0 8px 8px 0; max-width: 60ch; }

/* Notices */
.ndr-notice { padding: .9rem 1.1rem; border-radius: 6px; background: var(--ndr-panel); border-left: 4px solid var(--ndr-accent); margin: 0 0 1.25rem; }
.ndr-notice--ok { background: #ebf6f0; border-left-color: var(--ndr-open); }
.ndr-notice--error { background: #fbeeec; border-left-color: var(--ndr-closed); }
.ndr-notice ul { margin: .25rem 0 0 1.2rem; }
.ndr-notice h2 { margin-bottom: .3rem; }

/* Forms (deposit, request a copy) */
.ndr-form label { display: block; font-weight: 600; margin-bottom: .25rem; font-size: .95rem; }
.ndr-form input[type="text"], .ndr-form input[type="email"], .ndr-form input[type="url"], .ndr-form input[type="date"], .ndr-form input:not([type]), .ndr-form select, .ndr-form textarea {
	width: 100%; padding: .55rem .65rem; border: 1px solid #b9c2cd; border-radius: 6px; font: inherit; background: #fff; color: var(--ndr-ink);
}
.ndr-form textarea { resize: vertical; }
.ndr-form input:focus, .ndr-form select:focus, .ndr-form textarea:focus { border-color: var(--ndr-accent); outline: 2px solid rgba(35, 74, 134, .25); outline-offset: 0; }
.ndr-form fieldset { border: 0; border-top: 2px solid var(--ndr-ink); padding: 1rem 0 .5rem; margin: 0 0 1.5rem; }
.ndr-form legend { font-weight: 700; font-size: 1.15rem; padding: 0 .6rem 0 0; }
.ndr-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.25rem; }
.ndr-form__grid .ndr-wide { grid-column: 1 / -1; }
.ndr-form__group { margin-top: .5rem; padding: 1rem 1.1rem .4rem; background: var(--ndr-panel); border-radius: 8px; }
.ndr-form__group h3 { margin-bottom: .6rem; }
.ndr-req { font-weight: 400; font-size: .8rem; color: var(--ndr-closed); margin-left: .25rem; }
.ndr-help { display: block; font-size: .83rem; color: var(--ndr-muted); margin-top: .25rem; }
.ndr-check { display: inline-flex !important; align-items: center; gap: .45rem; font-weight: 500 !important; }
.ndr-agreement { padding: 1rem 1.1rem; border: 1px solid var(--ndr-line); border-radius: 8px; font-size: .92rem; }
.ndr-form__submit { margin-top: 1rem; }
.ndr-form__submit .ndr-btn { padding: .8rem 1.6rem; font-size: 1.02rem; }
.ndr-hp { position: absolute !important; left: -9999px; }
.ndr-filelist--edit { margin-bottom: 1rem; }
.ndr-filelist--edit .ndr-file { grid-template-areas: "kind name info badge"; }

/* My submissions */
.ndr-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ndr-table th, .ndr-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--ndr-line); vertical-align: top; }
.ndr-table thead th { border-bottom: 2px solid var(--ndr-ink); font-size: .88rem; color: var(--ndr-muted); }
.ndr-status { font-weight: 600; font-size: .88rem; }
.ndr-status--publish { color: var(--ndr-open); }
.ndr-status--pending { color: var(--ndr-embargo); }
.ndr-status--draft { color: var(--ndr-closed); }

/* Small screens */
@media (max-width: 900px) {
	.ndr-results { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.ndr-facets { order: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1.5rem; padding-top: 1rem; border-top: 2px solid var(--ndr-ink); }
	.ndr-item__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.ndr-item__side { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 1.5rem; }
	.ndr-cover { max-width: 220px; }
}
@media (max-width: 600px) {
	.ndr-search__row { flex-wrap: wrap; }
	.ndr-search__icon { display: none; }
	.ndr-search input[type="search"] { flex-basis: 100%; }
	.ndr-search select { flex: 1; border-left: 0; border-top: 1px solid var(--ndr-line); padding: .6rem; max-width: none; }
	.ndr-search .ndr-btn { padding: .6rem 1rem; }
	.ndr-row { grid-template-columns: 48px minmax(0, 1fr); gap: .75rem; padding-left: .75rem; }
	.ndr-row__cover { width: 48px; height: 66px; }
	.ndr-file { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name info" "badge badge" "actions actions"; }
	.ndr-file__kind { display: none; }
	.ndr-dl__row { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
	.ndr-table thead { display: none; }
	.ndr-table tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--ndr-line); }
	.ndr-table td { display: block; border: 0; padding: .15rem 0; }
}
@media print {
	.ndr-search, .ndr-browsebar, .ndr-facets, .ndr-file__actions, .ndr-preview, .ndr-cite__tools, .ndr-tabs, .ndr-related { display: none !important; }
	.ndr-cite__text[hidden] { display: block !important; }
}
