/* ═══════════════════════════════════════════
   CF RESOURCES — chadworks brand
   Spec-sheet typography. Book shell layout.
   Integrated under Avada theme — all rules scoped
   under .cfr-shell so neither side bleeds.
   ═══════════════════════════════════════════ */

.cfr-shell, .cfr-shell *, .cfr-shell *::before, .cfr-shell *::after {
  box-sizing: border-box;
}

.cfr-shell {
  /* chadworks palette — pulled from Avada fusion_options on chadworks.co */
  --cfr-bg:           #ffffff;

  /* Greys (Avada: Light Grey / Grey / Dark Slate Grey + header border) */
  --cfr-grey-50:      #fafafa;     /* hover surface */
  --cfr-grey-100:     #f5f4f4;     /* Light Grey — section bg */
  --cfr-grey-200:     #e5e5e5;     /* border grey */
  --cfr-grey-500:     #747474;     /* Grey — muted text */
  --cfr-grey-900:     #333333;     /* Dark Slate Grey — body text */

  /* Purples (Avada palette ladder, light to deepest) */
  --cfr-purple-50:    #ede7f6;     /* Lightest Purple */
  --cfr-purple-100:   #ede8f7;     /* sub-menu bg */
  --cfr-purple-200:   #dcd2f2;     /* menu hover bg */
  --cfr-purple-300:   #e5d2f4;     /* Light Purple */
  --cfr-purple-400:   #a88cd1;     /* mid purple */
  --cfr-purple-500:   #8054bc;     /* Vibrant Purple — accent */
  --cfr-purple-600:   #6629bc;     /* menu hover deep */
  --cfr-purple-700:   #361e9c;     /* deep purple — sticky header */
  --cfr-purple-900:   #3f2041;     /* darkest purple */
  --cfr-purple-tint:  rgba(128, 84, 188, 0.14);  /* Semi Transparent Purple */

  /* Blues — primary brand anchor */
  --cfr-primary:      #243989;     /* deep brand blue */
  --cfr-primary-soft: #5668ad;     /* lighter blue */

  /* Semantic aliases (point at palette tokens above) */
  --cfr-bg-alt:       var(--cfr-grey-100);
  --cfr-text:         var(--cfr-grey-900);
  --cfr-text-muted:   var(--cfr-grey-500);
  --cfr-rule:         var(--cfr-grey-200);
  --cfr-rule-strong:  var(--cfr-purple-400);
  --cfr-accent:       var(--cfr-purple-500);
  --cfr-accent-deep:  var(--cfr-purple-700);

  --cfr-tree-bg:          var(--cfr-purple-100);
  --cfr-tree-active:      var(--cfr-primary);
  --cfr-tree-active-text: #ffffff;

  --cfr-code-bg:      var(--cfr-purple-900);     /* deep purple instead of dark blue */
  --cfr-code-text:    #f3eefa;
  --cfr-code-comment: var(--cfr-purple-400);
  --cfr-code-keyword: var(--cfr-purple-300);

  /* Sticky offset — leaves room for the chadworks Avada sticky header.
     Override per-page via inline style if the header height shifts. */
  --cfr-tree-top: 100px;
  --cfr-tree-w:   280px;
  --cfr-max-prose: 72ch;
  --cfr-radius:    10px;

  --cfr-ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --cfr-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts — chadworks brand system */
  --cfr-font-display: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cfr-font-body:    'Noto Serif', Georgia, 'Times New Roman', serif;
  --cfr-font-sans:    'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --cfr-font-mono:    'JetBrains Mono', ui-monospace, Consolas, 'Liberation Mono', monospace;

  font-family: var(--cfr-font-body);
  color: var(--cfr-text);
  background: var(--cfr-bg);
  line-height: 1.7;
  font-size: 16px;
}

/* Reset typographic margins inside the shell — Avada sets various inherited
   margins; we set our own. */
.cfr-shell h1, .cfr-shell h2, .cfr-shell h3, .cfr-shell h4, .cfr-shell h5, .cfr-shell h6,
.cfr-shell p, .cfr-shell ul, .cfr-shell ol, .cfr-shell li, .cfr-shell pre, .cfr-shell figure {
  margin: 0;
  padding: 0;
}

.cfr-shell a {
  color: inherit;
  text-decoration-color: var(--cfr-rule-strong);
  text-underline-offset: 0.18em;
}
.cfr-shell a:hover {
  text-decoration-color: var(--cfr-text);
}


/* ═══ SHELL — left tree + right pane ═══ */

.cfr-shell .resources-shell {
  display: grid;
  grid-template-columns: var(--cfr-tree-w) 1fr;
  min-height: 70vh;
}

