/* Resource catalogue: shared site palette, with calculators given first priority. */
.resource-library { max-width:1000px; margin:auto; }
body:has(.resource-library) h1.title { margin-bottom:20px; }
.resource-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 30px; }
.resource-nav a { padding:7px 15px; border:1px solid var(--line); border-radius:20px; color:var(--muted); text-decoration:none; font-size:12px; }
.resource-nav a:hover { background:#e6ebe1; color:var(--ink); }
.resource-section { margin-bottom:60px; scroll-margin-top:10px; }
.resource-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:12px 24px; border-bottom:1px solid var(--line); padding-bottom:15px; margin:0 0 22px; }
.resource-heading h2 { font-size:32px; letter-spacing:-.6px; margin:0 !important; }
.resource-heading>span { color:var(--muted); font-size:12px; }
.resource-library .resource-label { font:600 10px/1.6 Arial,sans-serif; letter-spacing:1.6px; margin:0 0 14px; color:#64725c; }
.resource-library h3 { font-size:25px; line-height:1.3; margin:0 0 16px !important; padding:0 !important; letter-spacing:-.3px; }
.resource-library article p:not(.resource-label) { font-size:14px; line-height:1.8; }
.toolbox-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.toolbox-card { display:flex; flex-direction:column; padding:30px; border:1px solid #bdc9b5; border-radius:12px; }
.toolbox-species { background:var(--ink); color:#e0e8df; border-color:var(--ink); }
.toolbox-ecology { background:#e9edde; color:var(--ink); }
.toolbox-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.toolbox-top .resource-label { margin:0; }
.toolbox-species .resource-label { color:#ccd9bb; }
.toolbox-species h3 { color:var(--white); }
.toolbox-icon { width:56px; height:56px; flex-shrink:0; }
.toolbox-card h3 { max-width:340px; font-size:30px; }
.toolbox-card>p { margin-bottom:26px; }
.toolbox-action { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; border-radius:5px; margin-top:auto; font-size:13px; font-weight:600; text-decoration:none; }
.toolbox-species .toolbox-action { background:#edf0e3; color:var(--ink); }
.toolbox-ecology .toolbox-action { background:var(--ink); color:var(--white); }
.toolbox-action:hover { text-decoration:underline; text-underline-offset:4px; }
.toolbox-species a:focus-visible { outline-color:#e0c697; }
.package-card { display:grid; grid-template-columns:72px minmax(0,1fr); gap:26px; background:var(--white); padding:30px; border:1px solid var(--line); border-radius:10px; }
.package-monogram { display:grid; place-items:center; width:72px; height:80px; background:#edf0e7; border:1px solid var(--line); border-radius:12px; font:italic 42px Georgia,serif; color:var(--ink); }
.package-copy>p:not(.resource-label) { color:var(--muted); }
.resource-link { font-size:13px; font-weight:600; }
.dataset-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.dataset-card { display:flex; flex-direction:column; min-width:0; background:var(--white); padding:28px; border:1px solid var(--line); border-radius:10px; }
.dataset-card>p:not(.resource-label) { color:var(--muted); }
.resource-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:10px; margin-top:auto; }
.resource-actions a { padding:8px 12px; border:1px solid var(--line); border-radius:5px; font-size:12px; color:var(--ink); text-decoration:none; }
.resource-actions a:hover { border-color:#899b83; background:#f0f3ea; }
.dataset-wide { grid-column:1/-1; }
.dataset-comparisons { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:8px; }
.dataset-comparisons a { display:flex; flex-direction:column; padding:18px; border:1px solid var(--line); border-radius:6px; text-decoration:none; background:var(--paper); font-size:12px; }
.dataset-comparisons strong { display:block; color:var(--ink); font-size:14px; margin-bottom:8px; }
.dataset-comparisons span { color:var(--muted); }
.dataset-comparisons .comparison-action { color:var(--ink); margin-top:auto; padding-top:15px; text-decoration:underline; text-underline-offset:3px; }
.dataset-comparisons a:hover { border-color:#899b83; }
.hardware-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; padding:30px; border:1px solid var(--line); border-radius:10px; background:#eeefe8; }
.hardware-card p:not(.resource-label) { color:var(--muted); }
.hardware-components { margin:0; }
.hardware-components>div { border-bottom:1px solid var(--line); padding:0 0 12px; margin-bottom:12px; }
.hardware-components>div:last-child { margin-bottom:0; border:0; padding-bottom:0; }
.hardware-components dt { font-size:12px; color:var(--ink); }
.hardware-components dd { font-size:12px; color:var(--muted); line-height:1.7; margin-top:4px; }
@media(max-width:767px) {
 .resource-nav { gap:7px; }
 .resource-nav a { padding:6px 12px; }
 .toolbox-grid,.dataset-grid,.dataset-comparisons,.hardware-card { grid-template-columns:minmax(0,1fr); }
 .toolbox-card,.dataset-card,.hardware-card { padding:22px; }
 .toolbox-card h3 { font-size:28px; }
 .resource-heading { gap:6px; flex-direction:column; }
 .resource-heading h2 { font-size:29px; }
 .resource-section { margin-bottom:44px; }
 .package-card { grid-template-columns:minmax(0,1fr); padding:22px; gap:20px; }
 .package-monogram { width:54px; height:58px; font-size:32px; }
 .hardware-card { gap:28px; }
}
@media print { .resource-nav { display:none; } .toolbox-card,.dataset-card,.package-card,.hardware-card { break-inside:avoid; } .toolbox-species { background:white; color:var(--ink); } .toolbox-species h3,.toolbox-species .resource-label { color:var(--ink); } }
