@font-face {
  font-family: InterPortal;
  src: url('/crie2026/inter-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --nr-paper: #fbf9f3;
  --nr-white: #fffdf8;
  --nr-ink: #182925;
  --nr-muted: #53615a;
  --nr-rule: #dedad0;
  --nr-accent: #a83820;
  --nr-coral: #f3ab90;
  --nr-green: #254f43;
  --nr-fill: #eef1e8;
  --nr-headline: InterPortal, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--nr-paper); color: var(--nr-ink); font: 1rem/1.56 system-ui, sans-serif; }
:where(h1,h2,h3,p,ul,ol,dl,dd,figure) { margin: 0; }
:where(h1,h2,h3,p,dd,dt,a) { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--nr-accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--nr-accent); outline-offset: 4px; }
.nr-container { width: min(100% - 3rem, 80rem); margin-inline: auto; }
.nr-skip { position: absolute; z-index: 5; top: .4rem; left: .5rem; transform: translateY(-180%); padding: .65rem 1rem; color: white; background: var(--nr-ink); }
.nr-skip:focus { transform: none; }

.nr-header { background: var(--nr-white); border-top: .35rem solid var(--nr-ink); border-bottom: 1px solid var(--nr-rule); }
.nr-masthead { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nr-wordmark { font: 900 clamp(1.75rem, 5vw, 3.45rem)/.95 var(--nr-headline); letter-spacing: -.075em; text-decoration: none; }
.nr-wordmark span { color: var(--nr-accent); margin-left: .04em; }
.nr-mast-meta { display: flex; align-items: center; gap: 1.2rem; color: var(--nr-muted); font-size: .85rem; text-align: right; }
.daily-languages { position: relative; color: var(--nr-ink); z-index: 2; }
.daily-languages summary { display: list-item; white-space: nowrap; padding: .5rem .72rem; border: 1px solid var(--nr-rule); border-radius: 4px; cursor: pointer; font-weight: 650; }
.daily-language-links { position: absolute; right: 0; min-width: max-content; max-height: min(75vh, 30rem); overflow: auto; background: var(--nr-white); border: 1px solid var(--nr-rule); box-shadow: 0 1rem 3rem #18292922; text-align: left; }
.daily-language-links a { display: block; padding: .5rem .75rem; text-decoration: none; }
.daily-language-links a[aria-current], .daily-language-links a:hover { background: var(--nr-fill); color: var(--nr-green); }
.nr-nav { display: flex; gap: .15rem 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--nr-rule); align-items: center; }
.nr-nav a { padding: .64rem 0; font-size: .9rem; font-weight: 690; text-decoration: none; }
.nr-nav [aria-current] { color: var(--nr-accent); box-shadow: inset 0 -2px 0 var(--nr-accent); }
.nr-nav-archive { margin-inline-start: auto; }
.nr-issue { display: flex; gap: .3rem 1rem; justify-content: space-between; align-items: baseline; flex-wrap: wrap; padding: .8rem 0 1rem; color: var(--nr-muted); font-size: .83rem; font-weight: 665; }
.nr-mobile-date { display: none; }
.nr-issue p span[aria-hidden] { padding: 0 .3em; opacity: .75; }

.nr-top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 2.55vw, 2.6rem); align-items: start; }
.nr-lead { min-width: 0; }
.nr-lead-copy { padding: .8rem 0 0; }
.nr-kicker { display: inline-block; color: var(--nr-accent); font-size: .79rem; font-weight: 760; margin-bottom: .28rem; text-decoration: none; }
.nr-lead h1 { font: 900 clamp(2.1rem, 4.15vw, 4.05rem)/1.02 var(--nr-headline); letter-spacing: -.065em; text-wrap: pretty; }
.nr-lead h1 a, .nr-tool-card h2 a, .nr-tool-card h3 a, .nr-desk-feature h3 a { text-decoration: none; }
.nr-lead-copy > p:last-child { max-width: 66ch; margin-top: .68rem; color: var(--nr-muted); font-size: 1.02rem; }
.nr-front-side { display: grid; gap: 1.1rem; min-width: 0; }