@media (max-width: 1023px) {
  .cfr-shell .resources-shell { grid-template-columns: 1fr; }
}


/* ─── Left tree ─── */
.cfr-shell .resources-tree {
  background: var(--cfr-tree-bg);
  border-right: 1px solid var(--cfr-rule);
  border-radius: var(--cfr-radius) 0 0 var(--cfr-radius);
  position: sticky;
  top: var(--cfr-tree-top);
  align-self: start;
  max-height: calc(100vh - var(--cfr-tree-top) - 1rem);
  overflow-y: auto;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1023px) {
  .cfr-shell .resources-tree {
    position: relative;
    top: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--cfr-rule);
    border-radius: var(--cfr-radius) var(--cfr-radius) 0 0;
    margin-bottom: 1rem;
  }
}

.cfr-shell .resources-tree__label {
  font-family: var(--cfr-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cfr-text-muted);
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
}

.cfr-shell .resources-tree__root {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cfr-shell .resources-tree__group { padding: 0.25rem 0; }

.cfr-shell .resources-tree__group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0.4rem 1.5rem;
  font: inherit;
  font-family: var(--cfr-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  text-align: left;
  color: var(--cfr-text);
  cursor: pointer;
}
.cfr-shell .resources-tree__group-toggle:hover { background: var(--cfr-purple-100); }

.cfr-shell .resources-tree__group-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--cfr-ease-smooth);
  opacity: 0.5;
  flex: none;
}

.cfr-shell .resources-tree__group[data-open="false"] .resources-tree__group-toggle svg {
  transform: rotate(-90deg);
}

.cfr-shell .resources-tree__items {
  list-style: none;
  padding: 0.15rem 0 0.5rem;
  border-left: 1px solid var(--cfr-rule);
  margin: 0 0 0 1.5rem;
}

.cfr-shell .resources-tree__group[data-open="false"] .resources-tree__items { display: none; }

.cfr-shell .resources-tree__items a {
  display: block;
  padding: 0.32rem 0.85rem 0.32rem 0.85rem;
  font-family: var(--cfr-font-sans);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--cfr-text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -1px;
}

.cfr-shell .resources-tree__items a:hover {
  color: var(--cfr-text);
  border-left-color: var(--cfr-rule-strong);
}

.cfr-shell .resources-tree__items a[aria-current="page"] {
  color: var(--cfr-primary);
  border-left-color: var(--cfr-primary);
  font-weight: 600;
}

.cfr-shell .resources-tree__items a[data-pending] {
  color: var(--cfr-text-muted);
  opacity: 0.55;
  cursor: not-allowed;
}
.cfr-shell .resources-tree__items a[data-pending]::after {
  content: 'soon';
  font-family: var(--cfr-font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cfr-text-muted);
  margin-left: 0.5em;
  padding: 0.06em 0.4em;
  border: 1px solid var(--cfr-rule);
  border-radius: 3px;
  vertical-align: 1px;
}
.cfr-shell .resources-tree__items a[data-pending]:hover {
  color: var(--cfr-text-muted);
  border-left-color: transparent;
  background: none;
}

.cfr-shell .resources-tree__signature {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--cfr-rule);
  font-family: var(--cfr-font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
}
.cfr-shell .resources-tree__signature a {
  font-family: var(--cfr-font-display);
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 0.15rem;
  color: var(--cfr-primary);
}
.cfr-shell .resources-tree__signature span {
  display: block;
  color: var(--cfr-text-muted);
  font-size: 0.78rem;
}


/* ─── Right pane (the page) ─── */
.cfr-shell .resources-page {
  padding: 2.5rem clamp(1.25rem, 3vw, 3rem) 4rem;
  max-width: calc(var(--cfr-max-prose) + 8rem);
}

.cfr-shell .resources-breadcrumb {
  font-family: var(--cfr-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--cfr-text-muted);
  margin-bottom: 1.75rem;
}
.cfr-shell .resources-breadcrumb a { text-decoration: none; }
.cfr-shell .resources-breadcrumb a:hover { color: var(--cfr-primary); }
.cfr-shell .resources-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }

.cfr-shell .resources-page__h1 {
  font-family: var(--cfr-font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 28ch;
  color: var(--cfr-text);
}

.cfr-shell .resources-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-family: var(--cfr-font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cfr-text-muted);
  padding: 0.85rem 0;
  border-top: 1px solid var(--cfr-rule);
  border-bottom: 1px solid var(--cfr-rule);
  margin-bottom: 2.5rem;
}
.cfr-shell .resources-page__meta code {
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--cfr-text);
  background: transparent;
  border: 0;
  padding: 0;
}


