/* Tadaei T+ / reading companion 1.4 · isolated from theme and existing archive styles */
.tdtp-plus{--tp-ink:#42304c;--tp-purple:#5e4075;--tp-sage:#849885;--tp-line:#e6e0e9;--tp-muted:#82758c;box-sizing:border-box;direction:rtl;text-align:right;max-width:100%;background:linear-gradient(140deg,#fff 0%,#fbf9fc 100%);border:1px solid var(--tp-line);border-radius:18px;box-shadow:0 12px 40px rgba(55,36,70,.042);padding:23px 25px 18px;margin:30px auto;color:var(--tp-ink);font-family:Estedad,Tahoma,sans-serif;font-size:13px;line-height:2;isolation:isolate}
.tdtp-plus *{box-sizing:border-box}.tdtp-plus button{font:inherit;cursor:pointer}.tdtp-plus a{text-decoration:none!important;box-shadow:none!important}.tdtp-plus-head{display:flex;gap:12px;align-items:center;margin:0 0 19px}.tdtp-plus-mark{flex:none;width:45px;height:45px;display:grid;place-content:center;background:linear-gradient(142deg,#4c2c61,#76568d);border-radius:12px;font:700 22px/1 Georgia,serif;direction:ltr;color:#fff;letter-spacing:-1px}.tdtp-plus-mark span{color:#b9c9b2;font-size:.75em}.tdtp-plus-head>div{display:flex;flex-direction:column;gap:0}.tdtp-plus-head strong{font-size:15px;line-height:1.6;color:#422f50}.tdtp-plus-head>div>span{font-size:11px;line-height:1.8;color:#897d8e}
.tdtp-plus-listen{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 18px;border-radius:13px;background:linear-gradient(110deg,#f6f2f8,#f8f7f9);border:1px solid #ece6ef;padding:13px 16px;margin:0 0 18px}.tdtp-plus-listen-label{display:flex;align-items:center;gap:9px;min-width:0}.tdtp-plus-listen-label strong{font-size:12px;color:#57416b;white-space:nowrap}.tdtp-plus-listen-label small{font-size:10px;color:#8d8095}.tdtp-plus-listen-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;background:#e9e2ed;border-radius:50%;width:30px;height:30px;color:#694880;font-size:15px}.tdtp-plus-audio{width:min(100%,310px);height:38px;display:block;min-width:150px}.tdtp-plus-speak{display:inline-flex;align-items:center;gap:8px;justify-content:center;border:1px solid #c9b5d3;background:#fff;color:#624679;border-radius:9px;padding:5px 13px;font-size:11px!important;line-height:1.8;min-height:36px}.tdtp-plus-speak svg{height:16px;width:16px}.tdtp-plus-speak:hover{background:#f4edf8}.tdtp-plus-stop{border:0;background:transparent;color:#6e5479;font-size:11px!important}.tdtp-plus-disclosure{grid-column:1/-1;color:#9c909f;font-size:10px;line-height:1.8}
.tdtp-plus-tabs{display:flex;gap:0;align-items:stretch;border:1px solid #e9e4ed;border-radius:10px;overflow:hidden;background:#f8f6f9;margin:0 0 14px;padding:3px;direction:rtl}.tdtp-plus-tabs button{border:0!important;min-width:0;flex:1;outline-offset:-3px;box-shadow:none!important;color:#796c82;background:transparent;min-height:40px;padding:7px 5px;border-radius:7px;font-size:12px!important;font-weight:600!important;white-space:normal;line-height:1.7}.tdtp-plus-tabs button[aria-selected="true"]{background:#fff;color:#4d3364;box-shadow:0 2px 10px rgba(66,45,77,.07)!important}.tdtp-plus-pane{min-height:76px;padding:7px 4px 1px;line-height:2.2;max-width:100%;overflow-wrap:anywhere}.tdtp-plus-pane[hidden]{display:none!important}.tdtp-plus-kicker{font-size:10px;letter-spacing:.1px;font-weight:700;color:#7b5d93;margin-bottom:7px}.tdtp-plus-note{font-size:13px;line-height:2.3;color:#504453}.tdtp-plus-note p{font-size:inherit!important;color:inherit!important;line-height:inherit!important;margin:0 0 10px!important}.tdtp-plus-empty{font-size:12px;color:#938699;line-height:2.1;margin:4px 0 8px!important}.tdtp-plus-concept{border:1px solid #e9e1ed;border-radius:10px;background:#fff;margin:0 0 8px;overflow:hidden}.tdtp-plus-concept summary{display:flex;cursor:pointer;justify-content:space-between;gap:20px;list-style:none;align-items:center;padding:10px 14px;font-size:12px;font-weight:650;color:#614779}.tdtp-plus-concept summary::-webkit-details-marker{display:none}.tdtp-plus-concept summary span{font-size:17px;font-weight:400;color:#897098}.tdtp-plus-concept[open] summary span{transform:rotate(45deg)}.tdtp-plus-concept>div{padding:0 14px 11px;color:#54485a;font-size:12px;line-height:2.2}.tdtp-plus-concept>div p{margin:0 0 8px!important;font-size:inherit!important;line-height:inherit!important}.tdtp-plus-related{padding:0!important;margin:0!important;list-style:none!important}.tdtp-plus-related li{padding:0!important;margin:0!important;list-style:none!important;border-bottom:1px solid #eeeaf0}.tdtp-plus-related li:last-child{border-bottom:0}.tdtp-plus-related a{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#594272!important;font-size:12px;font-weight:550;padding:9px 4px}.tdtp-plus-related a:hover{color:#362147!important}.tdtp-plus-related a span{font-size:16px;color:#8b9c8c}
.tdtp-plus-compact{margin:14px 0 17px;padding:17px 17px 13px;background:#fbfafc;box-shadow:none;border-radius:13px}.tdtp-plus-compact .tdtp-plus-head{margin-bottom:12px}.tdtp-plus-compact .tdtp-plus-head strong{font-size:13px}.tdtp-plus-compact .tdtp-plus-head>div>span{font-size:10px}.tdtp-plus-compact .tdtp-plus-mark{width:33px;height:33px;border-radius:9px;font-size:17px}.tdtp-plus-compact .tdtp-plus-listen{padding:10px;gap:8px}.tdtp-plus-compact .tdtp-plus-listen-label small{display:none}.tdtp-plus-compact .tdtp-plus-tabs button{min-height:35px;font-size:11px!important}.tdtp-plus-compact .tdtp-plus-note{font-size:12px}
.tdtp-plus-landing{background:linear-gradient(110deg,#f7f3f8,#f4f6f2);border:1px solid #e7e0ea;border-radius:18px;max-width:1140px;padding:25px;margin:35px auto;direction:rtl;color:#44354f}.tdtp-plus-landing h2{font-size:21px;margin:0 0 8px}.tdtp-plus-landing>p{margin:0 0 12px;color:#756b7b;font-size:13px;line-height:2.2}.tdtp-plus-landing .tdtp-plus{margin:16px 0 9px}.tdtp-plus-landing>a{font-size:12px;color:#5d416e!important;font-weight:700;text-decoration:none!important}
@media(max-width:650px){.tdtp-plus{padding:15px 15px 13px;border-radius:14px;margin:18px auto}.tdtp-plus-listen{grid-template-columns:1fr;padding:11px 12px;gap:7px}.tdtp-plus-listen .tdtp-plus-audio{width:100%;min-width:0}.tdtp-plus-listen .tdtp-plus-speak{justify-self:start}.tdtp-plus-tabs button{padding:6px 2px;font-size:11px!important}.tdtp-plus-landing{padding:16px;margin:20px 0}}
@media(prefers-reduced-motion:reduce){.tdtp-plus *, .tdtp-plus *:before,.tdtp-plus *:after{animation:none!important;transition:none!important}}

.tdtp-plus-speed-label{display:inline-flex;align-items:center;gap:6px;color:#817388;font-size:10px;white-space:nowrap}.tdtp-plus-speed-label select{border:1px solid #e2d8e7;border-radius:6px;padding:3px 6px;background:#fff;color:#634a73;font:inherit}.tdtp-plus-speed-label select:focus-visible{outline:2px solid #8864a0}.tdtp-plus-listen:has(.tdtp-plus-speed-label){grid-template-columns:minmax(0,1fr) auto auto}.tdtp-plus-listen:has(.tdtp-plus-speed-label) .tdtp-plus-disclosure{grid-column:1/-1}@media(max-width:650px){.tdtp-plus-listen:has(.tdtp-plus-speed-label){grid-template-columns:1fr auto}.tdtp-plus-listen:has(.tdtp-plus-speed-label) .tdtp-plus-listen-label{grid-column:1/-1}}
/* Extracted original context: visibly distinct from editorial commentary. */
.tdtp-plus-neighbor{margin:0 0 15px;padding:12px 15px;background:#faf9fb;border-inline-start:2px solid #aebba7;border-radius:10px}
.tdtp-plus-neighbor small{display:block;color:#735888;font-size:11px;font-weight:650;margin:0 0 6px}
.tdtp-plus-neighbor p{margin:0!important;color:#4a4050;font-size:12.5px;line-height:2.25;white-space:pre-line}
.tdtp-plus-attribution{margin:12px 0 0!important;padding-top:9px;border-top:1px solid #eee9f0;color:#887d90;font-size:10.5px!important;line-height:2.1!important}
.tdtp-plus-attribution a{color:#5b3e70!important;border-bottom:1px solid #cbbdd3}
.tdtp-plus-speech-status{color:#775c89;grid-column:1/-1;font-size:11px;line-height:1.9}

/* v1.7: supplementary controls only; NEVER change the page grid, header or gradients. */
.tdtp-a-card>.tdtp-plus{flex:0 0 auto;width:100%;margin:6px 0 15px}
.tdtp-plus-compact.tdtp-plus{width:100%;max-width:100%;margin:10px 0 18px;padding:12px 12px 11px;border-radius:12px;border:1px solid #eee7f0;background:#fbfafc;box-shadow:none}
.tdtp-plus-compact .tdtp-plus-head{margin:0 0 11px}
.tdtp-plus-compact .tdtp-plus-mark{width:30px;height:30px;font-size:15px}
.tdtp-plus-compact .tdtp-plus-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;overflow:visible}
.tdtp-plus-compact .tdtp-plus-tabs button{min-width:0;font-size:10.5px!important;padding:6px 3px;min-height:36px}
.tdtp-plus-compact .tdtp-plus-pane{font-size:12px;min-height:0;max-height:270px;overflow-y:auto;padding:8px 3px 5px;overscroll-behavior:contain}
.tdtp-plus-compact .tdtp-plus-neighbor p{font-size:11.5px}
.tdtp-plus-compact .tdtp-plus-attribution{font-size:10px!important}
.tdtp-plus-injected{clear:both;display:block;width:100%;max-width:100%;min-width:0;margin-top:14px}
.tdtp-plus-injected .tdtp-plus-compact{margin:0;padding:11px;box-shadow:none}
.tdtp-plus [hidden]{display:none!important}
@media(max-width:390px){.tdtp-plus-compact .tdtp-plus-tabs button{font-size:10px!important}.tdtp-plus-compact.tdtp-plus{padding:9px}}
