/*rr-house-style*/@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-400i-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Source Serif 4';font-style:italic;font-weight:600;font-display:swap;src:url(/assets/books/fonts/SourceSerif4-600i-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:200;font-display:swap;src:url(/assets/books/fonts/Inter-200-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:200;font-display:swap;src:url(/assets/books/fonts/Inter-200-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:200;font-display:swap;src:url(/assets/books/fonts/Inter-200-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/books/fonts/Inter-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/books/fonts/Inter-300-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(/assets/books/fonts/Inter-300-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/Inter-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/Inter-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/Inter-400-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/books/fonts/Inter-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/books/fonts/Inter-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/books/fonts/Inter-500-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/Inter-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/Inter-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/books/fonts/Inter-600-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/JetBrainsMono-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/JetBrainsMono-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/books/fonts/JetBrainsMono-400-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}

/* ==========================================================================
   Unified book design: every book follows the Calculus from First Principles
   typography and landing layout, on a pure white page.
   Generated into /assets/books/books.css by pipeline/book_design/apply.py.
   ========================================================================== */
:root {
  --rrm-ink: #1f2430; --rrm-ink2: #4a505c; --rrm-muted: #7a808c; --rrm-rule: #e3e5ea;
  --rrm-paper: #ffffff; --rrm-blue: #316499; --rrm-teal: #1d737e;
  --rrm-serif: "Source Serif 4", "Source Serif Pro", "Noto Serif Myanmar", "Noto Sans Myanmar", Georgia, serif;
  --rrm-sans: "Inter", "Helvetica Neue", Arial, "Noto Sans Myanmar", sans-serif;
  --rrm-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  /* Common token names used by the individual editions: keep every page on white. */
  --paper: #ffffff; --bg: #ffffff; --background: #ffffff; --page: #ffffff; --page-bg: #ffffff;
  --cream: #ffffff; --sepia: #ffffff; --surface-page: #ffffff;
  --serif: var(--rrm-serif); --sans: var(--rrm-sans); --mono: var(--rrm-mono);
}