/* ─── Direct Answer Block ─── */
.cfr-shell .resources-page__answer {
  margin-bottom: 3rem;
  padding: 1.4rem 1.5rem;
  background: var(--cfr-purple-tint);
  border-left: 3px solid var(--cfr-purple-700);
  border-radius: 0 var(--cfr-radius) var(--cfr-radius) 0;
}
.cfr-shell .resources-page__answer p {
  font-family: var(--cfr-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  max-width: var(--cfr-max-prose);
  color: var(--cfr-text);
}
.cfr-shell .resources-page__answer__label {
  display: block;
  font-family: var(--cfr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cfr-text-muted);
  margin-bottom: 0.5rem;
}


/* ─── Section heading style (h2) ─── */
.cfr-shell .resources-page h2 {
  font-family: var(--cfr-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cfr-rule);
  scroll-margin-top: calc(var(--cfr-tree-top) + 1rem);
  color: var(--cfr-text);
}
.cfr-shell .resources-page h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }

.cfr-shell .resources-page h3 {
  font-family: var(--cfr-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
  color: var(--cfr-text);
}

.cfr-shell .resources-page h4 {
  font-family: var(--cfr-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cfr-text-muted);
  margin: 1.5rem 0 0.6rem;
}

.cfr-shell .resources-page p,
.cfr-shell .resources-page li {
  max-width: var(--cfr-max-prose);
}

.cfr-shell .resources-page p { margin-bottom: 1rem; }

.cfr-shell .resources-page ul,
.cfr-shell .resources-page ol {
  margin: 0.5rem 0 1.25rem 1.4rem;
  padding: 0;
}
.cfr-shell .resources-page li { margin-bottom: 0.4rem; }


/* ─── The Spec block (centerpiece) ─── */
.cfr-shell .resources-spec {
  margin: 2.5rem 0 3rem;
  border: 1px solid var(--cfr-rule-strong);
  border-radius: var(--cfr-radius);
  background: var(--cfr-bg);
  overflow: hidden;
}

.cfr-shell .resources-spec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  background: var(--cfr-purple-100);
  border-bottom: 1px solid var(--cfr-purple-300);
}

.cfr-shell .resources-spec__title {
  font-family: var(--cfr-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--cfr-text);
  margin: 0;
  padding: 0;
  border: 0;
}

.cfr-shell .resources-spec__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--cfr-primary);
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-family: var(--cfr-font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.cfr-shell .resources-spec__copy:hover { background: var(--cfr-accent-deep); }
.cfr-shell .resources-spec__copy:active { transform: scale(0.98); }
.cfr-shell .resources-spec__copy svg { width: 14px; height: 14px; }
.cfr-shell .resources-spec__copy.is-copied { background: var(--cfr-accent); }
.cfr-shell .resources-spec__copy.is-copied .resources-spec__copy-label::before { content: 'Copied'; }
.cfr-shell .resources-spec__copy-label::before { content: 'Copy spec'; }

.cfr-shell .resources-spec__body { padding: 1.5rem clamp(1.25rem, 2.5vw, 2rem) 2rem; }
.cfr-shell .resources-spec__body > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }


/* ─── Code blocks + inline code ─── */
.cfr-shell .resources-page pre {
  background: var(--cfr-code-bg);
  color: var(--cfr-code-text);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  font-family: var(--cfr-font-mono);
  font-size: 0.84rem;
  line-height: 1.55;
}
.cfr-shell .resources-page pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border: 0;
}

.cfr-shell .resources-page code {
  font-family: var(--cfr-font-mono);
  font-size: 0.88em;
  background: var(--cfr-bg-alt);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--cfr-rule);
  color: var(--cfr-text);
}


/* ─── Tables ─── */
.cfr-shell .resources-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.94rem;
  font-family: var(--cfr-font-sans);
}
.cfr-shell .resources-page th,
.cfr-shell .resources-page td {
  padding: 0.55rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--cfr-rule);
  vertical-align: top;
}
.cfr-shell .resources-page th {
  font-family: var(--cfr-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cfr-text-muted);
  background: var(--cfr-bg-alt);
}


/* ─── Conditions block (when this works / when it doesn't) ─── */
.cfr-shell .resources-conditions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}
.cfr-shell .resources-conditions h3 { margin-top: 0; }
.cfr-shell .resources-conditions__col {
  padding: 1.2rem 1.4rem;
  border-radius: var(--cfr-radius);
  border: 1px solid var(--cfr-rule);
}
.cfr-shell .resources-conditions__works {
  background: var(--cfr-grey-50);
  border-color: var(--cfr-grey-200);
}
.cfr-shell .resources-conditions__nope {
  background: var(--cfr-purple-50);
  border-color: var(--cfr-purple-300);
}
@media (max-width: 720px) {
  .cfr-shell .resources-conditions { grid-template-columns: 1fr; }
}


