.tbp-doctrinal-explorer{--de-ink:var(--tbp-palette-ink,#302a21);--de-navy:var(--tbp-palette-ink,#302a21);--de-gold:#d4af37;--de-paper:#fffdf8;--de-line:var(--tbp-palette-soft,#f3e6bc);--de-muted:var(--tbp-palette-accent,#806021);margin:20px auto 36px;max-width:1180px;border:1px solid var(--tbp-palette-soft,#f3e6bc);border-radius:20px;overflow:hidden;background:#f7f8f9;color:var(--de-ink);box-shadow:0 20px 48px rgba(48,42,33,.14);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;line-height:1.5}
.tbp-doctrinal-explorer *{box-sizing:border-box}
.tbp-doctrinal-explorer button,.tbp-doctrinal-explorer select,.tbp-doctrinal-explorer input{font:inherit}
.tbp-doctrinal-explorer button{cursor:pointer}
.tbp-doctrinal-explorer button:focus-visible,.tbp-doctrinal-explorer a:focus-visible,.tbp-doctrinal-explorer select:focus-visible,.tbp-doctrinal-explorer input:focus-visible,.tbp-doctrinal-explorer summary:focus-visible{outline:3px solid var(--de-gold);outline-offset:3px}
.tbp-de-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 32px;background:linear-gradient(125deg,var(--tbp-palette-ink,#302a21),var(--tbp-palette-ink,#302a21) 73%,var(--tbp-palette-accent,#806021));color:var(--tbp-palette-card,#ffffff)}
.tbp-de-hero h2{color:var(--tbp-palette-card,#ffffff)!important;font-size:clamp(1.45rem,2.3vw,2rem);line-height:1.18;margin:3px 0 9px!important;font-family:Georgia,"Times New Roman",serif;letter-spacing:-.015em}
.tbp-de-hero p{margin:0;color:var(--tbp-palette-soft,#f3e6bc);max-width:670px}
.tbp-de-kicker{font-size:.72rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#f4d879!important}
.tbp-doctrinal-explorer .tbp-de-focus{flex:0 0 auto;padding:9px 16px;border:1px solid #eed686;border-radius:999px;background:transparent;color:var(--tbp-palette-card,#ffffff);font-weight:700}
.tbp-doctrinal-explorer .tbp-de-focus:hover,.tbp-doctrinal-explorer .tbp-de-focus[aria-pressed="true"]{background:#f2d576;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-toolbar{display:grid;grid-template-columns:minmax(200px,1.45fr) minmax(180px,1fr) minmax(150px,.8fr);gap:14px;padding:19px 28px 12px;background:var(--tbp-palette-card,#ffffff)}
.tbp-de-toolbar label{display:grid;gap:6px;font-weight:750;color:var(--tbp-palette-ink,#302a21);font-size:.83rem}
.tbp-de-toolbar input,.tbp-de-toolbar select{width:100%;height:44px;border:1px solid var(--tbp-palette-accent,#806021);border-radius:9px;padding:8px 12px;background:var(--tbp-palette-card,#ffffff);color:var(--tbp-palette-ink,#302a21)}
.tbp-de-toolbar input:focus,.tbp-de-toolbar select:focus{border-color:#a98419}
.tbp-de-track-description{background:var(--tbp-palette-card,#ffffff);margin:0;padding:0 28px 10px;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-status{margin:0;padding:0 28px 18px;background:var(--tbp-palette-card,#ffffff);color:var(--de-muted);font-size:.85rem}
.tbp-de-map{display:flex;overflow-x:auto;gap:0;padding:18px 24px 16px;background:var(--tbp-palette-ink,#302a21);scrollbar-color:#d4af37 var(--tbp-palette-ink,#302a21);scrollbar-width:thin}
.tbp-doctrinal-explorer .tbp-de-node{position:relative;min-width:125px;max-width:164px;flex:1;display:grid;justify-items:center;align-content:start;gap:3px;text-align:center;padding:0 7px 8px;border:0;background:transparent;color:var(--tbp-palette-soft,#f3e6bc);font-size:.78rem;font-weight:700}
.tbp-de-node:not(:last-child):before{content:"";position:absolute;left:calc(50% + 18px);right:calc(-50% + 18px);top:16px;height:2px;background:var(--tbp-palette-accent,#806021)}
.tbp-de-node .tbp-de-node-number{position:relative;z-index:1;display:grid;place-items:center;width:34px;height:34px;border:2px solid var(--tbp-palette-accent,#806021);border-radius:50%;background:var(--tbp-palette-ink,#302a21);color:var(--tbp-palette-card,#ffffff);font-size:.7rem;transition:transform .2s,background .2s,border-color .2s}
.tbp-de-node small{font-weight:500;color:var(--tbp-palette-soft,#f3e6bc)}
.tbp-doctrinal-explorer .tbp-de-node:hover .tbp-de-node-number,.tbp-doctrinal-explorer .tbp-de-node[aria-current="step"] .tbp-de-node-number{transform:scale(1.12);background:#d4af37;border-color:#f4d96d;color:var(--tbp-palette-ink,#302a21)}
.tbp-doctrinal-explorer .tbp-de-node[aria-current="step"]{color:#ffe39a}
.tbp-de-body{display:grid;grid-template-columns:minmax(190px,235px) minmax(0,1fr);min-height:500px}
.tbp-de-topics{padding:18px 12px;border-right:1px solid var(--tbp-palette-soft,#f3e6bc);background:#eef1f3}
.tbp-doctrinal-explorer .tbp-de-topic{width:100%;display:flex;align-items:center;gap:9px;margin-bottom:5px;padding:11px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--tbp-palette-ink,#302a21);text-align:left;font-weight:700}
.tbp-de-topic .tbp-de-node-number{font-size:.7rem;color:var(--tbp-palette-accent,#806021);font-variant-numeric:tabular-nums}
.tbp-de-topic small{margin-left:auto;font-size:.66rem;color:var(--tbp-palette-accent,#806021);font-weight:550}
.tbp-doctrinal-explorer .tbp-de-topic:hover,.tbp-doctrinal-explorer .tbp-de-topic[aria-current="step"]{background:#f7e7b1;border-color:#d4af37;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-study{padding:23px clamp(16px,3vw,32px) 28px;min-width:0}
.tbp-de-study[hidden]{display:none}
.tbp-de-study-heading{display:flex;align-items:baseline;gap:10px 18px;flex-wrap:wrap;margin-bottom:16px}
.tbp-de-study-heading span:first-child{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:var(--tbp-palette-accent,#806021)}
.tbp-de-study-heading h3{margin:0!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.4rem,2.2vw,1.85rem);color:var(--tbp-palette-ink,#302a21)!important}
.tbp-de-study-heading span:last-child{margin-left:auto;padding:3px 9px;border-radius:99px;background:var(--tbp-palette-soft,#f3e6bc);color:var(--tbp-palette-ink,#302a21);font-size:.72rem;font-weight:750}
.tbp-de-passage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tbp-de-passage{min-width:0;display:flex;flex-direction:column;padding:19px;border:1px solid var(--tbp-palette-soft,#f3e6bc);border-top:4px solid var(--tbp-palette-accent,#806021);border-radius:12px;background:#fffdf8;box-shadow:0 5px 16px rgba(48,42,33,.05)}
.tbp-de-harmony{border-top-color:#c9a334;background:#fffaf0}
.tbp-de-label{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;font-weight:800;color:var(--tbp-palette-accent,#806021)}
.tbp-de-passage h4{margin:5px 0 10px!important;color:var(--tbp-palette-ink,#302a21)!important;font-size:1.13rem}
.tbp-de-passage blockquote{margin:0 0 14px;padding:0;border:0;background:none;color:var(--tbp-palette-ink,#302a21);font:1.03rem/1.65 Georgia,"Times New Roman",serif}
.tbp-de-passage a{margin-top:auto;color:var(--tbp-palette-accent,#806021);font-weight:750;text-decoration:underline;text-underline-offset:3px}
.tbp-de-connection{position:relative;margin:15px 0;padding:15px 17px;border-left:4px solid #d4af37;border-radius:0 9px 9px 0;background:#eef3f4}
.tbp-de-connection>span{display:block;font-size:.75rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-connection p{margin:4px 0 0}
.tbp-de-connection .tbp-de-caution{font-size:.77rem;color:var(--tbp-palette-accent,#806021);margin-top:8px}
.tbp-de-quiz{padding:15px 17px;border:1px solid var(--tbp-palette-soft,#f3e6bc);border-radius:12px;background:var(--tbp-palette-card,#ffffff)}
.tbp-de-quiz h4{margin:0 0 3px!important;color:var(--tbp-palette-ink,#302a21)!important}
.tbp-de-quiz p{margin:4px 0 10px}
.tbp-de-quiz [data-role="quiz-options"]{display:flex;flex-wrap:wrap;gap:8px}
.tbp-doctrinal-explorer .tbp-de-quiz button{padding:7px 11px;border:1px solid var(--tbp-palette-accent,#806021);border-radius:8px;background:#f5f7f8;color:var(--tbp-palette-ink,#302a21);font-size:.85rem;font-weight:650}
.tbp-doctrinal-explorer .tbp-de-quiz button:hover:not(:disabled),.tbp-doctrinal-explorer .tbp-de-quiz button.is-correct{background:#d8eddf;border-color:#4d8661;color:#153d27}
.tbp-doctrinal-explorer .tbp-de-quiz button.is-incorrect{background:#f9e4dc;border-color:#bd735a;color:#713824}
.tbp-de-quiz [data-role="quiz-feedback"]{min-height:1em;font-size:.84rem;color:#304d39}
.tbp-de-navigation{display:flex;justify-content:space-between;gap:12px;margin-top:17px}
.tbp-doctrinal-explorer .tbp-de-navigation button{padding:10px 16px;border:1px solid var(--tbp-palette-ink,#302a21);border-radius:8px;background:var(--tbp-palette-ink,#302a21);color:var(--tbp-palette-card,#ffffff);font-weight:750}
.tbp-doctrinal-explorer .tbp-de-navigation button:hover:not(:disabled){background:#d4af37;color:var(--tbp-palette-ink,#302a21);border-color:#b98c1e}
.tbp-doctrinal-explorer button:disabled{opacity:.48;cursor:default}
.tbp-de-empty{padding:18px;color:var(--tbp-palette-accent,#806021)}
.tbp-de-builder{padding:22px 28px;border-top:1px solid var(--tbp-palette-soft,#f3e6bc);background:#fffdf7;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.tbp-de-builder h3{margin:0 0 4px!important;color:var(--tbp-palette-ink,#302a21)!important;font:700 1.35rem/1.3 Georgia,"Times New Roman",serif}
.tbp-de-builder p{margin:4px 0 10px}
.tbp-de-builder label{display:grid;gap:5px;font-weight:750}
.tbp-de-builder input,.tbp-de-builder textarea{width:100%;padding:9px 11px;border:1px solid var(--tbp-palette-accent,#806021);border-radius:8px;background:var(--tbp-palette-card,#ffffff);color:var(--tbp-palette-ink,#302a21);font:inherit}
.tbp-de-builder input{max-width:440px}
.tbp-de-builder ol{padding-left:1.5rem;margin:17px 0}
.tbp-de-builder li{margin:0 0 12px;padding:12px;border:1px solid #e1d8c3;border-radius:9px;background:var(--tbp-palette-card,#ffffff)}
.tbp-de-builder li strong{font-family:Georgia,"Times New Roman",serif}
.tbp-de-builder li p{margin:4px 0 9px}
.tbp-de-builder li a{color:var(--tbp-palette-accent,#806021);text-decoration:underline}
.tbp-de-builder .tbp-de-chain-empty{list-style:none;margin-left:-1.5rem;color:var(--tbp-palette-accent,#806021)}
.tbp-de-pair-actions,.tbp-de-builder-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.tbp-doctrinal-explorer .tbp-de-builder button{padding:8px 12px;border:1px solid #a27c21;border-radius:8px;background:#eed388;color:var(--tbp-palette-ink,#302a21);font-weight:750}
.tbp-doctrinal-explorer .tbp-de-builder button:hover:not(:disabled){background:#d4af37}
.tbp-doctrinal-explorer .tbp-de-pair-actions button{background:#f4f1e7;font-size:.8rem}
.tbp-de-builder [data-role="chain-status"]{min-height:1.3em;color:#365c43;font-size:.88rem}
.tbp-de-builder .tbp-de-caution{margin-top:12px;color:var(--tbp-palette-accent,#806021);font-size:.82rem}
.tbp-de-plan-link{margin:0;padding:15px 28px;border-top:1px solid var(--tbp-palette-soft,#f3e6bc);background:#fdf5df}.tbp-de-plan-link a{color:var(--tbp-palette-ink,#302a21);font-weight:850;text-decoration:underline;text-underline-offset:3px}
.tbp-de-shortcode{margin:0;padding:14px 28px 18px;border-top:1px solid var(--tbp-palette-soft,#f3e6bc);background:var(--tbp-palette-card,#ffffff);color:var(--tbp-palette-ink,#302a21)}
.tbp-de-shortcode summary{cursor:pointer;font-weight:800;color:var(--tbp-palette-ink,#302a21)}
.tbp-de-shortcode p{margin:9px 0}
.tbp-de-shortcode code{display:inline-block;padding:7px 10px;border-radius:5px;background:#edf1f3;color:var(--tbp-palette-ink,#302a21);white-space:normal}
.tbp-doctrinal-explorer .tbp-de-shortcode button{margin-left:10px;padding:7px 12px;border:1px solid #ad8a25;border-radius:7px;background:#f5db88;color:var(--tbp-palette-ink,#302a21);font-weight:800}
.tbp-doctrinal-explorer.is-focus .tbp-de-toolbar,.tbp-doctrinal-explorer.is-focus .tbp-de-track-description,.tbp-doctrinal-explorer.is-focus .tbp-de-status,.tbp-doctrinal-explorer.is-focus .tbp-de-map,.tbp-doctrinal-explorer.is-focus .tbp-de-topics,.tbp-doctrinal-explorer.is-focus .tbp-de-connection,.tbp-doctrinal-explorer.is-focus .tbp-de-quiz,.tbp-doctrinal-explorer.is-focus .tbp-de-shortcode,.tbp-doctrinal-explorer.is-focus .tbp-de-plan-link,.tbp-doctrinal-explorer.is-focus .tbp-de-builder{display:none}
.tbp-doctrinal-explorer.is-focus .tbp-de-body{grid-template-columns:1fr;background:#fffdf8}
.tbp-doctrinal-explorer.is-focus .tbp-de-study{max-width:880px;width:100%;margin:auto}
@media(max-width:760px){.tbp-de-hero{padding:22px 18px;align-items:flex-start}.tbp-de-toolbar{grid-template-columns:1fr 1fr;padding:16px 16px 10px}.tbp-de-toolbar label:first-child{grid-column:1/-1}.tbp-de-track-description,.tbp-de-status{padding-left:16px;padding-right:16px}.tbp-de-body{grid-template-columns:1fr}.tbp-de-topics{display:flex;gap:6px;overflow-x:auto;padding:9px 13px;border-right:0;border-bottom:1px solid var(--tbp-palette-soft,#f3e6bc)}.tbp-doctrinal-explorer .tbp-de-topic{width:auto;min-width:max-content;margin:0;padding:8px}.tbp-de-topic small{display:none}.tbp-de-passage-grid{grid-template-columns:1fr}.tbp-de-study{padding:18px}.tbp-de-builder{padding:19px 16px}.tbp-de-builder-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.tbp-de-hero{display:block}.tbp-de-hero .tbp-de-focus{margin-top:15px}.tbp-de-toolbar{grid-template-columns:1fr}.tbp-de-toolbar label:first-child{grid-column:auto}.tbp-de-study-heading span:last-child{margin-left:0}.tbp-de-navigation button{flex:1}.tbp-de-shortcode{padding:14px 16px}}
@media(prefers-reduced-motion:reduce){.tbp-doctrinal-explorer *{scroll-behavior:auto!important;transition:none!important}}
.tbp-de-portability{margin-top:18px;border-top:1px solid var(--tbp-palette-soft,#f3e6bc);padding-top:12px;min-width:0}
.tbp-de-portability>label{display:block;margin:10px 0;font-weight:700}
.tbp-de-portability input,.tbp-de-portability textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:42px}
.tbp-de-portability>button{margin:6px 6px 6px 0;min-height:42px;max-width:100%;white-space:normal}
.tbp-de-portability li{overflow-wrap:anywhere}
