/*
Theme Name: Magic Reading Room
Description: A reading room for Bob Wallace’s magic notebook.
Version: 0.4.3
Text Domain: magic-reading-room
*/

#magic-home {font-family:Arial,sans-serif;color-scheme:light;--paper:#f4f0e7;--ink:#262b29;--soft:#696c61;--line:#d5d2c5;--accent:#8c302c;--panel:#e9e6da;--inverse:#243d35;--on-inverse:#f1eee4}
#magic-home *{box-sizing:border-box}#magic-home [hidden]{display:none!important}#magic-home .mh-page{background:var(--paper);color:var(--ink);padding:0 44px;min-height:1240px}#magic-home a{color:inherit;text-decoration:none}#magic-home a:hover{text-decoration:underline;text-underline-offset:5px}#magic-home button,#magic-home input{font:inherit}#magic-home button{cursor:inherit}#magic-home .mh-top{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding:27px 0;flex-wrap:wrap}#magic-home .mh-brand{font:24px Georgia,serif;letter-spacing:-.7px}#magic-home .mh-brand span{color:var(--accent);margin-right:9px}#magic-home .mh-nav{display:flex;align-items:center;gap:24px;font-size:12px}#magic-home .mh-nav a:last-child{border-left:1px solid var(--line);padding-left:23px}#magic-home .mh-eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--accent);font-weight:600}#magic-home .mh-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;padding:66px 0 56px;align-items:center}#magic-home h1{font:56px/1.04 Georgia,serif;letter-spacing:-2px;margin:20px 0 23px;max-width:530px}#magic-home h1 em{font-weight:normal;color:var(--accent)}#magic-home .mh-intro{font:16px/1.75 Georgia,serif;color:var(--soft);max-width:390px}#magic-home .mh-actions{display:flex;gap:22px;align-items:center;margin-top:28px;font-size:12px}#magic-home .mh-primary{background:var(--inverse);color:var(--on-inverse);padding:14px 19px;border:0;display:inline-block}#magic-home .mh-illustration{height:280px;display:flex;justify-content:center;align-items:center;position:relative}#magic-home .mh-orbit{position:absolute;width:245px;height:245px;border:1px solid var(--line);border-radius:50%}#magic-home .mh-orbit:after{content:'';position:absolute;inset:16px;border:1px dotted var(--line);border-radius:50%}#magic-home .mh-playing{position:absolute;width:127px;height:184px;background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 16px 24px #00000012;font:23px Georgia,serif;display:flex;flex-direction:column;padding:12px;gap:0}#magic-home .mh-playing i{font-style:normal;font-size:62px;align-self:center;margin-top:17px}#magic-home .mh-back{transform:translate(-50px,10px) rotate(-20deg);background:repeating-linear-gradient(45deg,var(--panel),var(--panel) 3px,var(--line) 3px,var(--line) 4px);border:9px solid var(--paper);outline:1px solid var(--line)}#magic-home .mh-front{transform:translate(35px,-2px) rotate(11deg)}#magic-home .mh-illustration small{position:absolute;bottom:-13px;font:italic 12px Georgia,serif;color:var(--soft)}#magic-home .mh-divider{display:flex;gap:20px;align-items:center;color:var(--soft);font-size:10px;letter-spacing:2px;text-transform:uppercase}#magic-home .mh-divider:after{content:'';height:1px;background:var(--line);flex:1}#magic-home .mh-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:28px 0 42px}#magic-home .mh-paths article+article{border-left:1px solid var(--line);padding-left:30px}#magic-home .mh-number{font:italic 14px Georgia,serif;color:var(--accent)}#magic-home h2{font:30px/1.2 Georgia,serif;letter-spacing:-.5px;margin:0}#magic-home h3{font:23px/1.25 Georgia,serif;margin:12px 0}#magic-home .mh-paths p{font-size:12px;line-height:1.8;color:var(--soft);margin-bottom:16px}#magic-home .mh-textlink{font-size:11px;color:var(--accent)}#magic-home .mh-content{display:grid;grid-template-columns:1.6fr 1fr;gap:42px;border-top:1px solid var(--line);padding:33px 0 42px}#magic-home .mh-sectionhead{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:21px}#magic-home .mh-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px}#magic-home .mh-filters button{border:1px solid var(--line);background:transparent;color:var(--soft);font-size:10px;padding:7px 10px;border-radius:20px}#magic-home .mh-filters button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}#magic-home .mh-article{padding:16px 0;border-top:1px solid var(--line)}#magic-home .mh-article .mh-eyebrow{font-size:9px;letter-spacing:1.3px}#magic-home .mh-article h3{font-size:20px;margin:7px 0}#magic-home .mh-article p{font:13px/1.6 Georgia,serif;color:var(--soft);margin:7px 0 0}#magic-home .mh-library{background:var(--panel);padding:26px;align-self:start}#magic-home .mh-library h2{font-size:26px;margin:11px 0 18px}#magic-home .mh-book{display:flex;align-items:center;gap:15px;padding:14px 0;border-top:1px solid var(--line)}#magic-home .mh-spine{width:34px;min-width:34px;height:49px;background:var(--inverse);color:var(--on-inverse);display:grid;place-items:center;font:19px Georgia,serif;border-left:3px double currentColor}#magic-home .mh-book b{display:block;font:15px/1.3 Georgia,serif;font-weight:400}#magic-home .mh-book small{font-size:10px;color:var(--soft);display:block;margin-top:5px}#magic-home .mh-about{display:flex;align-items:center;gap:35px;padding:27px 0;border-top:1px solid var(--line)}#magic-home .mh-monogram{font:34px Georgia,serif;border:1px solid var(--line);border-radius:50%;width:65px;height:65px;min-width:65px;display:grid;place-items:center;color:var(--accent)}#magic-home .mh-about h3{font-size:20px;margin:0 0 8px}#magic-home .mh-about p{font:13px/1.7 Georgia,serif;color:var(--soft);margin:0;max-width:530px}#magic-home .mh-footer{border-top:1px solid var(--line);padding:21px 0;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--soft)}#magic-home .mh-desk .mh-hero{grid-template-columns:1fr;padding:35px 0 26px}#magic-home .mh-desk .mh-illustration{display:none}#magic-home .mh-desk h1{font-size:44px;max-width:700px;margin:14px 0}#magic-home .mh-desk h1 br{display:none}#magic-home .mh-desk .mh-intro{max-width:650px}#magic-home .mh-desk .mh-content{grid-template-columns:1fr 1.45fr;gap:35px}#magic-home .mh-desk .mh-library{grid-column:1;grid-row:1}#magic-home .mh-desk .mh-notes{grid-column:2;grid-row:1}#magic-home .mh-desk .mh-paths{padding:24px 0 32px}#magic-home .mh-desk .mh-page{min-height:1240px}
@media(max-width:650px){#magic-home .mh-page{padding:0 22px;min-height:1850px}#magic-home .mh-nav{gap:16px;flex-wrap:wrap}#magic-home .mh-top{padding:22px 0;gap:17px}#magic-home .mh-hero{grid-template-columns:1fr;padding:38px 0}#magic-home h1{font-size:44px}#magic-home .mh-illustration{height:240px;margin-top:16px}#magic-home .mh-paths{gap:18px;grid-template-columns:1fr}#magic-home .mh-paths article+article{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}#magic-home .mh-paths h3{margin:6px 0}#magic-home .mh-paths p{margin:6px 0 10px}#magic-home .mh-content,#magic-home .mh-desk .mh-content{grid-template-columns:1fr;gap:25px}#magic-home .mh-desk .mh-library,#magic-home .mh-desk .mh-notes{grid-column:auto;grid-row:auto}#magic-home .mh-desk .mh-page{min-height:1850px}#magic-home .mh-about{gap:18px;align-items:start}#magic-home .mh-footer{flex-wrap:wrap}#magic-home .mh-desk h1{font-size:39px}}

#magic-home .mh-page{min-height:0}#magic-home .mh-top{gap:18px}#magic-home .mh-nav{flex-wrap:wrap}#magic-home .mh-nav a:last-child{border-left:0;padding-left:0}#magic-home .mh-notice{padding:10px 20px;background:var(--inverse);color:var(--on-inverse);font-size:12px;text-align:center}#magic-home .mh-reading{max-width:700px;margin:auto;padding:52px 0 65px}#magic-home .mh-reading h1{font-size:46px;max-width:none}#magic-home .mh-reading .mh-prose{font:18px/1.8 Georgia,serif;overflow-wrap:anywhere}#magic-home .mh-prose h2{font-size:29px;margin:36px 0 14px}#magic-home .mh-prose h3{margin-top:28px}#magic-home .mh-prose a{color:var(--accent);text-decoration:underline}#magic-home .mh-prose img,#magic-home .mh-prose iframe{max-width:100%;height:auto}#magic-home .mh-prose figure{margin:24px 0}#magic-home .mh-prose table{border-collapse:collapse;width:100%;font-size:15px}#magic-home .mh-prose td{border:1px solid var(--line);padding:8px}#magic-home .mh-prose li{margin:9px 0}#magic-home .mh-prose .wp-block-separator{border:0;border-top:1px solid var(--line);margin:32px 0}#magic-home .mh-backlink{font-size:12px;color:var(--accent)}#magic-home .mh-search{display:flex;gap:8px;margin-bottom:30px}#magic-home .mh-search input{min-width:0;flex:1;border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:12px;font-size:16px}#magic-home .mh-search button{font-size:12px}#magic-home .mh-postnav{border-top:1px solid var(--line);margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:20px;font-size:13px}#magic-home .mh-library-page{margin-top:30px}#magic-home .mh-library-page .mh-book{padding:22px 0}#magic-home .mh-library-page .mh-book b{font-size:23px}#magic-home a:focus-visible,#magic-home button:focus-visible,#magic-home input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}#magic-home .mh-skip{position:absolute;left:-10000px}#magic-home .mh-skip:focus{left:20px;top:15px;z-index:10;background:var(--paper);padding:12px}#magic-home .mh-filters a{border:1px solid var(--line);padding:7px 10px;border-radius:20px;font-size:11px;color:var(--soft)}#magic-home .mh-filters a[aria-current=page]{background:var(--ink);color:var(--paper)}body{margin:0;background:#f4f0e7}#magic-home{max-width:1160px;margin:auto}#magic-home button{cursor:pointer}#magic-home .mh-prose .wp-block-list{padding-left:25px}@media(max-width:650px){#magic-home .mh-page{min-height:0}#magic-home .mh-reading{padding:32px 0}#magic-home .mh-reading h1{font-size:36px}#magic-home .mh-reading .mh-prose{font-size:17px}#magic-home .mh-hero h1{font-size:43px}#magic-home .mh-brand{font-size:23px}}

#magic-home .mh-member-nav{color:var(--accent)}#magic-home .mh-hero{padding-bottom:40px}#magic-home .mh-faro-feature{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;background:var(--panel);padding:38px;margin-bottom:0}#magic-home .mh-public-badge{display:inline-block;font-size:11px;letter-spacing:.4px;color:var(--on-inverse);background:var(--inverse);padding:7px 11px}#magic-home .mh-faro-feature h2{font-size:38px;margin:20px 0 15px}#magic-home .mh-faro-feature p{font:15px/1.75 Georgia,serif;color:var(--soft);max-width:390px}#magic-home .mh-faro-feature .mh-primary{font-size:12px;margin-top:7px}#magic-home .mh-faro-feature small{display:block;font-size:10px;color:var(--soft);margin-top:12px}#magic-home .mh-faro-diagram{align-self:center;text-align:center}#magic-home .mh-faro-packets{display:flex;justify-content:center;gap:27px}#magic-home .mh-faro-packets>div{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}#magic-home .mh-faro-packets small{grid-column:1/-1}#magic-home .mh-faro-diagram span{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:3px;width:29px;height:48px;display:inline-grid;place-items:center;font:19px Georgia,serif}#magic-home .mh-faro-packets>div:nth-child(2) span,#magic-home .mh-faro-woven span:nth-child(even){color:var(--accent)}#magic-home .mh-faro-arrow{font:26px Georgia,serif;margin:16px 0}#magic-home .mh-faro-woven{display:flex;justify-content:center;gap:4px}#magic-home .mh-faro-diagram p{font-size:12px;margin:15px auto 0}#magic-home .mh-access-overview{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:25px 0 32px}#magic-home .mh-access-overview p{font-size:12px;line-height:1.8;color:var(--soft);margin:8px 0 0}#magic-home .mh-access-overview a{color:var(--accent);text-decoration:underline}#magic-home .mh-access-gate{padding:27px;background:var(--panel);margin:24px 0}#magic-home .mh-access-gate h2{margin:12px 0;font-size:29px}#magic-home .mh-access-gate p{font:16px/1.7 Georgia,serif}#magic-home .mh-access-gate .mh-actions{font-family:Arial,sans-serif}#magic-home .mh-access-gate .mh-gate-foot{font:12px/1.7 Arial,sans-serif;margin-top:24px;color:var(--soft)}#magic-home .mh-access-label{font-size:11px;text-transform:uppercase;letter-spacing:1.4px;color:var(--accent);margin:0 0 20px}#magic-home .mh-member-page{padding:48px 0;max-width:920px;margin:auto}#magic-home .mh-member-page h1{font-size:48px;max-width:none}#magic-home .mh-member-page>.mh-intro{max-width:600px}#magic-home .mh-preview-note{background:var(--panel);padding:14px 18px;font-size:12px;line-height:1.7;margin:24px 0;color:var(--soft)}#magic-home .mh-preview-note a{text-decoration:underline;color:var(--accent)}#magic-home .mh-member-columns{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin:36px 0}#magic-home .mh-member-columns h2{margin:10px 0 22px}#magic-home .mh-member-columns label{display:block;font-size:12px;margin:18px 0 8px}#magic-home .mh-member-columns input:not([type=checkbox]):not([type=hidden]):not([type=submit]),#magic-home .mh-member-columns textarea{width:100%;min-width:0;background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:12px;font:16px/1.5 Arial,sans-serif;border-radius:0}#magic-home .mh-member-columns input[type=submit]{background:var(--inverse);color:var(--on-inverse);border:0;font:12px Arial,sans-serif;padding:14px 20px;cursor:pointer}#magic-home .mh-member-columns .login-remember label{display:flex;align-items:center;gap:7px}#magic-home .mh-member-columns small{display:block;color:var(--soft);font-size:11px;line-height:1.6;margin:7px 0}#magic-home .mh-request-form button{margin-top:24px;font-size:12px}#magic-home .mh-small{font:12px/1.8 Arial,sans-serif;color:var(--soft)}#magic-home .mh-small a{color:var(--accent);text-decoration:underline}#magic-home .mh-form-message{padding:13px 15px;border-left:3px solid var(--accent);background:var(--panel);font:13px/1.7 Arial,sans-serif}#magic-home .mh-honey{display:none}#magic-home .mh-public-reminder{padding:30px;background:var(--panel);margin-top:40px}#magic-home .mh-public-reminder h2{margin:12px 0}#magic-home .mh-public-reminder p{font:15px/1.7 Georgia,serif;color:var(--soft)}#magic-home .mh-public-reminder a{font-size:12px}#magic-home #request-access{scroll-margin-top:24px}@media(max-width:650px){#magic-home .mh-faro-feature{grid-template-columns:1fr;padding:25px;gap:24px}#magic-home .mh-faro-feature h2{font-size:33px}#magic-home .mh-access-overview,#magic-home .mh-member-columns{grid-template-columns:1fr;gap:26px}#magic-home .mh-member-page h1{font-size:39px}#magic-home .mh-member-columns{margin-top:28px}#magic-home .mh-faro-diagram{padding:5px 0 12px}#magic-home .mh-access-gate{padding:21px}#magic-home .mh-access-gate .mh-actions{align-items:start;flex-direction:column;gap:18px}#magic-home .mh-faro-feature .mh-primary{line-height:1.6}}

/* Filled link buttons retain contrast inside article prose. */
#magic-home .mh-prose a.mh-primary,#magic-home .mh-prose a.mh-primary:hover,#magic-home .mh-prose a.mh-primary:focus-visible{color:var(--on-inverse);background:var(--inverse);text-decoration:none}

/* Book pages use a dedicated reading column; no widget sidebars. */
#magic-home .mh-book-reading{max-width:700px;margin:0 auto;padding:48px 0 64px}#magic-home .mh-book-reading h1{font-size:46px;max-width:none;margin:25px 0 28px}#magic-home .mh-book-title{margin:30px 0 38px}#magic-home .mh-book-title h1{margin:16px 0}#magic-home .mh-book-byline{font:17px Georgia,serif;color:var(--soft);margin-bottom:24px}#magic-home .mh-book-reading .mh-prose{font:18px/1.85 Georgia,serif;overflow-wrap:anywhere}#magic-home .mh-book-reading .mh-prose p{margin:0 0 25px}#magic-home .mh-book-reading .mh-prose img{display:block;max-width:100%;height:auto;margin:auto}#magic-home .mh-book-prose figure{background:var(--panel);padding:28px;margin:32px 0}#magic-home .mh-book-prose figcaption{font:12px/1.7 Arial,sans-serif;color:var(--soft);text-align:center;margin-top:17px}#magic-home .mh-book-kicker{display:flex;justify-content:space-between;gap:20px;margin:24px 0 0;font-size:12px;color:var(--soft)}#magic-home .mh-book-kicker a{color:var(--accent)}#magic-home .mh-book-contents{margin:30px 0}#magic-home .mh-book-list{list-style:none;padding:0;margin:16px 0}#magic-home .mh-book-list li{border-top:1px solid var(--line)}#magic-home .mh-book-list a{padding:18px 0;display:flex;justify-content:space-between;gap:16px;font:19px/1.4 Georgia,serif}#magic-home .mh-book-list a[aria-current=page]{color:var(--accent)}#magic-home .mh-book-pilot{font:15px/1.7 Georgia,serif;color:var(--soft);margin-top:22px}#magic-home .mh-book-reading>.mh-primary{font-size:12px}#magic-home .mh-book-drawer{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:35px 0}#magic-home .mh-book-drawer summary{font-size:13px;cursor:pointer;color:var(--accent)}#magic-home .mh-book-nav{display:flex;justify-content:space-between;gap:25px;margin:28px 0 0}#magic-home .mh-book-nav>div{max-width:48%}#magic-home .mh-book-nav>div:last-child{text-align:right}#magic-home .mh-book-nav span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--soft);margin-bottom:10px}#magic-home .mh-book-nav a{font:16px/1.5 Georgia,serif;color:var(--accent)}@media(max-width:650px){#magic-home .mh-book-reading{padding:32px 0 45px}#magic-home .mh-book-reading h1{font-size:37px}#magic-home .mh-book-reading .mh-prose{font-size:17px}#magic-home .mh-book-prose figure{padding:20px 15px}#magic-home .mh-book-kicker{flex-wrap:wrap}}

#magic-home .mh-book-prose figure>a{display:block;text-align:center}

/* Complete book navigation and illustration comparison. */
#magic-home .mh-screen-reader{position:absolute;left:-10000px}#magic-home .mh-book-start{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:25px 0 30px;font-size:12px}#magic-home .mh-book-start>span{color:var(--soft)}#magic-home .mh-book-part-heading{font-size:22px;margin:30px 0 8px;color:var(--accent)}#magic-home .mh-book-nested>a{padding-left:18px;font-size:17px}#magic-home .mh-book-prose h2,#magic-home .mh-book-prose h3,#magic-home .mh-book-prose h4{margin:34px 0 18px;font:27px/1.35 Georgia,serif;letter-spacing:0}#magic-home .mh-book-prose h4{font-size:22px}#magic-home .mh-book-prose ul,#magic-home .mh-book-prose ol{padding-left:26px;margin:22px 0}#magic-home .mh-book-prose li{margin:8px 0}#magic-home .mh-book-prose [id]{scroll-margin-top:24px}#magic-home .mh-book-prose figure.wp-block-image>a{max-width:420px;margin:auto}#magic-home .mh-figure-compare{margin:-18px 0 35px;padding:13px 0;border-bottom:1px solid var(--line)}#magic-home .mh-figure-compare summary{font:12px/1.6 Arial,sans-serif;color:var(--accent);cursor:pointer}#magic-home .mh-figure-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:24px 0 0}#magic-home .mh-book-prose .mh-figure-pair figure{padding:15px;margin:0;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}#magic-home .mh-figure-pair img{max-height:320px;object-fit:contain}#magic-home .mh-figure-pair figcaption{margin:0}#magic-home .mh-book-source{border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font:12px/1.7 Arial,sans-serif;color:var(--soft)}#magic-home .mh-book-source a{color:var(--accent)}@media(max-width:500px){#magic-home .mh-figure-pair{grid-template-columns:1fr}#magic-home .mh-book-start{gap:16px}#magic-home .mh-book-prose h2,#magic-home .mh-book-prose h3{font-size:25px}}

#magic-home .mh-book-prose figure.mh-book-table{overflow-x:auto;padding:0;background:transparent}#magic-home .mh-book-table table{min-width:360px}#magic-home .mh-book-table th{border:1px solid var(--line);padding:8px;text-align:left}

#magic-home .mh-book-subtitle{font:italic 28px/1.4 Georgia,serif;color:var(--accent);margin:10px 0 20px}

#magic-home .mh-prose figure.mh-book-table{max-width:100%;overflow-x:auto;padding:0;background:transparent}#magic-home .mh-prose .mh-book-table table{width:max-content;min-width:100%}#magic-home .mh-prose iframe[src*="youtube.com"]{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}

#magic-home .mh-prose pre{overflow-x:auto;max-width:100%;font:14px/1.6 monospace;padding:18px;background:var(--panel)}
