/* TeoMath Bookshelf — no external dependencies */
:root{--bg:#fff;--surface:#f6f6f4;--surface-2:#efefec;--text:#171717;--muted:#6f6f6a;--line:#e4e4df;--accent:#2257d6;--accent-2:#143c9c;--header:rgba(255,255,255,.9);--shadow:0 14px 35px rgba(0,0,0,.08);--radius:18px;--container:1240px;--cover-ratio:1 / 1.42}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#111211;--surface:#191a19;--surface-2:#222321;--text:#f5f5f2;--muted:#aaa9a3;--line:#2f302d;--accent:#7aa2ff;--accent-2:#9db9ff;--header:rgba(17,18,17,.9);--shadow:0 16px 36px rgba(0,0,0,.28)}}
:root[data-theme="dark"]{--bg:#111211;--surface:#191a19;--surface-2:#222321;--text:#f5f5f2;--muted:#aaa9a3;--line:#2f302d;--accent:#7aa2ff;--accent-2:#9db9ff;--header:rgba(17,18,17,.9);--shadow:0 16px 36px rgba(0,0,0,.28)}
:root[data-theme="light"]{--bg:#fff;--surface:#f6f6f4;--surface-2:#efefec;--text:#171717;--muted:#6f6f6a;--line:#e4e4df;--accent:#2257d6;--accent-2:#143c9c;--header:rgba(255,255,255,.9);--shadow:0 14px 35px rgba(0,0,0,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.tm-container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:9999;background:var(--text);color:var(--bg);padding:10px 14px;border-radius:8px}.site-header{position:sticky;top:0;z-index:100;border-bottom:1px solid var(--line);background:var(--header);backdrop-filter:blur(16px)}.header-inner{height:72px;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}.site-branding{display:flex;align-items:center}.custom-logo{max-height:40px;width:auto}.brand-wordmark{font-weight:900;font-size:26px;letter-spacing:-1.5px;display:inline-flex}.brand-teo{color:var(--text)}.brand-math{color:var(--accent)}.brand-wordmark--small{font-size:21px}.primary-nav{justify-self:center}.menu,.footer-menu{list-style:none;padding:0;margin:0;display:flex;gap:24px;align-items:center}.menu a{font-size:14px;font-weight:650;color:var(--muted)}.menu a:hover{color:var(--text)}.menu .sub-menu{display:none;position:absolute;background:var(--bg);border:1px solid var(--line);box-shadow:var(--shadow);padding:12px;list-style:none;border-radius:12px}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:grid;gap:8px}.header-actions{display:flex;gap:7px}.header-actions button,.header-search-link,.nav-toggle{width:40px;height:40px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--text);display:grid;place-items:center;cursor:pointer;font-size:20px}.nav-toggle{display:none}.hero-section{padding:76px 0 54px;border-bottom:1px solid var(--line);background:radial-gradient(circle at 50% -20%,color-mix(in srgb,var(--accent) 9%,transparent),transparent 54%)}.hero-inner{text-align:center;max-width:880px}.eyebrow{font-size:11px;font-weight:850;letter-spacing:.17em;color:var(--muted);margin:0 0 8px;text-transform:uppercase}.hero-inner h1,.archive-header h1,.single-info-column h1,.not-found h1{font-size:clamp(38px,6vw,70px);line-height:1.02;letter-spacing:-.05em;margin:0 auto 18px;max-width:900px}.hero-text{font-size:clamp(17px,2vw,21px);color:var(--muted);max-width:700px;margin:0 auto 28px}.tm-search{max-width:760px;margin:0 auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:7px 7px 7px 18px;box-shadow:0 8px 30px rgba(0,0,0,.05)}.tm-search-icon{font-size:21px;color:var(--muted)}.tm-search input{min-width:0;border:0;background:transparent;color:var(--text);outline:0;padding:10px 12px;font-size:16px}.tm-search button,.button-primary,.button-secondary{border:0;border-radius:999px;padding:11px 18px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px}.tm-search button,.button-primary{background:var(--text);color:var(--bg)}.tm-search button:hover,.button-primary:hover{background:var(--accent);color:white}.button-secondary{background:var(--surface);border:1px solid var(--line);color:var(--text)}.button-secondary:hover{border-color:var(--text);color:var(--text)}.quick-links,.filter-chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:18px}.quick-links a,.filter-chips a{font-size:13px;font-weight:650;color:var(--muted);border:1px solid var(--line);background:var(--bg);padding:7px 12px;border-radius:999px}.quick-links a:hover,.filter-chips a:hover{border-color:var(--text);color:var(--text)}.tm-section{padding-top:52px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading h2{font-size:clamp(23px,3vw,32px);letter-spacing:-.035em;line-height:1.1;margin:0}.text-link{font-size:13px;color:var(--muted);font-weight:700;white-space:nowrap}.bookshelf-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);grid-template-rows:auto;gap:18px;overflow-x:auto;padding:2px 2px 18px;scroll-snap-type:x proximity;scrollbar-width:thin}.bookshelf-row>.resource-card{width:min(190px,42vw);scroll-snap-align:start}.resource-card{min-width:0}.resource-cover-link{display:block}.resource-cover{aspect-ratio:var(--cover-ratio);border-radius:10px;overflow:hidden;background:var(--surface);box-shadow:0 9px 22px rgba(0,0,0,.10);border:1px solid color-mix(in srgb,var(--line) 70%,transparent);transition:transform .18s ease,box-shadow .18s ease}.resource-cover img{width:100%;height:100%;object-fit:cover}.resource-card:hover .resource-cover{transform:translateY(-4px);box-shadow:var(--shadow)}.cover-placeholder{width:100%;height:100%;background:linear-gradient(145deg,var(--surface-2),var(--surface));padding:18px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}.cover-placeholder-brand{font-weight:900;font-size:13px;color:var(--accent)}.cover-placeholder strong{font-size:clamp(16px,2vw,22px);line-height:1.12;letter-spacing:-.03em}.resource-card-body{padding-top:12px}.resource-course{font-size:11px;color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.05em}.resource-course--large{font-size:12px}.resource-card h3{font-size:15px;line-height:1.25;margin:5px 0 8px;letter-spacing:-.01em}.card-badges{display:flex;gap:5px;flex-wrap:wrap}.card-badges span{font-size:10px;font-weight:700;color:var(--muted);background:var(--surface);padding:4px 7px;border-radius:999px}.shelf-section{padding-top:36px}.shelf-section:last-child{padding-bottom:64px}.empty-state{border:1px dashed var(--line);border-radius:var(--radius);padding:40px;text-align:center;background:var(--surface)}.empty-state h3,.empty-state h2{margin-top:0}.archive-page{padding-top:54px;padding-bottom:72px}.archive-header{text-align:center;max-width:850px;margin:0 auto 34px}.archive-header--compact h1{font-size:clamp(36px,5vw,58px)}.archive-header p,.term-description{color:var(--muted);font-size:18px}.archive-header .tm-search{margin-top:24px}.archive-page>.filter-chips{margin:0 0 34px}.resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:32px 22px}.resource-grid .resource-card{max-width:220px}.navigation.pagination{margin-top:50px}.nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);border-radius:9px;padding:8px 12px}.page-numbers.current{background:var(--text);color:var(--bg)}.breadcrumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px;padding:26px 0}.breadcrumbs a:hover{color:var(--text)}.resource-single{display:grid;grid-template-columns:minmax(240px,380px) minmax(0,1fr);gap:clamp(38px,7vw,88px);align-items:start;padding:22px 0 58px}.single-cover{aspect-ratio:var(--cover-ratio);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:var(--surface);position:sticky;top:104px}.single-cover img{width:100%;height:100%;object-fit:cover}.single-info-column{padding-top:18px}.single-info-column h1{font-size:clamp(38px,5vw,66px);margin:10px 0 18px}.single-lead{font-size:20px;color:var(--muted);max-width:680px}.single-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:28px 0}.single-meta span{background:var(--surface);border-radius:12px;padding:13px 15px;color:var(--muted);font-size:13px}.single-meta strong{display:block;color:var(--text);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}.resource-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.topic-list{font-size:13px;color:var(--muted);padding-top:8px}.topic-list a{text-decoration:underline;text-underline-offset:3px}.resource-content{border-top:1px solid var(--line);padding:48px 0;max-width:800px}.prose{font-size:17px;line-height:1.75}.prose h2,.prose h3,.prose h4{line-height:1.2;letter-spacing:-.02em}.prose a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.prose img{border-radius:12px}.pdf-section{padding:46px 0;border-top:1px solid var(--line)}.pdf-frame-wrap{height:min(82vh,1000px);min-height:600px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}.pdf-frame{width:100%;height:100%;border:0}.related-section{padding-bottom:70px;border-top:1px solid var(--line)}.page-shell{padding-top:60px;padding-bottom:80px}.page-content{max-width:800px;margin:auto}.page-content>h1{font-size:clamp(38px,5vw,60px);letter-spacing:-.045em;line-height:1.05}.not-found{padding:90px 0 110px;text-align:center;max-width:820px}.not-found .tm-search{margin:30px auto 20px}.site-footer{margin-top:40px;border-top:1px solid var(--line);background:var(--surface);padding:46px 0}.footer-inner{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:start}.footer-inner p{color:var(--muted);font-size:13px;margin:8px 0}.footer-copy{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}.comments-area{padding:40px 0}.comment-list{padding-left:24px}.comment-body{padding:20px 0;border-bottom:1px solid var(--line)}:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:3px}
@media (min-width:1050px){.bookshelf-row{grid-auto-columns:calc((100% - 6 * 18px)/7)}.bookshelf-row>.resource-card{width:auto}}
@media (max-width:820px){.tm-container{width:min(calc(100% - 28px),var(--container))}.header-inner{height:64px;grid-template-columns:auto auto 1fr}.nav-toggle{display:grid}.primary-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);padding:16px 20px}.primary-nav.is-open{display:block}.menu{display:grid;gap:8px}.menu a{display:block;padding:8px}.header-actions{justify-self:end}.header-search-link{display:none}.hero-section{padding:52px 0 40px}.tm-search{grid-template-columns:auto 1fr}.tm-search button{display:none}.quick-links{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.quick-links a{white-space:nowrap}.section-heading{align-items:start}.bookshelf-row{grid-auto-columns:42vw}.resource-single{grid-template-columns:1fr;gap:24px}.single-cover-column{max-width:360px;margin-inline:auto;width:100%}.single-cover{position:static}.single-info-column{text-align:left}.single-meta{grid-template-columns:1fr 1fr}.pdf-frame-wrap{min-height:70vh}.footer-inner{grid-template-columns:1fr}.footer-copy{grid-column:auto}.footer-menu{flex-wrap:wrap}}
@media (max-width:520px){.hero-inner h1{font-size:40px}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.bookshelf-row{grid-auto-columns:46vw;gap:14px}.single-meta{grid-template-columns:1fr}.section-heading{gap:10px}.text-link{font-size:12px}.pdf-frame-wrap{min-height:72vh}.empty-state{padding:28px 18px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.resource-cover{transition:none}}

/* ==========================================================
   TEOMATH RESOURCE CONTENT SYSTEM — v1.1
   Reusable components for HTML pasted in the Classic Editor.
   ========================================================== */
.resource-content.prose{max-width:1040px;margin-inline:auto;font-size:17px;line-height:1.72}
.tm-resource{--tm-blue:#2563eb;--tm-blue-2:#1d4ed8;--tm-cyan:#0891b2;--tm-indigo:#4338ca;--tm-teal:#0f766e;--tm-green:#059669;--tm-orange:#ea580c;--tm-gold:#d97706;--tm-red:#dc2626;--tm-navy:#0b1730;--tm-soft-blue:color-mix(in srgb,var(--tm-blue) 8%,var(--bg));--tm-soft-green:color-mix(in srgb,var(--tm-green) 8%,var(--bg));--tm-soft-orange:color-mix(in srgb,var(--tm-orange) 8%,var(--bg));max-width:100%;color:var(--text)}
.tm-resource>*:first-child{margin-top:0}.tm-resource>*:last-child{margin-bottom:0}
.tm-resource .tm-content-hero{position:relative;overflow:hidden;margin:0 0 24px;padding:clamp(28px,5vw,52px);border-radius:28px;background:radial-gradient(circle at 90% 10%,rgba(255,255,255,.18),transparent 28%),radial-gradient(circle at 75% 90%,rgba(8,145,178,.28),transparent 30%),linear-gradient(135deg,#0b1730 0%,#123c75 52%,#4338ca 100%);box-shadow:0 22px 55px rgba(37,99,235,.16);color:#fff}
.tm-resource .tm-content-hero:after{content:"ℝ  ×10ⁿ  √2";position:absolute;right:-18px;bottom:-18px;font-size:clamp(62px,10vw,118px);font-weight:900;line-height:1;letter-spacing:-.08em;color:rgba(255,255,255,.055);pointer-events:none;white-space:nowrap}
.tm-resource .tm-kicker{position:relative;z-index:1;display:inline-flex;margin:0 0 14px;padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.09);font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:#fff}
.tm-resource .tm-content-hero h2{position:relative;z-index:1;max-width:790px;margin:0 0 14px;color:#fff;font-size:clamp(32px,5vw,54px);line-height:1.04;letter-spacing:-.045em}
.tm-resource .tm-content-hero p{position:relative;z-index:1;max-width:760px;margin:0;color:rgba(255,255,255,.9);font-size:clamp(16px,2vw,20px);line-height:1.6}
.tm-resource .tm-chips{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 28px}
.tm-resource .tm-chip{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);font-size:12px;font-weight:760}
.tm-resource .tm-intro{margin:28px 0;padding:22px 24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--accent) 4%,var(--surface)));box-shadow:0 9px 28px rgba(0,0,0,.035)}
.tm-resource .tm-intro p{margin:.2em 0 1em}.tm-resource .tm-intro p:last-child{margin-bottom:.2em}
.tm-resource .tm-mark{padding:0 .15em;background:linear-gradient(transparent 60%,rgba(250,204,21,.34) 60%);font-weight:700}
.tm-resource .tm-section-title{margin:46px 0 5px;color:var(--text);font-size:clamp(25px,3.2vw,36px);line-height:1.12;letter-spacing:-.035em}
.tm-resource .tm-section-sub{margin:0 0 20px;color:var(--muted);font-size:15px}
.tm-resource .tm-learning{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 30px;padding:0;list-style:none}
.tm-resource .tm-learning li{position:relative;margin:0;padding:15px 16px 15px 43px;border:1px solid var(--line);border-radius:15px;background:var(--surface);font-size:15px;line-height:1.55}
.tm-resource .tm-learning li:before{content:"✓";position:absolute;left:15px;top:15px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:color-mix(in srgb,var(--tm-green) 14%,transparent);color:var(--tm-green);font-size:12px;font-weight:900}
.tm-resource .tm-formula{position:relative;overflow:hidden;margin:30px 0;padding:24px clamp(18px,4vw,34px);border:1px solid color-mix(in srgb,var(--tm-blue) 25%,var(--line));border-radius:21px;background:linear-gradient(135deg,var(--tm-soft-blue),var(--surface));text-align:center}
.tm-resource .tm-formula-label{display:inline-block;margin-bottom:6px;color:var(--tm-blue);font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.tm-resource .tm-formula-main{font-size:clamp(18px,3vw,28px);color:var(--text)}
.tm-resource .tm-formula-main mjx-container[display="true"]{margin:.55em 0!important}
.tm-resource .tm-formula p{margin:8px auto 0;max-width:720px;color:var(--muted);font-size:14px}
.tm-resource .tm-number-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0 10px}
.tm-resource .tm-set-card{position:relative;padding:17px 14px;border:1px solid var(--line);border-radius:17px;background:var(--surface);text-align:center}
.tm-resource .tm-set-card:not(:last-child):after{content:"⊂";position:absolute;right:-14px;top:50%;z-index:2;transform:translateY(-50%);display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--muted);font-weight:900}
.tm-resource .tm-set-symbol{display:block;margin-bottom:4px;color:var(--tm-blue);font-size:28px;font-weight:900}.tm-resource .tm-set-card strong{display:block;font-size:13px}.tm-resource .tm-set-card small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35}
.tm-resource .tm-irrational{margin:10px 0 30px;padding:12px 15px;border-radius:14px;background:var(--surface);color:var(--muted);font-size:14px;text-align:center}
.tm-resource .tm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 30px}
.tm-resource .tm-card{min-width:0;padding:21px;border:1px solid var(--line);border-radius:19px;background:var(--surface);box-shadow:0 7px 22px rgba(0,0,0,.035)}
.tm-resource .tm-card-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:13px;border-radius:13px;background:color-mix(in srgb,var(--tm-blue) 12%,var(--bg));color:var(--tm-blue);font-size:20px;font-weight:900}
.tm-resource .tm-card h3{margin:0 0 7px;font-size:18px;letter-spacing:-.02em}.tm-resource .tm-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.tm-resource .tm-callout{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:start;margin:28px 0;padding:20px;border:1px solid color-mix(in srgb,var(--tm-orange) 25%,var(--line));border-radius:18px;background:var(--tm-soft-orange)}
.tm-resource .tm-callout-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:color-mix(in srgb,var(--tm-orange) 14%,var(--bg));font-size:20px}.tm-resource .tm-callout strong{display:block;margin-bottom:4px;color:color-mix(in srgb,var(--tm-orange) 82%,var(--text));font-size:15px}.tm-resource .tm-callout p{margin:0;color:var(--text);font-size:14px;line-height:1.6}
.tm-resource .tm-path{position:relative;display:grid;gap:10px;margin:22px 0 30px}.tm-resource .tm-step{display:grid;grid-template-columns:42px 1fr;gap:13px;align-items:start;padding:13px 15px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.tm-resource .tm-step-number{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--text);color:var(--bg);font-size:13px;font-weight:900}.tm-resource .tm-step-body strong{display:block;margin:1px 0 2px;font-size:15px}.tm-resource .tm-step-body span{display:block;color:var(--muted);font-size:13px;line-height:1.5}
.tm-resource .tm-example{overflow:hidden;margin:24px 0 32px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}
.tm-resource .tm-example-head{padding:18px 22px;background:linear-gradient(120deg,#0f766e,#0891b2);color:#fff}.tm-resource .tm-example-head small{display:block;margin-bottom:2px;opacity:.86;font-size:11px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}.tm-resource .tm-example-head strong{display:block;color:#fff;font-size:20px}
.tm-resource .tm-example-body{padding:22px}.tm-resource .tm-example-body>p{margin:0 0 13px}.tm-resource .tm-equation-box{overflow-x:auto;margin:14px 0;padding:13px 15px;border-radius:13px;background:var(--bg);text-align:center}.tm-resource .tm-equation-box mjx-container[display="true"]{margin:.45em 0!important}
.tm-resource .tm-example-result{margin-top:17px;padding:14px 16px;border-left:4px solid var(--tm-green);border-radius:7px 13px 13px 7px;background:var(--tm-soft-green);color:var(--text);font-size:14px}
.tm-resource .tm-practice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 30px}.tm-resource .tm-practice-card{position:relative;overflow:hidden;min-height:210px;padding:24px;border-radius:21px;color:#fff}.tm-resource .tm-practice-card:first-child{background:linear-gradient(145deg,#1d4ed8,#4338ca)}.tm-resource .tm-practice-card:last-child{background:linear-gradient(145deg,#047857,#0f766e)}.tm-resource .tm-practice-big{position:absolute;right:12px;bottom:-37px;color:rgba(255,255,255,.10);font-size:108px;line-height:1;font-weight:950}.tm-resource .tm-practice-card h3{position:relative;z-index:1;margin:0 0 9px;color:#fff;font-size:20px}.tm-resource .tm-practice-card p{position:relative;z-index:1;margin:0;color:rgba(255,255,255,.91);font-size:14px;line-height:1.6}.tm-resource .tm-level{display:inline-block;position:relative;z-index:1;margin-top:17px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.15);font-size:11px;font-weight:850;letter-spacing:.03em}
.tm-resource .tm-ib{margin:30px 0;padding:24px;border-radius:21px;background:#111827;color:#e5edf8}.tm-resource .tm-ib h3{margin:0 0 9px;color:#fff;font-size:21px}.tm-resource .tm-ib p{margin:0 0 15px;color:#ccd7e6;font-size:14px}.tm-resource .tm-command{display:flex;flex-wrap:wrap;gap:8px}.tm-resource .tm-command span{padding:7px 10px;border:1px solid #334155;border-radius:10px;background:#1f2937;color:#fff;font-size:11px;font-weight:850;letter-spacing:.04em}
.tm-resource .tm-quick-check{margin:28px 0;padding:21px;border:1px dashed color-mix(in srgb,var(--tm-blue) 45%,var(--line));border-radius:18px;background:var(--surface)}.tm-resource .tm-quick-check strong{display:block;margin-bottom:8px}.tm-resource .tm-quick-check p{margin:6px 0;color:var(--muted);font-size:14px}.tm-resource .tm-reveal{margin-top:12px}.tm-resource .tm-reveal summary{cursor:pointer;font-weight:800;color:var(--tm-blue)}.tm-resource .tm-reveal div{margin-top:10px;padding:12px 14px;border-radius:12px;background:var(--bg);font-size:14px}
.tm-resource .tm-cta{position:relative;overflow:hidden;margin:42px 0 10px;padding:clamp(27px,5vw,46px);border-radius:25px;background:radial-gradient(circle at 6% 6%,rgba(255,255,255,.22),rgba(255,255,255,0) 30%),linear-gradient(135deg,#ff7a18 0%,#f25522 48%,#d94040 100%);box-shadow:0 18px 45px rgba(234,88,12,.20);color:#fff;text-align:center}.tm-resource .tm-cta-badge{display:inline-block;margin-bottom:10px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.16);font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.tm-resource .tm-cta h2{margin:0 0 9px;color:#fff;font-size:clamp(27px,4vw,38px);letter-spacing:-.035em}.tm-resource .tm-cta p{max-width:690px;margin:0 auto 20px;color:rgba(255,255,255,.92);font-size:15px}.tm-resource .tm-download{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 17px;border-radius:999px;background:#fff;color:#9a3412!important;text-decoration:none!important;font-weight:850;box-shadow:0 8px 25px rgba(0,0,0,.12)}.tm-resource .tm-download:hover{transform:translateY(-1px);color:#7c2d12!important}.tm-resource .tm-final-note{margin-top:13px!important;margin-bottom:0!important;font-size:11px!important;opacity:.78}.tm-resource .tm-resource-foot{margin-top:18px;color:var(--muted);font-size:12px;text-align:center}
.tm-resource mjx-container{max-width:100%;color:inherit}.tm-resource mjx-container[display="true"]{overflow-x:auto;overflow-y:hidden;padding:3px 0}
@media(max-width:760px){.resource-content.prose{font-size:16px}.tm-resource .tm-learning,.tm-resource .tm-grid,.tm-resource .tm-practice{grid-template-columns:1fr}.tm-resource .tm-number-map{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-resource .tm-set-card:not(:last-child):after{display:none}.tm-resource .tm-content-hero{border-radius:22px}.tm-resource .tm-content-hero:after{font-size:68px}.tm-resource .tm-callout{grid-template-columns:40px 1fr;padding:17px}.tm-resource .tm-step{grid-template-columns:38px 1fr}.tm-resource .tm-example-body{padding:18px}}
@media(max-width:480px){.tm-resource .tm-number-map{grid-template-columns:1fr}.tm-resource .tm-content-hero{padding:26px 20px}.tm-resource .tm-intro,.tm-resource .tm-card,.tm-resource .tm-ib{padding:18px}.tm-resource .tm-chips{gap:6px}.tm-resource .tm-chip{font-size:11px}.tm-resource .tm-practice-card{min-height:190px;padding:20px}}