.nr-visual { min-width: 0; }
.nr-visual figcaption { color: var(--nr-muted); font-size: .75rem; line-height: 1.35; }
.nr-visual .nr-credit { padding: .32rem .15rem 0; font-size: .69rem; text-align: end; }
.nr-credit a { text-decoration: none; }
.nr-credit a:hover { text-decoration: underline; }
.nr-photo > a { display: block; overflow: hidden; border-radius: 9px; }
.nr-photo img { width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; object-position: center 52%; border-radius: 9px; }
.nr-lead .nr-photo img { aspect-ratio: 1.86; transition: transform .25s ease-out; }
.nr-lead .nr-photo a:hover img { transform: scale(1.025); }

.nr-tool-card { padding: 1.15rem; min-width: 0; background: var(--nr-white); border: 1px solid var(--nr-rule); border-radius: 9px; }
.nr-tool-card h2, .nr-tool-card h3, .nr-desk-feature h3 { font: 900 clamp(1.24rem, 2.25vw, 2rem)/1.09 var(--nr-headline); letter-spacing: -.043em; text-wrap: pretty; }
.nr-tool-card h3 { font-size: clamp(1.12rem, 1.8vw, 1.65rem); }
.nr-tool-card > p, .nr-desk-feature > p { color: var(--nr-muted); font-size: .92rem; margin-top: .56rem; max-width: 65ch; }
.nr-tool-card > .nr-visual { margin-top: .85rem; }
.nr-tool-feature { background: #1b382f; color: var(--nr-white); border: 0; padding: clamp(1.15rem, 2.05vw, 1.75rem); }
.nr-tool-feature :is(.nr-kicker,a:hover) { color: var(--nr-coral); }
.nr-tool-feature :is(p,.nr-visual figcaption) { color: #e0e9df; }
.nr-tool-feature :is(a,summary):focus-visible { outline-color: var(--nr-coral); }
.nr-tool-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: .48rem .9rem; margin-top: .9rem; font-size: .82rem; font-weight: 690; }
.nr-tool-open { background: var(--nr-green); color: #fff; text-decoration: none; padding: .38rem .7rem; border-radius: 4px; }
.nr-tool-open:hover { background: var(--nr-ink); color: #fff; }
.nr-tool-feature .nr-tool-open { background: var(--nr-coral); color: #27231e; }
.nr-tool-feature .nr-tool-open:hover { background: #ffceb9; color: #27231e; }
.nr-tool-shelf { margin-block: clamp(1.7rem, 3vw, 3.05rem) 1.45rem; border-top: 3px solid var(--nr-green); }
.nr-tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.nr-tool-directory { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: .7rem; }
.nr-tool-directory a { display: block; padding: .68rem .72rem; border-block: 1px solid var(--nr-rule); font-size: .87rem; font-weight: 660; line-height: 1.35; text-decoration: none; }
.nr-tool-directory a + a { border-inline-start: 1px solid var(--nr-rule); }
.nr-tool-directory-primary { color: var(--nr-green); }
.nr-tool-directory a:hover { text-decoration: underline; }

.nr-visual-compare dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
.nr-visual-compare dl > div { background: var(--nr-fill); min-width: 0; padding: .66rem .7rem; border-radius: 5px; }
.nr-visual-compare dt { color: var(--nr-muted); font-size: .74rem; font-weight: 630; line-height: 1.29; }
.nr-visual-compare dd { font: 900 clamp(1.5rem, 2.6vw, 2.7rem)/1.08 var(--nr-headline); letter-spacing: -.045em; margin: .15rem 0 .48rem; font-variant-numeric: tabular-nums; }
.nr-visual-compare dd small { font: 600 .5em/1 system-ui; margin-left: .2rem; letter-spacing: 0; }
.nr-visual-compare i { display: block; height: 3px; border-radius: 99px; width: var(--portion); background: var(--nr-green); }
.nr-visual-compare figcaption { margin-top: .4rem; }
.nr-tool-feature .nr-visual-compare dl > div { background: #284b3e; }
.nr-tool-feature .nr-visual-compare dl > div:last-child { background: #f5d3be; color: #223c33; }
.nr-tool-feature .nr-visual-compare dt { color: inherit; }
.nr-tool-feature .nr-visual-compare i { background: var(--nr-coral); }
.nr-tool-feature .nr-visual-compare dl > div:last-child i { background: #9b452e; }
.nr-visual-money dl > div { background: #e6ede2; padding-block: .85rem; }
.nr-visual-money dl > div:last-child { background: #f6e8dc; }
.nr-visual-money dl > div:last-child i { background: var(--nr-accent); }

.nr-visual-flow { background: #eaf0e7; border-radius: 6px; padding: .82rem; }
.nr-visual-flow ol, .nr-visual-flow ul { list-style-type: none; padding: 0; }
.nr-visual-flow ol { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2fr); gap: 1rem; align-items: start; }
.nr-visual-flow ol > li { position: relative; font-size: .84rem; font-weight: 700; line-height: 1.3; }
.nr-visual-flow ol > li:first-child { background: var(--nr-green); color: white; padding: .58rem .52rem; border-radius: 4px; }
.nr-visual-flow ol > li:first-child::after { position: absolute; content: '›'; right: -.75rem; top: .44rem; color: var(--nr-green); }
.nr-visual-flow ol > li:last-child { background: var(--nr-white); border: 1px solid #b8c9bd; padding: .5rem; border-radius: 4px; }
.nr-visual-flow ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem; margin-top: .45rem; padding-top: .44rem; border-top: 1px solid #b8c9bd; }
.nr-visual-flow ul > li { background: #dcebe0; padding: .3rem .38rem; font-size: .75rem; border-radius: 3px; }
.nr-visual-flow ul > li:last-child { background: #f7e7dc; }
.nr-visual-flow figcaption { margin-top: .45rem; }
.nr-file-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; }
.nr-file-grid > div { background: #edebe3; border-radius: 5px; overflow: hidden; }
.nr-file-grid img { width: 100%; height: auto; aspect-ratio: 2.7; object-fit: cover; }
.nr-file-grid > div > a { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .3rem; padding: .33rem .48rem; font-size: .77rem; }
.nr-file-grid span { font-variant-numeric: tabular-nums; }

.nr-radar { border-top: 2px solid var(--nr-accent); }
.nr-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .62rem 0 .68rem; }
.nr-section-head h2, .nr-week h2 { font: 900 clamp(1.15rem, 2.3vw, 1.8rem)/1.12 var(--nr-headline); letter-spacing: -.045em; }
.nr-section-head span { color: var(--nr-muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.nr-radar ul, .nr-week ul, .nr-headlines { list-style: none; padding: 0; }
.nr-radar ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: .8rem; }
.nr-radar li, .nr-headlines li { min-width: 0; border-top: 1px solid var(--nr-rule); }
.nr-radar li a, .nr-headlines li a { position: relative; display: block; height: 100%; padding: .57rem 1.07rem .58rem 0; font-weight: 670; font-size: .88rem; line-height: 1.32; text-decoration: none; }
.nr-radar li time { display: block; font-weight: 500; font-size: .68rem; color: var(--nr-muted); margin-bottom: .2rem; }
.nr-radar li i, .nr-headlines li i { position: absolute; right: .03rem; top: .64rem; font-style: normal; font-size: .82em; color: var(--nr-accent); }
.nr-radar li a:hover span, .nr-headlines li a:hover span { text-decoration: underline; }

.nr-week-strip { display: flex; align-items: center; justify-content: space-between; gap: .9rem 1.3rem; border-block: 1px solid var(--nr-rule); padding: .85rem 0; }
.nr-week { display: flex; align-items: baseline; gap: .75rem 1.2rem; }
.nr-week h2 { font-size: 1.08rem; flex: none; }
.nr-week ul { display: flex; flex-wrap: wrap; gap: .44rem 1.15rem; }
.nr-week li a { font-size: .86rem; font-weight: 650; }
.nr-author { display: flex; gap: .62rem; align-items: center; width: fit-content; max-width: 100%; text-decoration: none; font-size: .77rem; line-height: 1.3; color: var(--nr-muted); }
.nr-week-strip .nr-author { flex: none; }
.nr-author img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.nr-author strong { display: block; margin-top: .14rem; font-size: .92rem; color: var(--nr-ink); }
.nr-author:hover strong { color: var(--nr-accent); }

.nr-desks { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.1rem, 3vw, 2.75rem); margin: 1.65rem 0 1.8rem; }
.nr-desk { min-width: 0; border-top: 2px solid var(--nr-green); }
.nr-news, .nr-sales { border-top-color: var(--nr-accent); }
.nr-desk-feature { padding-bottom: .9rem; }
.nr-desk-feature .nr-visual { margin-bottom: .7rem; }
.nr-desk-feature .nr-photo img { aspect-ratio: 2.4; }
.nr-desk-feature h3 { font-size: clamp(1.15rem, 2.1vw, 1.8rem); }
.nr-desk-feature .nr-visual-money dl > div { padding-block: clamp(1.04rem, 3.2vw, 2.55rem); }
.nr-resources { display: flex; gap: .6rem 1.25rem; flex-wrap: wrap; padding: .9rem 0 1.6rem; border-top: 1px solid var(--nr-rule); }
.nr-resources a, .nr-footer nav a { font-size: .85rem; font-weight: 650; }
.nr-footer { border-top: 1px solid var(--nr-rule); background: var(--nr-fill); padding: 1.2rem 0 1.5rem; }
.nr-footer .nr-container { display: grid; gap: .85rem; }
.nr-footer .nr-wordmark { font-size: 1.7rem; width: fit-content; }
.nr-footer nav { display: flex; gap: .2rem 1rem; flex-wrap: wrap; }

.nr-edition { max-width: 52rem; padding-block: 1.25rem 2.4rem; }
.nr-edition-top > a:first-child { font-size: .9rem; }
.nr-edition h1 { margin-top: .4rem; font: 900 clamp(2.7rem, 7vw, 5rem)/1 var(--nr-headline); letter-spacing: -.067em; }
.nr-edition-top > p { margin: .5rem 0 .72rem; color: var(--nr-muted); }
.nr-outline { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 1.1rem 0 1.35rem; padding: .7rem 0; border-block: 1px solid var(--nr-rule); font-size: .93rem; }
.nr-edition .nr-desk + .nr-desk { margin-top: 1.5rem; }
.nr-note { padding: .95rem .3rem 1.1rem; border-top: 1px solid var(--nr-rule); }
.nr-note:target { background: #f0e8d9; box-shadow: -.28rem 0 var(--nr-accent); padding-inline: .85rem; }
.nr-note h3 { font: 900 clamp(1.26rem, 3vw, 1.75rem)/1.16 var(--nr-headline); letter-spacing: -.032em; }
.nr-permalink { font: 650 .7em/1 system-ui; color: var(--nr-muted); text-decoration: none; }
.nr-note p { margin-top: .56rem; max-width: 70ch; }
.nr-note h4 { margin: .8rem 0 0; }
.nr-note .nr-visual { margin-top: .75rem; max-width: 43rem; }
.nr-source, .nr-source-date { display: inline-block; margin-top: .68rem; font-size: .87rem; }
.nr-source { margin-right: .65rem; color: var(--nr-accent); font-weight: 690; }
.nr-source small { font-weight: normal; color: var(--nr-muted); }
.nr-source-date { color: var(--nr-muted); }

@media (max-width: 63rem) {
  .nr-top { grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); }
  .nr-radar ul { display: block; }
  .nr-lead h1 { font-size: clamp(2rem,4.7vw,3.2rem); }
  .nr-week { display: grid; gap: .42rem; }
  .nr-tool-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nr-tool-directory a:nth-child(odd) { border-inline-start: 0; }
  .nr-tool-directory a:nth-child(n+3) { border-top: 0; }
}

@media (max-width: 43rem) {
  .nr-container { width: calc(100% - 2rem); }
  .nr-masthead { min-height: 4rem; }
  .nr-wordmark { font-size: clamp(1.48rem, 8vw, 2.55rem); }
  .nr-mast-meta { font-size: .7rem; }
  .nr-mast-meta time { display: none; }
  .daily-languages summary { padding: .39rem .48rem; }
  .nr-nav { gap: 0 .4rem; }
  .nr-nav a { min-height: 2.75rem; padding: .65rem 0; font-size: .73rem; }
  .nr-nav-archive { margin-inline-start: 0; }
  .nr-mobile-date { display: block; padding-top: .12rem; }
  .nr-issue { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto); font-size: .74rem; padding-block: .61rem .7rem; }
  .nr-issue > a { text-align: end; max-width: 13ch; }
  .nr-top, .nr-desks, .nr-tool-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .nr-lead h1 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .nr-lead .nr-photo img { aspect-ratio: 1.83; }
  .nr-lead-copy > p:last-child { font-size: .93rem; }
  .nr-week-strip { align-items: start; flex-direction: column; }
  .nr-radar li a, .nr-headlines li a { min-height: 2.75rem; }
  .nr-tool-open { min-height: 2.6rem; display: inline-flex; align-items: center; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-lead .nr-photo img { transition: none; transform: none !important; }
}

.nr-nav .nr-nav-catalog {
  display: inline-flex; align-items: center; gap: .52rem;
  min-height: 2.2rem; padding: .34rem .64rem;
  border-radius: 4px; color: var(--nr-white); background: var(--nr-green); line-height: 1.2;
}
.nr-nav .nr-nav-catalog:hover { background: var(--nr-ink); }
.nr-catalog-search-icon {
  position: relative; display: inline-block; flex: 0 0 auto;
  width: .69rem; height: .69rem; margin-inline-end: .14rem;
  border: 1.6px solid currentColor; border-radius: 50%;
}
.nr-catalog-search-icon::after {
  content: ''; position: absolute; width: .32rem; height: 1.6px;
  background: currentColor; transform: rotate(45deg);
  inset-inline-start: 100%; inset-block-start: 100%; transform-origin: top left;
}

.nr-catalog {
  --nr-catalog-gutter: clamp(.8rem,1.65vw,1.25rem);
  margin-block: clamp(.8rem,1.6vw,1.3rem) .35rem; scroll-margin-top: .45rem;
  background: var(--nr-fill); border: 1px solid #c8d4c8; border-radius: 9px;
}
.nr-catalog [hidden] { display: none !important; }
.nr-catalog-controls { padding: clamp(.8rem,1.4vw,1rem) var(--nr-catalog-gutter); }
.nr-catalog-header {
  display: grid; align-items: center; gap: .55rem clamp(1rem,3vw,3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}
.nr-catalog-header h2 {
  font: 900 clamp(1.4rem,2.4vw,2.15rem)/1.03 var(--nr-headline);
  letter-spacing: -.045em; text-wrap: pretty;
}
.nr-catalog-header label { display: block; font-size: .89rem; font-weight: 720; margin-bottom: .35rem; }
.nr-catalog-inputrow { display: flex; gap: .4rem; align-items: stretch; }
.nr-catalog-field {
  display: flex; flex: 1; align-items: center; min-width: 0;
  gap: .65rem; padding-inline-start: .8rem; color: var(--nr-green);
  background: var(--nr-white); border: 1px solid #809487; border-radius: 5px;
}
.nr-catalog-field:focus-within { outline: 2px solid var(--nr-accent); outline-offset: 2px; }
.nr-catalog-field input {
  min-width: 0; flex: 1; min-height: 2.75rem; padding: .52rem .7rem .52rem 0;
  border: 0; border-radius: inherit; background: transparent; color: var(--nr-ink);
  font: 1rem/1.25 system-ui; outline: 0;
}
.nr-catalog-field input::placeholder { color: var(--nr-muted); opacity: 1; }
.nr-catalog button { font: 700 .84rem/1.3 system-ui; cursor: pointer; }
.nr-catalog :is(button, select):focus-visible {
  outline: 2px solid var(--nr-accent); outline-offset: 3px;
}
.nr-catalog-inputrow button {
  min-height: 2.75rem; border: 0; border-radius: 5px; padding: .45rem .9rem;
  background: var(--nr-green); color: var(--nr-white);
}
.nr-catalog-inputrow button:hover { background: var(--nr-ink); }
.nr-catalog-filters { margin-top: .72rem; }
.nr-catalog-topics { display: flex; flex-wrap: wrap; gap: .35rem; }
.nr-catalog-filters button {
  min-height: 2.15rem; padding: .33rem .62rem;
  border: 1px solid #98ad9e; border-radius: 5px;
  background: var(--nr-white); color: var(--nr-green); text-align: start;
}
.nr-catalog-filters button:hover { background: #dfebde; }
.nr-catalog-filters [aria-pressed="true"], .nr-catalog-filters [aria-pressed="true"]:hover {
  color: var(--nr-white); background: var(--nr-green); border-color: var(--nr-green);
}
.nr-catalog-select-label { display: none; }
.nr-catalog-select {
  display: none; width: 100%; min-height: 2.75rem; padding: .44rem .65rem;
  font: 690 .875rem/1.25 system-ui; color: var(--nr-green);
  border: 1px solid #809487; border-radius: 5px; background: var(--nr-white);
}
.nr-catalog-shortcuts {
  display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center;
  padding-inline: var(--nr-catalog-gutter); border-top: 1px solid #c8d4c8; background: var(--nr-white);
}
.nr-catalog:has(> .nr-catalog-panel[open]) > .nr-catalog-shortcuts { display: none; }
.nr-catalog-shortcuts h3 { padding-inline-end: 1.2rem; font-size: .82rem; font-weight: 740; color: var(--nr-muted); }
.nr-catalog-shortcuts ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; list-style: none; }
.nr-catalog-shortcuts li { min-width: 0; border-inline-start: 1px solid var(--nr-rule); }
.nr-catalog-shortcuts a {
  display: flex; align-items: center; justify-content: space-between; gap: .55rem;
  height: 100%; min-height: 2.75rem; padding: .55rem .85rem;
  font-size: .89rem; font-weight: 720; line-height: 1.27; text-decoration: none;
}
.nr-catalog-shortcuts a:hover { background: var(--nr-fill); text-decoration: underline; }
.nr-catalog-shortcuts a span { color: var(--nr-accent); flex: 0 0 auto; }
.nr-catalog-shortcuts a:focus-visible { outline-offset: -3px; }

.nr-catalog-panel { border-top: 1px solid #c8d4c8; border-radius: 0 0 8px 8px; }
.nr-catalog-panel[open] { background: var(--nr-white); }
.nr-catalog-panel > summary {
  display: flex; align-items: center; justify-content: space-between; gap: .7rem;
  min-height: 2.75rem; padding: .45rem var(--nr-catalog-gutter);
  color: var(--nr-green); font-size: .88rem; font-weight: 740; cursor: pointer; list-style: none;
  border-radius: 0 0 8px 8px;
}
.nr-catalog-panel > summary::-webkit-details-marker { display: none; }
.nr-catalog-panel > summary:hover { background: #dfebde; }
.nr-catalog-panel > summary i {
  flex: 0 0 auto; width: .55rem; height: .55rem; margin-inline-end: .18rem;
  border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px);
}
.nr-catalog-panel[open] > summary i { transform: rotate(225deg) translate(-1px,-1px); }
.nr-catalog-panel:not([open]) .nr-catalog-collapse,
.nr-catalog-panel[open] .nr-catalog-browse { display: none; }
.nr-catalog-content { padding: 0 var(--nr-catalog-gutter) .9rem; }
.nr-catalog-bar {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem;
  margin-block: .85rem .6rem; font: 650 .83rem/1.35 system-ui; color: var(--nr-muted);
}
.nr-catalog-bar button, .nr-catalog-notice button {
  border: 0; padding: .25rem .1rem; color: var(--nr-green);
  background: none; text-decoration: underline; text-underline-offset: .2em;
}
.nr-catalog-grid { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .68rem; }
.nr-catalog-item { min-width: 0; }
.nr-catalog-card {
  display: flex; flex-direction: column; gap: .38rem; height: 100%; padding: .9rem .9rem .8rem;
  border: 1px solid var(--nr-rule); border-radius: 7px;
  background: var(--nr-paper);
}
.nr-catalog-card:focus-within { border-color: #7c9a8c; }
.nr-catalog-meta { display: flex; flex-wrap: wrap; column-gap: .45rem; color: var(--nr-muted); font-size: .73rem; font-weight: 670; line-height: 1.32; }
.nr-catalog-meta span + span::before { content: '·'; margin-inline-end: .45rem; }
.nr-catalog-card h3 { font: 900 clamp(1.03rem,1.5vw,1.37rem)/1.15 var(--nr-headline); letter-spacing: -.038em; text-wrap: pretty; }
.nr-catalog-card p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; color: var(--nr-muted); font-size: .86rem; line-height: 1.42;
}
.nr-catalog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; margin-top: auto; padding-top: .35rem; }
.nr-catalog-actions a { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; font-size: .83rem; font-weight: 740; }
.nr-catalog-test { padding: .35rem .68rem; background: var(--nr-green); color: var(--nr-white); border-radius: 4px; text-decoration: none; }
.nr-catalog-test:hover { background: var(--nr-ink); color: var(--nr-white); }
.nr-catalog-guide { color: var(--nr-green); }
.nr-catalog-pages { display: flex; justify-content: center; }
.nr-catalog-pages button {
  margin-block-start: .8rem; min-height: 2.65rem; padding: .42rem .78rem;
  border-radius: 5px; border: 1px solid #8fa597; background: var(--nr-white); color: var(--nr-green);
}
.nr-catalog-pages button:hover { background: var(--nr-fill); }
.nr-catalog-notice { padding: .85rem; background: var(--nr-fill); border-radius: 5px; margin-block: .55rem; }

@media (max-width: 56rem) {
  .nr-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 43rem) {
  .nr-catalog-header { grid-template-columns: minmax(0,1fr); gap: .65rem; }
  .nr-catalog-topics { display: none; }
  .nr-catalog-select { display: block; }
  .nr-catalog-filters {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); align-items: center;
    gap: .45rem; margin-top: .5rem;
  }
  .nr-catalog-select-label { display: block; font-size: .79rem; font-weight: 700; line-height: 1.2; }
  .nr-catalog-select { font-size: .81rem; }
  .nr-catalog-shortcuts { grid-template-columns: minmax(0,1fr); }
  .nr-catalog-shortcuts h3 { padding: .57rem 0 .28rem; }
  .nr-catalog-shortcuts ul { margin-block-end: .35rem; }
  .nr-catalog-shortcuts li:first-child { border-inline-start: 0; }
  .nr-catalog-shortcuts a {
    display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: 1fr auto; justify-items: start;
    gap: .12rem; padding: .22rem .52rem .33rem; font-size: .79rem; line-height: 1.25;
  }
  .nr-catalog-shortcuts li:first-child a { padding-inline-start: 0; }
}

@media (max-width: 38rem) {
  .nr-nav .nr-nav-catalog { min-height: 2rem; padding: .26rem .43rem; }
  .nr-catalog-grid { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .nr-catalog-inputrow button { padding-inline: .68rem; }
}
