
@font-face{font-family:TheoryBeforewordPen;src:url('/assets/music-pen-20261105/BeforewordBallpoint-Regular.woff2') format('woff2');font-display:swap;font-weight:400;font-style:normal}
.native-theory,.bw-reading[data-book="a-theory-remains-writing"]{--theory-ink:#263f85;--theory-hair:#77796b;--theory-muted:#575a50}
html[data-theme=dark] .native-theory,html[data-theme=dark] .bw-reading[data-book="a-theory-remains-writing"]{--theory-ink:#acc8ff;--theory-hair:#a09f91;--theory-muted:#cdcabc}
.bw-reading .nr-chapter .theory-pen,.native-theory .theory-pen{font:400 clamp(1.45em,3.15vw,1.86em)/1.29 TheoryBeforewordPen,Golos,sans-serif;letter-spacing:0;color:var(--theory-ink);max-width:29ch;background:transparent;text-align:start;white-space:normal;word-break:normal;hyphens:manual;margin:1.2em 0 .35em}
.bw-reading .nr-chapter .theory-question,.native-theory .theory-question{font-size:clamp(1.75em,3.7vw,2.27em);max-width:23ch;line-height:1.19;font-weight:400}
.native-theory h2.theory-question{margin-top:0;margin-bottom:.8rem;letter-spacing:0;text-wrap:balance}
.bw-reading .nr-chapter p.theory-pen{text-wrap:balance}
.bw-reading .nr-chapter .theory-name-list{display:grid;row-gap:.43em;margin:1.05em auto 1.3em;max-width:100%;font-size:clamp(1em,5vw,1.65em)}
.theory-name-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.08em .48em}
.bw-reading .nr-chapter .theory-math,.native-theory .theory-math{margin:1.06em 0 1.35em;color:var(--theory-ink);background:transparent;text-align:start}
.bw-reading .nr-chapter .theory-math math,.native-theory .theory-math math{display:block;width:max-content;max-width:100%;font-family:math;font-size:1.75em;line-height:normal;margin:0;color:inherit}
.bw-reading .nr-theory .nr-src-reader-section > div > .theory-math{margin:1.45em auto 1.6em}
.bw-reading .nr-theory .nr-src-reader-section > div > .theory-math math{margin-inline:auto;font-size:clamp(1.85em,4vw,2.25em)}
@media (max-width:24rem){.bw-reading .nr-theory .nr-src-reader-section > div > .theory-math math{font-size:1.7em}}
.theory-math math :is(mi,mn,mo){font-family:math;font-weight:400;font-style:normal;font-synthesis:none;text-transform:none}
.bw-reading .nr-chapter .theory-notation{grid-column:1/-1;color:var(--ink,#24241f);margin:.1em 0 0}
.bw-reading .nr-chapter .theory-notation summary{color:var(--theory-ink);font:500 .91em/1.4 Golos,Arial,sans-serif;cursor:pointer;text-underline-offset:.21em;text-decoration:underline;min-height:1.9em;width:fit-content}
.bw-reading .nr-chapter .theory-notation .theory-math{margin:.65em 0 .9em}
.bw-reading .nr-chapter .theory-notation p{font-size:.95em;line-height:1.48;max-width:45ch}
html[data-theme=dark] .bw-reading .nr-chapter .theory-notation{color:var(--ink,#eeeadd)}
.bw-reading .nr-chapter figure.theory-mark{
  width:100%;max-width:none;margin:clamp(1rem,3svh,2rem) auto .48rem;
  color:var(--theory-ink);font-size:clamp(8rem,min(48vw,35svh),15rem);
  font-weight:400;line-height:1.08;text-align:center;letter-spacing:0;user-select:text;
}
.bw-reading .nr-chapter figure.theory-clock{
  display:block;width:min(84%,clamp(10.75rem,min(71vw,66svh),22rem));
  margin:clamp(1rem,3svh,2rem) auto .72rem;color:var(--theory-ink);
}
.bw-reading .nr-chapter .theory-clock svg{width:100%;height:auto;display:block;fill:currentColor}
.bw-reading .nr-chapter .theory-closeup{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.1em 1.35em;width:min(100%,34em);margin:1.45em auto .75em;color:var(--theory-ink)}
.theory-stage{min-width:0;display:grid;justify-items:center;align-content:end}
.theory-stage .theory-stage-label{text-align:center;text-wrap:balance}
.theory-stage:first-of-type{grid-column:1/-1}
.bw-reading .nr-chapter .theory-stage .theory-stage-label{color:var(--theory-muted);font:500 .86em/1.35 Golos,Arial,sans-serif;letter-spacing:0;margin:.15em 0 .45em}
.bw-reading .nr-chapter .theory-stage svg{display:block;width:100%;height:auto;max-height:9em;fill:currentColor;color:var(--theory-ink)}
.bw-reading .nr-chapter .theory-stage .theory-original{max-width:28em;max-height:none}
.bw-reading .nr-chapter .theory-stage .theory-tile{width:auto;height:min(41vw,clamp(7.6rem,20vw,10rem));max-height:none;max-width:100%;color:var(--theory-ink);outline:1px solid var(--theory-hair);outline-offset:1px;margin:.24em auto 0}
.theory-selection{stroke:var(--theory-hair);stroke-width:1.1;fill:none;vector-effect:non-scaling-stroke}
.bw-reading .nr-chapter .theory-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:.34em .45em;width:min(100%,32em);margin:1.4em auto}
.bw-reading .nr-chapter .theory-photos img{display:block;width:100%;height:auto;object-fit:contain;background:none;min-width:0;max-height:none}
.theory-photos img:first-child{grid-row:1/3}
.theory-offscreen{position:absolute!important;width:1px!important;height:1px!important;clip:rect(0,0,0,0)!important;overflow:hidden!important;white-space:nowrap!important}
@media(max-width:25rem){.bw-reading .nr-chapter .theory-closeup{column-gap:1em}.bw-reading .nr-chapter .theory-stage .theory-stage-label{font-size:.8em}.bw-reading .nr-chapter .theory-photos{gap:.28em}}
@media(forced-colors:active){.theory-selection{stroke:CanvasText}.theory-pen,.theory-math,.theory-mark,.theory-clock,.theory-closeup,.theory-letters{color:CanvasText!important}}
[data-pen="time"]{--pen-mask:url('/assets/bw-native-books/pen-study-time-file-fc3a1b501926.webp');--pen-aspect:1437 / 359;--reading-mask:url('/assets/bw-native-books/pen-study-time-reading-0a14a2ccd705.webp');--sel-x:44.373326%;--sel-y:33.763000%;--sel-w:4.781531%;--sel-h:39.437789%}
[data-pen="gravity"]{--pen-mask:url('/assets/bw-native-books/pen-study-gravity-file-3ab8a404d596.webp');--pen-aspect:1020 / 390;--reading-mask:url('/assets/bw-native-books/pen-study-gravity-reading-a3dad0fc5f83.webp')}
[data-pen="letter"]{--pen-mask:url('/assets/bw-native-books/pen-study-letter-file-8ae092d40df9.webp');--pen-aspect:545 / 1123;--sel-x:26.972477%;--sel-y:47.551202%;--sel-w:21.651376%;--sel-h:10.507569%}
[data-pen="stroke"]{--pen-mask:url('/assets/bw-native-books/pen-study-stroke-file-95b7edad5456.webp');--pen-aspect:118 / 118}
[data-pen="mark"]{--pen-mask:url('/assets/bw-native-books/pen-study-mark-file-aeef9f848e4a.webp');--pen-aspect:349 / 1047}
:is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate {
  position:relative;box-sizing:border-box;text-align:center;width:min(100%,28rem);
  max-width:100%;margin:1.5em auto .55em;padding:0;
}
:is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate[data-pen="gravity"] {width:min(100%,24rem)}
:is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate math {margin-inline:auto}
.theory-ink-layer,.theory-mark-ink,.theory-copy-line {display:none}
.theory-window {
  display:block;position:relative;box-sizing:border-box;aspect-ratio:var(--pen-aspect);
  color:var(--theory-ink);background:none;
}
.theory-window::before,.theory-ink-layer,.theory-mark-ink {pointer-events:none}
.theory-window::before {position:absolute;inset:0;content:""}
.theory-window:is([data-pen="time"],[data-pen="letter"])::after {
  box-sizing:border-box;position:absolute;content:"";left:var(--sel-x);top:var(--sel-y);
  width:var(--sel-w);height:var(--sel-h);border:1px solid var(--theory-hair);
}
.bw-reading .nr-chapter .theory-closeup {row-gap:1.4em}
.bw-reading .nr-chapter .theory-stage .theory-window.theory-original {width:100%;max-width:29rem;min-width:0}
.bw-reading .nr-chapter .theory-stage .theory-window.theory-tile {
  height:min(36vw,10.5rem);width:auto;min-width:0;max-width:100%;margin:.5em auto 0;
}
.bw-reading .nr-chapter .ink-viewer .theory-stage .theory-window.theory-original {max-width:none}
.bw-reading .nr-chapter .ink-viewer .theory-stage .theory-window.theory-tile {
  height:min(calc(34vw * var(--ink-viewer-scale,1)),11em);
}
:is(.bw-reading .nr-chapter,.native-theory) .ink-viewer .ink-viewer-art > figure.theory-equation-plate {
  width:100%;max-width:none;margin:auto;
}
.bw-reading .nr-chapter .theory-notation .theory-equation-plate {width:min(100%,24em);margin:1em auto}
@supports ((mask-image:url("")) or (-webkit-mask-image:url(""))) {
  .theory-ink-layer {display:block;aspect-ratio:var(--pen-aspect);width:100%;color:var(--theory-ink)}
  /* Native MathML exposes fractions and powers. The selectable transcript uses
     explicit fraction bars and radicals that ordinary plain-text paste preserves. */
  :is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate math {
    position:absolute;inset:0;z-index:1;box-sizing:border-box;margin:auto;
    display:block;width:max-content;max-width:100%;height:fit-content;color:transparent;
    pointer-events:none;-webkit-user-select:none;user-select:none;
  }
  .theory-copy-line {
    position:absolute;inset:0;z-index:2;display:flex;align-items:center;justify-content:center;
    color:transparent;font:500 1em/1.35 Golos,system-ui,sans-serif;letter-spacing:normal;text-align:center;
    -webkit-user-select:all;user-select:all;cursor:text;
  }
  .theory-copy-line::selection {color:HighlightText;background:Highlight}
  .bw-reading .nr-chapter figure.theory-mark {
    position:relative;line-height:1;user-select:all;
  }
  .theory-mark-ink {display:block;height:1em;aspect-ratio:var(--pen-aspect);margin:auto;color:var(--theory-ink)}
  .theory-mark-text {position:absolute;inset:0;color:transparent}
  .theory-mark-text::selection {color:HighlightText;background:Highlight}
}
@media(forced-colors:active) {
  .theory-window,.theory-ink-layer,.theory-mark-ink {forced-color-adjust:none;color:CanvasText}
  .theory-window {--theory-hair:CanvasText}
}
@media print {
  .theory-window,.theory-ink-layer,.theory-mark-ink {-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* Preserve the individual blue tones inside the pen line; only high contrast
   needs the alpha silhouette tinted with the reader's system colour. */
.theory-window::before,.theory-ink-layer,.theory-mark-ink {
  -webkit-mask:none;mask:none;
  background:var(--pen-mask) center/100% 100% no-repeat;
}
.theory-ink-layer,.theory-window[data-pen="time"]::before {
  background-image:var(--reading-mask,var(--pen-mask));
}
.ink-viewer .theory-ink-layer,.ink-viewer .theory-window[data-pen="time"]::before {
  background-image:var(--pen-mask);
}
html:is([data-theme="dark"],[data-appearance="dark"]) :is(.theory-ink-layer,.theory-mark-ink),
html:is([data-theme="dark"],[data-appearance="dark"]) .theory-window::before {
  filter:grayscale(1) invert(1) sepia(.3) saturate(2.8) hue-rotate(183deg);
}
html:not(.writing-time-visible) [data-pen="time"]>.theory-ink-layer,
html:not(.writing-gravity-visible) [data-pen="gravity"]>.theory-ink-layer,
html:not(.writing-mark-visible) .theory-mark-ink {visibility:hidden}
html:not(.writing-time-visible) :is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate[data-pen="time"] math,
html:not(.writing-gravity-visible) :is(.bw-reading .nr-chapter,.native-theory) .theory-equation-plate[data-pen="gravity"] math,
html:not(.writing-mark-visible) :is(.bw-reading .nr-chapter,.native-theory) .theory-mark-text {color:var(--theory-ink)}
@media(forced-colors:active){
 .theory-window::before,.theory-ink-layer,.theory-mark-ink {background:CanvasText;
   -webkit-mask:var(--pen-mask) center/100% 100% no-repeat;mask:var(--pen-mask) center/100% 100% no-repeat;filter:none!important}
}