/* ---------------------------------------------------------------- page */
html.rrm-book, html.rrm-book body { background: #ffffff !important; background-image: none !important; }
html.rrm-book body { box-shadow: none !important; }
/* Full-width tinted page panels become white; callout boxes keep their tints. */
html.rrm-book :is(.toc-shell, .contents-page, .reader-shell, .page-shell) { background: #ffffff !important; }
html.rrm-book body { color: var(--rrm-ink); font-family: var(--rrm-serif) !important;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-kerning: normal; }

/* Reading text: Source Serif 4, as in Calculus. */
html.rrm-book :is(p, li, dd, dt, blockquote, td, figcaption, .lead, .intro, .sub, .subtitle, .zen-lead, .tp-sub) {
  font-family: var(--rrm-serif) !important; }
html.rrm-book :is(main, article, .reader, .content, .prose, .chapter, section) :is(p, li, dd) {
  line-height: 1.6; }
/* Titles: Source Serif 4 semibold. */
html.rrm-book :is(h1, h2, .title, .ch-title, .part-title) {
  font-family: var(--rrm-serif) !important; font-weight: 600 !important; letter-spacing: -0.005em !important;
  color: var(--rrm-ink); }
html.rrm-book h4 { font-family: var(--rrm-serif) !important; }
/* Interface, labels and small headings: Inter, as in Calculus. */
html.rrm-book :is(h3, h5, h6, nav, nav *, button, input, select, label, th, .eyebrow, .kicker, .label,
  .caption, .crumb, .toc, .toc *, .sidebar, .sidebar *, aside, aside *, .topbar, .topbar *, .meta, .facts, .facts *,
  .button, .btn, .badge, .tag, .chip, .site-header, .site-header *, .reader-tools, .reader-tools *, header.top, header.top *) {
  font-family: var(--rrm-sans) !important; }
html.rrm-book aside :is(p, li) { font-family: var(--rrm-sans) !important; }
/* Code: JetBrains Mono. */
html.rrm-book :is(code, pre, kbd, samp, tt, pre *, code *, .listing, .listing *, .output, .output *) {
  font-family: var(--rrm-mono) !important; }
/* Mathematics keeps its own fonts. */
html.rrm-book a { text-underline-offset: 2px; }

/* -------------------------------------------------------- landing (Calculus) */
/* The landing sits above any fixed reading rail and spans the full viewport width. */
.rrm-top { position: relative; z-index: 2147483000; background: #fff; box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax); }
.rrm-nav { display: flex; flex-wrap: wrap; gap: .4em 1.4em; max-width: 52rem; margin: 0 auto; padding: 1.1em 1.2rem;
  font-family: var(--rrm-sans) !important; font-size: .82rem; letter-spacing: .02em; border-bottom: 1px solid var(--rrm-rule);
  background: #fff; position: relative; z-index: 60; box-sizing: border-box; }
.rrm-nav a { color: var(--rrm-blue) !important; text-decoration: none; font-family: var(--rrm-sans) !important; }
.rrm-nav a:hover { text-decoration: underline; }
.rrm-landing { display: flex; gap: 2.6rem; align-items: flex-start; max-width: 52rem; margin: 0 auto;
  padding: 3.5rem 1.2rem 2.5rem; box-sizing: border-box; background: #fff; color: var(--rrm-ink);
  font-family: var(--rrm-serif) !important; font-size: 16.5px; line-height: 1.55; position: relative; z-index: 60;
  text-align: left; }
.rrm-landing * { box-sizing: border-box; }
.rrm-landing .rrm-text { flex: 1; min-width: 0; }
.rrm-landing .rrm-kicker { font-family: var(--rrm-sans) !important; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rrm-teal); font-weight: 600; margin: 0 0 .6em; }
.rrm-landing h1.rrm-title { font-family: var(--rrm-serif) !important; font-weight: 600 !important; font-size: 2.45em !important;
  line-height: 1.08 !important; margin: 0 0 .3em !important; color: var(--rrm-ink) !important; letter-spacing: -0.01em !important;
  text-transform: none !important; padding: 0 !important; border: 0 !important; background: none !important; }
.rrm-landing .rrm-sub { font-family: var(--rrm-serif) !important; font-style: italic; color: var(--rrm-ink2); font-size: 1.12em;
  margin: 0 0 1em; line-height: 1.4; }
.rrm-landing .rrm-au { font-family: var(--rrm-sans) !important; letter-spacing: .16em; text-transform: uppercase;
  font-size: .75em; color: var(--rrm-blue); font-weight: 500; margin: 0 0 1.6em; }
.rrm-landing p.rrm-desc { font-family: var(--rrm-serif) !important; margin: 0 0 .7em; text-align: left; hyphens: auto;
  font-size: 1em; line-height: 1.6; color: var(--rrm-ink); max-width: none; }
.rrm-landing .rrm-links { display: flex; flex-wrap: wrap; gap: .6em; margin: 1.6em 0 .5em; }
.rrm-landing .rrm-links a { font-family: var(--rrm-sans) !important; font-size: .85rem; padding: .55em 1em;
  border: 1px solid var(--rrm-blue); border-radius: 3px; color: var(--rrm-blue) !important; background: #fff;
  text-decoration: none; line-height: 1.3; }
.rrm-landing .rrm-links a.primary { background: var(--rrm-blue); color: #fff !important; }
.rrm-landing .rrm-links a:hover { opacity: .85; }
.rrm-landing img.rrm-cover { width: 16rem; max-width: 40%; height: auto; flex: none; border-radius: 3px;
  box-shadow: 0 10px 30px rgba(20,35,50,.20), 0 2px 6px rgba(20,35,50,.10); border: 0; margin: 0; display: block; }
.rrm-after { max-width: 52rem; margin: 0 auto; border: 0; border-top: 1px solid var(--rrm-rule); height: 0; }
@media (max-width: 700px) {
  .rrm-landing { flex-direction: column-reverse; padding-top: 1.6rem; gap: 1.6rem; }
  .rrm-landing img.rrm-cover { max-width: 62%; width: 62%; }
  .rrm-landing h1.rrm-title { font-size: 2.05em !important; }
}
@media print { .rrm-nav, .rrm-landing, .rrm-after { display: none !important; } }

/* Probability reference: white reading surfaces, serif titles, navy jackets. */
html.rrm-shelf {scroll-behavior:smooth}
html.rrm-shelf body{margin:0;background:#fff;color:#1f2430}
.rrm-library{max-width:1180px;margin:auto;padding:0 32px 80px}
.rrm-library *{box-sizing:border-box}
.rrm-library-hero{padding:72px 0 42px;border-bottom:1px solid #e3e5ea}
.rrm-library .rrm-kicker{font-family:var(--rrm-sans)!important;font-size:11px;font-weight:600;letter-spacing:.18em;color:#1d737e;margin:0 0 16px}
.rrm-library-hero h1{font-size:clamp(38px,5.7vw,68px)!important;line-height:1.06;margin:0 0 24px;letter-spacing:-.035em!important;font-weight:600}
.rrm-library-hero h1 em{font-weight:400;color:#316499}
.rrm-library-hero>p{max-width:670px;font-size:19px;line-height:1.65;margin:0 0 28px;color:#4a505c}
.rrm-library-meta{font:12px var(--rrm-sans);display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:#545c69}
.rrm-library-meta span{color:#b4bac3}
.rrm-subjects{display:flex;gap:8px;flex-wrap:wrap;padding:27px 0 16px}
.rrm-subjects a{font:12px var(--rrm-sans)!important;border:1px solid #cfdbe7;padding:10px 14px;border-radius:4px;text-decoration:none;color:#22456a;background:#fff;min-height:40px;display:flex;align-items:center;gap:9px}
.rrm-subjects a span{opacity:.65;font-size:10px}
.rrm-subjects a[aria-current=true],.rrm-subjects a:hover{background:#122237;color:#fff;border-color:#122237}
.rrm-library-search{max-width:550px;margin:10px 0 0}
.rrm-library-search label{font:12px var(--rrm-sans);display:block;margin-bottom:8px;color:#4a505c}
.rrm-library-search>div{display:flex;gap:8px}
.rrm-library-search input{font:15px var(--rrm-sans);flex:1;min-width:0;padding:13px 14px;border:1px solid #cfdbe7;border-radius:4px;background:#fff;color:#1f2430}
.rrm-library-search button{font:12px var(--rrm-sans);padding:0 16px;background:#fff;color:#22456a;border:1px solid #cfdbe7;border-radius:4px;cursor:pointer}
#book-status{font:12px var(--rrm-sans)!important;color:#626d7b;margin:14px 0 0}
.rrm-subject-shelf{margin-top:46px;scroll-margin-top:90px}
.rrm-subject-shelf>header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-bottom:1px solid #cfdbe7;padding-bottom:22px;margin-bottom:28px}
.rrm-subject-shelf>header .rrm-kicker{margin-bottom:8px}
.rrm-subject-shelf h2{font-size:30px;margin:0 0 8px;line-height:1.2}
.rrm-subject-shelf>header p:not(.rrm-kicker){font-size:16px;color:#5d6674;margin:0}
.rrm-explore{font:12px var(--rrm-sans)!important;color:#316499;text-decoration:none;max-width:225px;line-height:1.5;flex-shrink:0}
.rrm-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px}
.rrm-book-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:0;box-shadow:none}
.rrm-card-cover{height:275px;display:flex;align-items:center;justify-content:center;background:#eef2f7;border:1px solid #eef2f7;border-radius:4px;padding:20px;text-decoration:none;overflow:hidden}
.rrm-card-cover img{height:100%;max-width:100%;width:auto;object-fit:contain;box-shadow:0 8px 18px #18293b22;border-radius:2px;transition:transform .18s ease}
.rrm-card-cover:hover img{transform:translateY(-3px)}
.rrm-card-text{display:flex;flex-direction:column;flex:1;padding:20px 0 0}
html.rrm-shelf .rrm-card-text h3{font:600 23px/1.2 var(--rrm-serif)!important;margin:0 0 9px;letter-spacing:-.015em}
.rrm-card-text h3 a{color:#1f2430;text-decoration:none}
.rrm-card-text h3 a:hover{color:#316499}
.rrm-card-text .rrm-card-subtitle{font-style:italic;color:#4a505c;margin:0 0 9px;font-size:15px}
.rrm-card-text>p{font-size:15px;line-height:1.6;color:#626a77;margin:0 0 18px}
.rrm-card-read{font:12px var(--rrm-sans)!important;color:#316499;text-decoration:none;margin-top:auto;padding:8px 0;display:flex;justify-content:space-between;border-top:1px solid #e3e5ea}
.rrm-card-read span{font-size:17px}
.rrm-library-foot{margin-top:64px;border-top:1px solid #cfdbe7;padding:30px 0}
.rrm-library-foot h2{font-size:27px;margin:0 0 12px}
.rrm-library-foot p{max-width:660px;color:#5d6674;line-height:1.6}
.rrm-library-foot a{font:13px var(--rrm-sans);color:#316499;margin-right:24px;display:inline-block;padding:8px 0}
.rrm-library [hidden]{display:none!important}
#book-empty{padding:40px 0;color:#626a77}
.rrm-legacy-anchor{display:block;scroll-margin-top:100px}
.rrm-library a:focus-visible,.rrm-library button:focus-visible,.rrm-library input:focus-visible{outline:3px solid #1d737e;outline-offset:4px}
/* Five older editions did not include a navy artwork file. Their jackets are typeset HTML. */
.rrm-cover-type{width:16rem;max-width:40%;aspect-ratio:932/1323;flex:none;display:flex;flex-direction:column;position:relative;overflow:hidden;padding:23px 21px;background:#101d30;color:#eef2f7;box-shadow:0 10px 30px #18314c33;border-radius:3px;text-align:left;font-family:var(--rrm-serif);isolation:isolate}
.rrm-cover-type:after{content:"";position:absolute;width:180%;aspect-ratio:1;left:-40%;top:25%;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 18px,#50c7d724 19px 20px,transparent 21px 37px);z-index:-1;transform:scaleY(.58) rotate(-22deg)}
.rrm-cover-series{font:7px/1.4 var(--rrm-sans);letter-spacing:.22em;color:#50c7d7}
.rrm-cover-type strong{font:600 25px/1.1 var(--rrm-serif);margin:23px 0 12px;color:#eef3fa}
.rrm-cover-lines{flex:1;min-height:15px}
.rrm-cover-subtitle{font:italic 11px/1.4 var(--rrm-serif);color:#cfdbe7}
.rrm-cover-author{font:7px/1.5 var(--rrm-sans);letter-spacing:.12em;text-transform:uppercase;border-top:1px solid #2c5a8a;padding-top:11px;margin-top:16px;color:#cfdbe7}
.rrm-card-cover .rrm-cover-type{height:100%;width:auto;max-width:100%;padding:16px 14px;box-shadow:0 8px 18px #18293b22}
.rrm-card-cover .rrm-cover-type strong{font-size:19px;margin-top:17px}
.rrm-card-cover .rrm-cover-subtitle{font-size:9px}
.rrm-card-cover .rrm-cover-series,.rrm-card-cover .rrm-cover-author{font-size:5.5px}
@media(max-width:920px){.rrm-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rrm-subject-shelf>header{align-items:flex-start;flex-direction:column;gap:10px}.rrm-explore{max-width:none}}
@media(max-width:600px){.rrm-library{padding:0 20px 50px}.rrm-library-hero{padding-top:40px}.rrm-library-hero>p{font-size:17px}.rrm-library-meta{font-size:10px;gap:8px}.rrm-book-grid{grid-template-columns:1fr;gap:30px}.rrm-card-cover{height:300px}.rrm-subjects{gap:6px}.rrm-subjects a{font-size:11px!important;padding:10px}.rrm-subject-shelf h2{font-size:27px}.rrm-subject-shelf{margin-top:34px}}
@media(max-width:700px){.rrm-landing .rrm-cover-type{max-width:62%;width:62%}}
@media(prefers-reduced-motion:reduce){html.rrm-shelf{scroll-behavior:auto}.rrm-card-cover img{transition:none}}
@media print{.rrm-library-search,.rrm-subjects,#book-status{display:none!important}.rrm-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rrm-book-card{break-inside:avoid}.rrm-cover-type{print-color-adjust:exact}}

/* Part openers use the same white reading surface as Probability; teaching callouts retain their tints. */
html.rrm-book .part-hero{background:#fff!important;background-image:none!important;color:var(--rrm-ink)!important;border-bottom:1px solid var(--rrm-rule)}
html.rrm-book .part-hero :is(h1,h2){color:var(--rrm-ink)!important}
html.rrm-book .part-hero p{color:var(--rrm-ink2)!important}
html.rrm-book .part-hero .eyebrow{color:var(--rrm-teal)!important}
html.rrm-book .part-hero .chips a{color:var(--rrm-blue)!important;border-color:var(--rrm-rule)!important;background:#fff!important}
