/* Shared look for the first write-up's interactive snippets: variation B, "On the pink" (picked 16 October 2026).
   Soft pink ground, no panels, hairlines only where something needs separating, one berry accent. Tokens match
   design/home/d1-margin-notes.html. */
:root{
  --ground:#fcf0f2; --ink:#2a1f24; --soft:#6a5660; --rule:#e6cfd6; --berry:#b0244f; --wafer:#f2b6c6; --wafer-deep:#e48fa6;
  --serif:"Source Serif 4",Georgia,serif; --sans:"Source Sans 3",system-ui,sans-serif; --mono:"IBM Plex Mono",ui-monospace,Consolas,monospace;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --ground:#1f171b; --ink:#f6ecef; --soft:#c4adb6; --rule:#43333a; --berry:#f28bab; --wafer:#a8566d; --wafer-deep:#c9738b; color-scheme:dark}}
:root[data-theme="dark"]{
  --ground:#1f171b; --ink:#f6ecef; --soft:#c4adb6; --rule:#43333a; --berry:#f28bab; --wafer:#a8566d; --wafer-deep:#c9738b; color-scheme:dark}
*{box-sizing:border-box}
html{overflow:hidden}
body{overflow-x:clip}
body{margin:0;background:var(--ground);color:var(--ink);font:400 17px/1.55 var(--sans);padding:12px max(16px,env(safe-area-inset-right,0px)) 12px max(16px,env(safe-area-inset-left,0px))}
.snip{max-width:44rem;margin:0 auto;display:flex;flex-direction:column;gap:10px}
h1{font:600 20px/1.3 var(--serif);margin:0;text-wrap:balance}
p{margin:0}
.label{font:400 13px/1.4 var(--mono);color:var(--soft)}
.readout{font:400 13px/1.4 var(--mono);color:var(--soft);min-height:2.8em}
.scroll{overflow-x:auto}
svg{display:block;max-width:100%;height:auto;overflow:visible}
svg text{font-family:var(--sans)}
[data-tip]{cursor:pointer}
[data-tip]:focus-visible{outline:2px solid var(--berry);outline-offset:2px}
.src{border-top:1px solid var(--rule);padding-top:8px}
@media (prefers-reduced-motion: reduce){*{animation:none!important;transition:none!important}}