/* ─── Outcome block ─── */
.cfr-shell .resources-outcome {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.cfr-shell .resources-outcome__card {
  padding: 1rem 1.15rem;
  border: 1px solid var(--cfr-purple-300);
  border-radius: var(--cfr-radius);
  background: var(--cfr-purple-100);
}
.cfr-shell .resources-outcome__label {
  font-family: var(--cfr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cfr-text-muted);
  display: block;
  margin-bottom: 0.4rem;
}
.cfr-shell .resources-outcome__value {
  font-family: var(--cfr-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cfr-text);
  letter-spacing: -0.01em;
}


/* ─── Related entries ─── */
.cfr-shell .resources-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}
.cfr-shell .resources-related a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--cfr-purple-300);
  border-radius: var(--cfr-radius);
  text-decoration: none;
  background: var(--cfr-bg);
  transition: border-color 0.15s, background 0.15s;
}
.cfr-shell .resources-related a:hover {
  border-color: var(--cfr-purple-500);
  background: var(--cfr-purple-100);
}
.cfr-shell .resources-related a[data-pending] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cfr-shell .resources-related a[data-pending]:hover {
  border-color: var(--cfr-purple-300);
  background: var(--cfr-bg);
}
.cfr-shell .resources-related__cat {
  font-family: var(--cfr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cfr-text-muted);
  display: block;
  margin-bottom: 0.3rem;
}
.cfr-shell .resources-related__title {
  font-family: var(--cfr-font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--cfr-text);
  letter-spacing: -0.01em;
}


/* ─── Disclaimer (above signature) ─── */
.cfr-shell .resources-disclaimer {
  margin-top: 4rem;
  padding: 0.9rem 1.1rem;
  background: var(--cfr-purple-100);
  border: 1px solid var(--cfr-purple-300);
  border-radius: var(--cfr-radius);
  font-family: var(--cfr-font-mono);
  font-size: 0.74rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--cfr-text-muted);
  max-width: var(--cfr-max-prose);
}


/* ─── Page footer signature ─── */
.cfr-shell .resources-signature {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cfr-rule);
  font-family: var(--cfr-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--cfr-text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.cfr-shell .resources-signature a {
  font-family: var(--cfr-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--cfr-primary);
  text-decoration: none;
}
.cfr-shell .resources-signature a:hover { text-decoration: underline; }


/* ─── TOC index grid ─── */
.cfr-shell .resources-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 2.5rem;
  list-style: none;
  padding: 0;
}
.cfr-shell .resources-index-grid a {
  display: block;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--cfr-purple-300);
  border-radius: var(--cfr-radius);
  text-decoration: none;
  background: var(--cfr-bg);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cfr-shell .resources-index-grid a:hover {
  border-color: var(--cfr-purple-500);
  background: var(--cfr-purple-100);
  box-shadow: 0 2px 12px rgba(128, 84, 188, 0.12);
}
.cfr-shell .resources-index-grid a[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}
.cfr-shell .resources-index-grid a[aria-disabled="true"]:hover {
  border-color: var(--cfr-purple-300);
  background: var(--cfr-bg);
  box-shadow: none;
}
.cfr-shell .resources-index-cat {
  font-family: var(--cfr-font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cfr-text-muted);
  display: block;
  margin-bottom: 0.4rem;
}
.cfr-shell .resources-index-cat[data-pending]::after { content: ' · soon'; }
.cfr-shell .resources-index-title {
  font-family: var(--cfr-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cfr-text);
}
.cfr-shell .resources-index-desc {
  font-family: var(--cfr-font-body);
  font-size: 0.92rem;
  color: var(--cfr-text-muted);
  line-height: 1.55;
}

.cfr-shell .resources-cat-section { margin-bottom: 2.5rem; }
.cfr-shell .resources-cat-section h2 { padding-top: 0; border-top: 0; margin-top: 0; }


/* ─── Avada interference patches ─── */
/* Avada applies global heading rules via fusion-styles. We boost specificity. */
.cfr-shell .resources-page h1.resources-page__h1 {
  font-family: var(--cfr-font-display) !important;
  line-height: 1.15 !important;
}
.cfr-shell .resources-spec__head h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* ─── Print: clean spec sheet ─── */
@media print {
  .cfr-shell .resources-tree,
  .cfr-shell .resources-spec__copy { display: none; }
  .cfr-shell .resources-shell { display: block; }
  .cfr-shell .resources-page { padding: 0; max-width: none; }
  .cfr-shell .resources-spec { border: 1px solid #000; }
  .cfr-shell pre { border: 1px solid #888; }
}
