/* Tadaei special membership | scoped front-end styles */
.tsm,.tsm-gate,.tsm-status{--t-ink:#273039;--t-muted:#69717a;--t-line:#e8e7e2;--t-burg:#79545b;--t-teal:#497b78;--t-cream:#faf8f4;font-family:inherit;color:var(--t-ink);direction:rtl;text-align:right;box-sizing:border-box}
.tsm *, .tsm-gate *, .tsm-status *{box-sizing:border-box}
.tsm svg,.tsm-gate svg,.tsm-status svg{width:19px;height:19px;flex-shrink:0}
.tsm{max-width:1120px;margin:24px auto 46px;line-height:1.9}
.tsm a,.tsm-gate a{text-decoration:none!important}
.tsm-hero{background:linear-gradient(110deg,#f8f7f2 0%,#f5f4f0 56%,#eef3ef 100%);border:1px solid #e5e6df;border-radius:25px;padding:35px 42px 23px;overflow:hidden;position:relative}
.tsm-eyebrow,.tsm-gate-kicker{letter-spacing:.045em;font-size:11px!important;color:#71837d;display:flex;align-items:center;gap:9px;font-weight:650}
.tsm-dot{width:8px;height:8px;background:#81a29b;display:inline-block;border-radius:100%}
.tsm-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:35px}
.tsm-hero h2{font-size:clamp(27px,4vw,38px)!important;font-weight:760!important;line-height:1.55!important;color:#33443d!important;margin:20px 0 10px!important}
.tsm-hero p{margin:0!important;font-size:14px;line-height:2.3;color:#56625d;max-width:620px}
.tsm-hero-art{height:174px;position:relative;display:flex;align-items:center;justify-content:center}
.tsm-ring{border:1px solid #bed1c9;border-radius:100%;position:absolute;width:155px;height:155px;opacity:.72}.tsm-ring.r2{width:118px;height:118px;border-color:#d8c9c0}
.tsm-art-center{width:70px;height:70px;border-radius:26px;background:#e5ede6;color:#628c7f;display:grid;place-items:center;transform:rotate(-8deg)}.tsm-art-center svg{width:35px;height:35px;transform:rotate(8deg);stroke-width:1.1}
.tsm-hero-art>span{position:absolute;bottom:0;font-size:10px;letter-spacing:.19em;color:#89988e}
.tsm-benefits{display:flex;flex-wrap:wrap;gap:9px 25px;border-top:1px solid #dee5de;padding-top:20px;margin-top:24px;color:#62716b;font-size:12px}
.tsm-benefits span{display:inline-flex;gap:8px;align-items:center}.tsm-benefits svg{width:16px;height:16px;color:#648e83}
.tsm-section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:34px 2px 20px}.tsm-kicker{font-size:11px;color:#ac7f88;font-weight:700}.tsm-section-heading h3{font-size:22px!important;margin:4px 0 0!important;line-height:1.65!important;color:#37413e!important}.tsm-section-heading p{margin:0!important;color:#88918d;font-size:12px}
.tsm-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tsm-plan{border:1px solid #e4e6e4;border-radius:23px;background:#fff;min-width:0;padding:25px 24px 22px;display:flex;flex-direction:column;position:relative;transition:border .2s ease,box-shadow .2s ease,transform .2s ease}
.tsm-plan:hover{border-color:#c5d3cc;box-shadow:0 13px 35px #4b716514;transform:translateY(-2px)}
.tsm-plan.is-popular{background:#f4f7f4;border-color:#bcd0c6}.tsm-plan.is-annual{background:#faf7f6;border-color:#e6d9d5}.tsm-plan.is-selected{outline:2px solid #79998b;outline-offset:2px}
.tsm-plan-top{display:flex;align-items:center;justify-content:space-between;min-height:22px;gap:5px}.tsm-plan-id{font-size:10px;letter-spacing:.09em;color:#a6aaa9;direction:ltr}.tsm-flag{background:#e0ebe4;color:#4b7968;font-size:10px;padding:3px 11px;border-radius:20px;white-space:nowrap}.tsm-flag-annual{background:#f3e9e6;color:#9c7372}
.tsm-plan-name{margin-top:22px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.tsm-plan h4{font-size:23px!important;margin:0!important;line-height:1.6!important;color:#3a4c45!important}.tsm-plan-name>span{color:#919a96;font-size:11px}.tsm-price{display:flex;align-items:baseline;gap:8px;margin-top:17px;white-space:nowrap}.tsm-price strong{font-size:clamp(24px,2.55vw,33px);font-weight:750;letter-spacing:-.035em;line-height:1.5;color:#293b36;font-variant-numeric:tabular-nums}.tsm-price span{font-size:12px;color:#818a84}
.tsm-monthly{font-size:12px!important;color:#8d9891!important;margin:3px 0 20px!important}.tsm-plan-rule{height:1px;background:#e7eae7}.tsm-plan-desc{font-size:12px!important;color:#6d7773!important;line-height:2!important;min-height:48px;margin:19px 0 22px!important}.tsm-plan form{margin-top:auto!important;margin-bottom:0!important}.tsm-buy-btn,.tsm-gate-main{border:0;display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#587e73;color:#fff!important;border-radius:12px;padding:12px 17px;width:100%;font:inherit!important;font-size:13px!important;font-weight:650!important;cursor:pointer;line-height:1.9!important;transition:background .2s ease,transform .2s ease;text-align:right}.tsm-plan.is-annual .tsm-buy-btn{background:#886a6d}.tsm-buy-btn:hover,.tsm-gate-main:hover{background:#3f6559;transform:translateY(-1px);color:#fff!important}.tsm-buy-btn svg{width:17px;height:17px}
.tsm-footnote{border:1px solid #ede8e4;background:#fbf9f6;border-radius:18px;margin-top:18px;padding:20px 23px;display:flex;gap:15px;align-items:center}.tsm-footnote-icon{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;background:#f1eae6;color:#ac8d83}.tsm-footnote p{flex:1;margin:0!important;font-size:12px!important;line-height:2.1!important;color:#7b7673!important}.tsm-footnote strong{color:#59524e}.tsm-footnote a{display:flex;align-items:center;gap:9px;font-size:12px;color:#886b62;white-space:nowrap}.tsm-footnote a:hover{color:#563e42}.tsm-footnote a svg{width:14px;height:14px}
.tsm-account-hint{text-align:center;font-size:12px;color:#8a918c;padding:22px 6px}.tsm-account-hint a{color:#557e70;font-weight:650}.tsm-account-hint span{padding:0 8px;color:#bbb}
.tsm-active{margin-top:18px;border:1px solid #d4e3d9;background:#f1f7f1;border-radius:15px;padding:13px 17px;display:flex;align-items:center;gap:13px}.tsm-active-icon{background:#dcecdf;width:34px;height:34px;border-radius:100%;color:#4c8267;display:grid;place-items:center}.tsm-active strong{display:block;font-size:13px;color:#4d795e}.tsm-active small{display:block;font-size:11px;color:#6c8d77}
.tsm-article-preview{line-height:2.25;position:relative;max-width:100%;margin:0 0 8px}.tsm-article-preview p{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;margin-bottom:1.35em!important;text-align:justify}.tsm-article-preview p:last-child{margin-bottom:0!important}
.tsm-gate{clear:both;border:1px solid #e1e8df;border-radius:24px;background:linear-gradient(145deg,#f6f8f5,#faf8f4);padding:36px 36px 29px;text-align:center;max-width:760px;margin:26px auto 34px;position:relative;box-shadow:0 18px 44px #344f4b0b}.tsm-gate::before{content:"";position:absolute;top:-54px;left:0;right:0;height:56px;background:linear-gradient(transparent,#fff);pointer-events:none}.tsm-gate-mark{display:grid;place-items:center;margin:0 auto 13px;width:53px;height:53px;border-radius:17px;background:#e4ede5;color:#557c66}.tsm-gate-mark svg{width:24px;height:24px}.tsm-gate-kicker{justify-content:center;color:#758879;letter-spacing:.12em}.tsm-gate h3{font-size:24px!important;line-height:1.7!important;color:#364c41!important;margin:12px 0 10px!important}.tsm-gate>p{font-size:13px!important;color:#68776d!important;line-height:2.25!important;max-width:520px;margin:0 auto 20px!important}.tsm-gate-actions{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap}.tsm-gate-main{width:auto!important;min-width:230px;padding:11px 17px;background:#597d6c}.tsm-gate-secondary{font-size:12px;color:#65786c!important;padding:10px 16px}.tsm-gate-caption{border-top:1px solid #e4e9e1;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:#879089;margin-top:23px;padding-top:19px}.tsm-gate-caption svg{width:15px;height:15px}
.tsm-status{display:flex;align-items:center;gap:12px;border:1px solid #e9e4e0;background:#fbf9f7;padding:15px 18px;border-radius:14px;font-size:12px;flex-wrap:wrap}.tsm-status svg{color:#8a716b}.tsm-status a{margin-right:auto;color:#667f70;text-decoration:none}.tsm-status-on{background:#f2f8f3;border-color:#cde0cf}.tsm-status-on svg{color:#53906c}
@media(max-width:900px){.tsm-hero-grid{grid-template-columns:1fr 170px;gap:10px}.tsm-hero{padding:28px 26px 19px}.tsm-plans{gap:10px}.tsm-plan{padding:20px 17px}.tsm-price strong{font-size:25px}}
@media(max-width:680px){.tsm{margin:12px auto 27px;padding:0 2px}.tsm-hero{border-radius:19px;padding:24px 21px 18px}.tsm-hero-grid{grid-template-columns:1fr}.tsm-hero-art{display:none}.tsm-hero h2{font-size:28px!important;margin:14px 0 8px!important}.tsm-hero p{font-size:12.5px}.tsm-benefits{margin-top:16px;padding-top:15px;gap:8px 13px;font-size:10.5px}.tsm-benefits svg{width:14px;height:14px}.tsm-section-heading{align-items:start;margin:27px 3px 14px}.tsm-section-heading h3{font-size:19px!important}.tsm-section-heading p{display:none}.tsm-plans{grid-template-columns:1fr;gap:12px}.tsm-plan{border-radius:19px;padding:20px 22px 21px}.tsm-plan-name{margin-top:11px}.tsm-price{margin-top:9px}.tsm-monthly{margin-bottom:12px!important}.tsm-plan-desc{min-height:0;margin:13px 0 14px!important}.tsm-footnote{align-items:flex-start;flex-wrap:wrap;padding:17px}.tsm-footnote-icon{width:36px;height:36px}.tsm-footnote p{width:calc(100% - 54px);flex:auto}.tsm-footnote a{margin-right:50px}.tsm-gate{padding:25px 19px 22px;border-radius:19px;margin-top:28px}.tsm-gate h3{font-size:19px!important}.tsm-gate>p{font-size:12px!important}.tsm-gate-actions{flex-direction:column;gap:4px}.tsm-gate-main{width:100%!important;min-width:0;justify-content:center}.tsm-gate-caption{font-size:10px}}
/* Registration screen, matching the membership cards. */
.tsm-register{max-width:670px;margin:25px auto 45px;padding:31px 36px;border:1px solid #e5e9e4;border-radius:22px;background:linear-gradient(135deg,#fbfaf7,#f5f8f5);direction:rtl;color:#34423a;font-family:inherit}.tsm-register *{box-sizing:border-box}.tsm-register-intro{margin-bottom:22px}.tsm-register-intro .tsm-kicker{letter-spacing:.12em}.tsm-register h2{font-size:26px!important;margin:6px 0 10px!important;line-height:1.6!important;color:#3d5547!important}.tsm-register-intro p{font-size:12.5px!important;line-height:2.1!important;color:#77867b!important;margin:0!important}.tsm-register-form{display:flex;flex-direction:column;gap:15px}.tsm-register-form label{font-size:12.5px;display:block;font-weight:650;color:#52685a}.tsm-register-form input{width:100%;display:block;height:44px;margin-top:6px;border:1px solid #dae4dc;border-radius:11px;background:#fff;font-size:14px;padding:9px 13px;box-shadow:none;outline:none;color:#35433d}.tsm-register-form input:focus{border-color:#8db4a0;box-shadow:0 0 0 3px #c6e0ce55}.tsm-register-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.tsm-register-form button{margin-top:6px}.tsm-register-bottom{margin-top:23px;text-align:center;font-size:12px;color:#87958a}.tsm-register-bottom a{color:#547b64;text-decoration:none;font-weight:650}.tsm-register-trap{display:none!important}.tsm-register-error{border:1px solid #e8ccc7;background:#fff3f2;color:#975c52;padding:11px 14px;border-radius:10px;margin:0 0 18px;font-size:12px}.tsm-register-done a{color:#557969}.tsm-register .tsm-buy-btn svg{width:18px;height:18px}@media(max-width:600px){.tsm-register{padding:25px 20px;border-radius:17px}.tsm-register-pair{grid-template-columns:1fr;gap:15px}.tsm-register h2{font-size:22px!important}}

/* V1.1 unified subscription architecture */
.tsm{max-width:1060px;margin:25px auto 44px;color:#35453d}
.tsm-shell{overflow:hidden;border:1px solid #e1e6df;border-radius:25px;background:#fff;box-shadow:0 18px 54px rgba(59,79,67,.055)}
.tsm-shell .tsm-hero{padding:34px 43px 24px;border:0;border-radius:0;background:linear-gradient(112deg,#f5f7f2,#fbfaf7 64%,#f7f0ee)}
.tsm-shell .tsm-hero-grid{grid-template-columns:minmax(0,1fr) 145px;gap:26px}
.tsm-shell .tsm-hero h2{margin:13px 0 8px!important;font-size:clamp(26px,3.2vw,34px)!important;color:#314b42!important}
.tsm-shell .tsm-hero p{max-width:650px;font-size:13px;line-height:2.3}
.tsm-shell .tsm-eyebrow{display:flex;flex-wrap:wrap;gap:9px;color:#557d69;font-size:11px!important}
.tsm-eyebrow-english{direction:ltr;margin-right:auto;letter-spacing:.11em;font-size:9px;color:#adb4ac;font-family:Arial,sans-serif}
.tsm-shell .tsm-hero-art{height:125px}
.tsm-shell .tsm-ring{height:115px;width:115px;opacity:.55}
.tsm-shell .tsm-ring.r2{width:88px;height:88px}
.tsm-shell .tsm-art-center{width:59px;height:59px;border-radius:19px;background:#e6eee7;transform:rotate(-7deg)}
.tsm-shell .tsm-art-center svg{height:28px;width:28px}
.tsm-shell .tsm-benefits{margin-top:17px;padding-top:16px;gap:12px 25px}
.tsm-shell .tsm-pricing-body{padding:27px 43px 23px}
.tsm-shell .tsm-section-heading{margin:0 0 18px;align-items:center}
.tsm-shell .tsm-section-heading h3{font-size:21px!important;margin:4px 0 0!important}
.tsm-shell .tsm-plans{gap:0;border:1px solid #e1e7df;border-radius:18px;overflow:hidden;background:#fff}
.tsm-shell .tsm-plan{padding:25px 25px 22px;border:0;border-radius:0;box-shadow:none!important;transform:none!important;position:relative}
.tsm-shell .tsm-plan+.tsm-plan{border-right:1px solid #e2e8e3}
.tsm-shell .tsm-plan:hover{background:#f9fbf8}
.tsm-shell .tsm-plan.is-popular{background:#f5f8f5}
.tsm-shell .tsm-plan.is-annual{background:#fbf8f6}
.tsm-shell .tsm-plan.is-selected{outline:-2px solid #739b85;outline-offset:-2px}
.tsm-shell .tsm-plan-top{direction:rtl;min-height:25px}
.tsm-shell .tsm-plan-id{font-size:10px;color:#969f99;letter-spacing:.01em;direction:rtl}
.tsm-shell .tsm-flag{font-size:10px;font-weight:600}
.tsm-shell .tsm-plan h4{font-size:21px!important;line-height:1.7!important;margin:17px 0 6px!important;color:#43584e!important}
.tsm-monthly-hero{display:flex;align-items:baseline;gap:8px;margin:6px 0 11px;white-space:nowrap}
.tsm-monthly-hero strong{font-size:clamp(21px,2.5vw,30px);font-weight:750;color:#273c34;line-height:1.6;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.tsm-monthly-hero>div{color:#748077;font-size:11px}
.tsm-monthly-hero>div span{display:block;font-size:11px;margin-top:-5px}
.tsm-plan-total{border-top:1px solid #e8ede8;padding-top:14px;font-size:11px;display:flex;justify-content:space-between;gap:10px;color:#79847a;flex-wrap:wrap;min-height:49px}
.tsm-plan-total strong{color:#43554b;font-size:12px;font-weight:720}
.tsm-savings{background:#edf5ee;border:1px solid #dae9dc;color:#3f745b;border-radius:10px;padding:10px 12px;margin:13px 0 19px;min-height:71px;display:flex;flex-direction:column;gap:1px}
.tsm-savings span{font-size:12px;font-weight:700;line-height:1.85}
.tsm-savings small{font-size:10.5px;color:#6b8873}
.tsm-savings-base{background:#f7f6f3;border-color:#ecece7;color:#8c9189}
.tsm-savings-base small{color:#999e95}
.tsm-shell .tsm-buy-btn{justify-content:center;gap:13px;border-radius:10px;background:#547969;padding:12px 14px;font-size:12px!important;line-height:1.9!important}
.tsm-shell .tsm-buy-btn:hover{background:#3d6252}
.tsm-shell .tsm-plan.is-annual .tsm-buy-btn{background:#886c6f}
.tsm-shell .tsm-plan.is-annual .tsm-buy-btn:hover{background:#79595d}
.tsm-shell .tsm-discount-note{color:#87918b;font-size:10.5px!important;margin:15px 3px 0!important;line-height:2.1!important}
.tsm-shell .tsm-footnote{margin:0;border:0;border-top:1px solid #e7e8e3;background:#f9f9f5;border-radius:0;padding:21px 42px;gap:14px}
.tsm-shell .tsm-footnote-icon{width:38px;height:38px;border-radius:12px;background:#f0eae7}
.tsm-shell .tsm-footnote p{font-size:11px!important;line-height:2.15!important}
.tsm-shell .tsm-footnote a{font-size:11px;color:#746c60}
.tsm-notice{display:flex;align-items:center;gap:13px;margin-bottom:17px;padding:14px 18px;border:1px solid #e1e7dc;background:#f7f9f4;border-radius:15px;font-size:12px;color:#5e6a5d;line-height:2}
.tsm-notice strong,.tsm-notice span{display:block}
.tsm-notice svg{color:#4b8468}
.tsm-notice-success{background:#f0f8f0;border-color:#cde6d2}
.tsm-notice-error{background:#fff7f4;border-color:#eddbd1;color:#955c50}
.tsm-shell .tsm-active{margin:0 43px 20px;border-radius:12px}
@media (max-width:900px){.tsm-shell .tsm-hero{padding:28px 28px 22px}.tsm-shell .tsm-pricing-body{padding:24px 25px 20px}.tsm-shell .tsm-plan{padding:21px 16px}.tsm-monthly-hero{flex-wrap:wrap;gap:4px 6px}.tsm-monthly-hero strong{font-size:23px}.tsm-shell .tsm-footnote{padding:20px 25px}.tsm-shell .tsm-active{margin:0 25px 15px}}
@media (max-width:680px){.tsm-shell{border-radius:17px}.tsm-shell .tsm-hero{padding:23px 20px 20px}.tsm-eyebrow-english{display:none}.tsm-shell .tsm-hero-grid{grid-template-columns:1fr}.tsm-shell .tsm-hero h2{font-size:27px!important;margin:11px 0 7px!important}.tsm-shell .tsm-hero p{font-size:12.5px}.tsm-shell .tsm-hero-art{display:none}.tsm-shell .tsm-benefits{gap:8px 17px;font-size:10px;margin-top:14px}.tsm-shell .tsm-pricing-body{padding:20px 15px}.tsm-shell .tsm-section-heading{margin:0 5px 13px}.tsm-shell .tsm-section-heading h3{font-size:19px!important}.tsm-shell .tsm-plans{grid-template-columns:1fr;border-radius:14px}.tsm-shell .tsm-plan{padding:19px 21px 20px}.tsm-shell .tsm-plan+.tsm-plan{border-right:0;border-top:1px solid #e4e8e3}.tsm-shell .tsm-plan h4{font-size:21px!important;margin:8px 0 1px!important}.tsm-monthly-hero{margin:1px 0 9px}.tsm-monthly-hero strong{font-size:27px}.tsm-plan-total{padding-top:9px;min-height:0}.tsm-savings{min-height:0;margin:10px 0 13px;padding:8px 11px}.tsm-shell .tsm-discount-note{font-size:10px!important;margin:11px 5px 0!important}.tsm-shell .tsm-footnote{padding:18px 19px;gap:10px}.tsm-shell .tsm-footnote p{font-size:10.8px!important}.tsm-shell .tsm-footnote a{margin-right:48px}.tsm-shell .tsm-active{margin:10px 15px}}

/* V1.2 | Tadaei Case Conference palette; brand #2D1755 */
.tsm,.tsm-gate,.tsm-status,.tsm-register{
  --tsm-brand:#2D1755;--tsm-brand-hover:#43296B;
  --tsm-ink:#33363d;--tsm-copy:#5b6068;--tsm-muted:#777c82;
  --tsm-purple:#777090;--tsm-lavender:#f2f0f8;
  --tsm-sage:#67887e;--tsm-sage-bg:#eef5f0;
  --tsm-sand:#a27e63;--tsm-sand-bg:#f8f3eb;
  --tsm-line:#e8e8e6;
  --t-ink:#33363d;--t-muted:#777c82;--t-line:#e8e8e6;
  --t-burg:#777090;--t-teal:#67887e;--t-cream:#f8f3eb;
  color:var(--tsm-ink);
}
.tsm{color:var(--tsm-ink)}
.tsm-shell{position:relative;border-color:#e6e6e5;box-shadow:0 9px 30px rgba(55,50,71,.035)}
.tsm-shell::before{content:"";position:absolute;top:0;inset-inline:0;height:5px;z-index:1;background:linear-gradient(to left,#cec7df 0 38%,#d2e1d9 38% 70%,#e9ddca 70% 100%)}
.tsm-shell .tsm-hero{background:linear-gradient(115deg,#f8f8f5 2%,#f7f7f5 44%,#f1f0f7 100%);border-color:#e6e6e5}
.tsm-shell .tsm-hero h2{color:#33343c!important;font-weight:750!important}
.tsm-shell .tsm-hero p{color:#666a71}
.tsm-shell .tsm-eyebrow{color:#756d88}
.tsm-dot{background:var(--tsm-brand);width:6px;height:6px}
.tsm-eyebrow-english{color:#90879f}
.tsm-shell .tsm-benefits{border-color:#e5e3e9;color:#747780}
.tsm-shell .tsm-benefits svg{color:#827a9c}
.tsm-shell .tsm-ring{border-color:#d4d2e0}
.tsm-shell .tsm-ring.r2{border-color:#dedde5}
.tsm-shell .tsm-art-center{background:#fff;border:1px solid #e1dfe8;box-shadow:0 12px 34px #57507311;color:#777090}
.tsm-kicker{color:#8a7d9d}
.tsm-shell .tsm-section-heading h3{color:#363940!important}
.tsm-shell .tsm-section-heading p{color:#929098}
.tsm-shell .tsm-plans{border-color:#e4e4e6}
.tsm-shell .tsm-plan{background:#fff}
.tsm-shell .tsm-plan+.tsm-plan{border-color:#e8e7e9}
.tsm-shell .tsm-plan:hover{background:#faf9fc}
.tsm-shell .tsm-plan.is-popular{background:#f4f2f9}
.tsm-shell .tsm-plan.is-popular:hover{background:#efedf6}
.tsm-shell .tsm-plan.is-annual{background:#fbf8f3}
.tsm-shell .tsm-plan.is-annual:hover{background:#f9f5ec}
.tsm-shell .tsm-plan.is-selected{outline:2px solid var(--tsm-brand);outline-offset:-2px}
.tsm-shell .tsm-plan h4{color:#41414b!important}
.tsm-shell .tsm-plan-id{color:#97939f}
.tsm-shell .tsm-monthly-hero strong{color:#33343c}
.tsm-shell .tsm-monthly-hero>div{color:#85838e}
.tsm-shell .tsm-plan-total{border-color:#e6e5e9;color:#82818a}
.tsm-shell .tsm-plan-total strong{color:#4b4754}
.tsm-shell .tsm-flag{background:#e8e3f1;color:#665877;border:1px solid #ded7e9}
.tsm-shell .tsm-flag-annual{background:#f1e9da;color:#896b51;border:1px solid #e9dcc8}
.tsm-shell .tsm-savings{background:#ece8f4;border-color:#ded8ea;color:#5c4d76}
.tsm-shell .tsm-savings small{color:#80748f}
.tsm-shell .tsm-plan.is-annual .tsm-savings{background:#f4eddf;border-color:#e9dfce;color:#80674e}
.tsm-shell .tsm-plan.is-annual .tsm-savings small{color:#967d67}
.tsm-shell .tsm-savings-base{background:#f6f5f2;border-color:#ebeae7;color:#818187}
.tsm-shell .tsm-savings-base small{color:#929296}
.tsm-shell .tsm-buy-btn,
.tsm-shell .tsm-plan.is-annual .tsm-buy-btn,
.tsm-buy-btn,.tsm-gate-main{background:var(--tsm-brand);border:1px solid var(--tsm-brand);color:#fff!important}
.tsm-shell .tsm-buy-btn:hover,
.tsm-shell .tsm-plan.is-annual .tsm-buy-btn:hover,
.tsm-buy-btn:hover,.tsm-gate-main:hover{background:var(--tsm-brand-hover);border-color:var(--tsm-brand-hover)}
.tsm-shell .tsm-discount-note{color:#8d8a93}
.tsm-shell .tsm-footnote{background:#fbfaf8;border-color:#e9e7e4}
.tsm-footnote-icon,.tsm-shell .tsm-footnote-icon{background:#f0edf6;color:#796c92}
.tsm-footnote p,.tsm-shell .tsm-footnote p{color:#77757d!important}
.tsm-footnote strong{color:#53525a}
.tsm-footnote a,.tsm-shell .tsm-footnote a{color:var(--tsm-brand)}
.tsm-footnote a:hover{color:var(--tsm-brand-hover)}
.tsm-account-hint{color:#88878e}
.tsm-account-hint a{color:var(--tsm-brand)}
.tsm-account-hint a:hover{color:var(--tsm-brand-hover)}
.tsm-active{background:var(--tsm-sage-bg);border-color:#dfebe1}
.tsm-active-icon{background:#e2ede5;color:#658978}
.tsm-active strong{color:#536e60}.tsm-active small{color:#728b7b}
.tsm-gate{border-color:#e4e1e8;background:linear-gradient(115deg,#f8f8f5,#f1f0f7);box-shadow:0 9px 30px #37324708}
.tsm-gate-mark{background:#eeeaf5;color:var(--tsm-brand)}
.tsm-gate-kicker{color:#81748f}
.tsm-gate h3{color:#33343c!important}
.tsm-gate>p{color:#666a71!important}
.tsm-gate-secondary{color:var(--tsm-brand)!important}
.tsm-gate-caption{color:#818089;border-color:#e6e3e9}
.tsm-status{background:#fbfaf8;border-color:#e8e6e5;color:#686b72}
.tsm-status svg{color:#837890}
.tsm-status a{color:var(--tsm-brand)}
.tsm-status-on{background:var(--tsm-sage-bg);border-color:#dfeadf}
.tsm-status-on svg{color:#67887e}
.tsm-notice{background:#f5f2f9;border-color:#e5e0ef;color:#675f77}
.tsm-notice svg{color:#82789c}
.tsm-notice-success{background:var(--tsm-sage-bg);border-color:#d7e6db;color:#557668}
.tsm-notice-error{background:#fff7f4;border-color:#eddbd1;color:#955c50}
.tsm-register{background:linear-gradient(135deg,#faf9fc,#f8f8f5 65%,#eef5f0);border-color:#e6e3e9;color:var(--tsm-ink)}
.tsm-register h2{color:#33343c!important}
.tsm-register-intro p{color:#767780!important}
.tsm-register-form label{color:#625d70}
.tsm-register-form input{border-color:#e2dfe9;color:#383440}
.tsm-register-form input:focus{border-color:var(--tsm-brand);box-shadow:0 0 0 3px rgba(45,23,85,.10)}
.tsm-register-bottom{color:#85818d}
.tsm-register-bottom a,.tsm-register-done a{color:var(--tsm-brand)}
@media (prefers-reduced-motion:reduce){.tsm *, .tsm-gate *, .tsm-register *{transition:none!important}}

/* V1.3 | Explicit per-month equivalent and uninterrupted account-to-checkout journey */
.tsm-monthly-hero>div span{font-weight:700;color:#716881}
.tsm-shell .tsm-plan-total{background:#fff9;border-radius:9px;padding:11px 10px;margin:1px -10px 0;min-height:0;border-top:1px solid #ebe8ee}
.tsm-checkout-guide{max-width:1120px;margin:14px auto 0;border:1px solid #e7e2ed;background:linear-gradient(110deg,#f7f5fa,#fbfaf8);border-radius:15px;padding:18px 24px;color:#545260;box-shadow:0 4px 18px #37324704}
.tsm-checkout-guide-label{font-weight:720;color:#514563;font-size:12px}
.tsm-checkout-guide ol{list-style:none;padding:0;margin:12px 0 7px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}
.tsm-checkout-guide li{display:flex;align-items:center;gap:7px;font-size:12px;color:#555560}
.tsm-checkout-guide li+li::before{content:'←';margin-left:7px;color:#b3aaba;font-size:15px}
.tsm-checkout-guide li b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #ded7e8;border-radius:8px;background:#fff;color:#2d1755;font-size:11px;font-weight:750}
.tsm-checkout-guide p{margin:6px 0 0!important;font-size:11.5px!important;line-height:2.1!important;color:#797583!important}
.tsm-auth{border-color:#e3dfea;box-shadow:0 10px 38px #44385e08}
.tsm-auth-summary{display:flex;justify-content:space-between;gap:10px 25px;flex-wrap:wrap;margin:20px 0 0;padding:13px 17px;border:1px solid #e9e4f0;background:#f4f1f8;border-radius:12px}
.tsm-auth-summary span{font-size:11.5px;color:#6e647a;display:flex;gap:8px;flex-wrap:wrap}.tsm-auth-summary strong{color:#2d1755;font-size:12.5px}
.tsm-auth-switch{display:grid;grid-template-columns:1fr 1fr;background:#f4f2f7;border:1px solid #e8e3ee;border-radius:12px;padding:4px;margin-bottom:22px;gap:4px}
.tsm-auth-switch a{display:block;text-align:center;padding:10px 12px;border-radius:9px;color:#7d7589;text-decoration:none!important;font-size:12px;font-weight:690;line-height:1.8}
.tsm-auth-switch a.is-current{color:#2d1755;background:#fff;box-shadow:0 2px 9px #4a3c5c14}
.tsm-auth-login form{display:flex;flex-direction:column;gap:13px}
.tsm-auth-login p{margin:0!important}
.tsm-auth-login label{font-size:12.5px;color:#625d70;font-weight:660;display:block}
.tsm-auth-login input[type=text],.tsm-auth-login input[type=password]{width:100%;height:45px;border:1px solid #e2dfe9;border-radius:10px;background:#fff;margin-top:6px;padding:10px 13px;font-size:14px;display:block;direction:ltr;text-align:left}
.tsm-auth-login input:focus-visible{outline:2px solid #9586a9;outline-offset:2px}
.tsm-auth-login .login-remember label{display:flex;gap:8px;align-items:center;color:#777080}
.tsm-auth-login .login-submit input{display:block;width:100%;border:1px solid #2d1755;background:#2d1755;color:#fff;font-family:inherit;padding:12px 15px;border-radius:11px;font-size:13px;font-weight:700;cursor:pointer}
.tsm-auth-forgot{display:inline-block;margin-top:13px;color:#67557f;text-decoration:none!important;font-size:11.5px}
@media(max-width:680px){.tsm-checkout-guide{padding:16px 18px;margin-top:10px}.tsm-checkout-guide ol{gap:9px 12px}.tsm-checkout-guide li{font-size:11px}.tsm-checkout-guide li+li::before{margin-left:2px}.tsm-auth-summary{flex-direction:column;padding:12px 14px}.tsm-auth-switch a{font-size:11px;padding:9px 6px}.tsm-shell .tsm-plan-total{margin:1px -8px 0}}

/* v1.6: account and bilingual Solar Hijri expiry presentation */
.tsm-dual-date{display:inline-flex;flex-direction:column;align-items:flex-start;vertical-align:middle;gap:2px;text-align:right;line-height:1.7}
.tsm-dual-date-fa{font-weight:750;color:#2d1755}
.tsm-dual-date-en{display:inline-flex;direction:rtl;gap:5px;align-items:center;font:11px/1.6 inherit;color:#81818b;letter-spacing:.1px}.tsm-dual-date-en span[lang=en]{font-family:Arial,sans-serif;unicode-bidi:isolate}
.tsm-account{max-width:1050px;margin:30px auto 65px}
.tsm-account-heading{padding:30px clamp(20px,4vw,52px);background:linear-gradient(110deg,#f8f8f5,#f1f0f7);border-bottom:1px solid #e6e2ec}
.tsm-account-heading h2{margin:8px 0!important;font-size:clamp(22px,3vw,32px)!important;color:#34323c!important}
.tsm-account-heading p{font-size:13px;color:#77747f;margin:0}
.tsm-account-content{padding:35px clamp(22px,4vw,52px);color:#55545d;text-align:right}
.tsm-account-content h2,.tsm-account-content h3{margin:0 0 10px!important;color:#37323f!important}
.tsm-account-content p{font-size:13px;line-height:2.1}
.tsm-account-status-icon{width:43px;height:43px;border-radius:13px;background:#f2f0f8;color:#2d1755;display:grid;place-items:center;margin-bottom:16px}
.tsm-account-status-icon svg{width:23px;height:23px}
.tsm-account-date{padding:16px 18px;border-radius:13px;border:1px solid #e8e2f0;background:#f7f5fb;display:flex;flex-direction:column;gap:6px;max-width:430px;margin:20px 0}
.tsm-account-date>span{font-size:11px;color:#88808f}
.tsm-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin:26px 0}
.tsm-account-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 23px;border-radius:10px;background:#2d1755;color:#fff!important;font-size:13px;font-weight:700;text-decoration:none!important}
.tsm-account-btn svg{width:17px;height:17px}
.tsm-account-alt{color:#594b6b!important;text-decoration:underline;text-underline-offset:4px}
.tsm-account-note{margin:12px 0 0;color:#88828c}
.tsm-active small .tsm-dual-date{display:inline-flex;vertical-align:top;margin:0 3px}
@media(max-width:640px){.tsm-account{margin:18px 12px 45px}.tsm-account-content{padding:25px 20px}.tsm-account-actions{align-items:stretch;flex-direction:column}.tsm-account-actions a{width:100%;text-align:center}}

.tsm-active-expiry{font-size:12px;color:#72717b;line-height:2}.tsm-active-expiry .tsm-dual-date{margin:0 4px}

/* v1.6.3 — independent login, restricted-article-only card arrangement */
.tsm-auth-login #tsm-login-form{display:flex;flex-direction:column;gap:16px}
.tsm-auth-login #tsm-login-form label{font-size:12.5px;color:#625d70;font-weight:650}
.tsm-auth-login #tsm-login-form input[type=text],.tsm-auth-login #tsm-login-form input[type=password]{margin-top:6px;width:100%;height:45px;background:#fff;border:1px solid #e2dfe9;border-radius:10px;padding:8px 12px;color:#333}
.tsm-auth-login #tsm-login-form .tsm-auth-remember{display:flex;align-items:center;gap:9px;color:#777080}
.tsm-auth-login #tsm-login-form .tsm-auth-remember input{width:16px;height:16px;accent-color:#2d1755}
.tsm-auth-login #tsm-login-form .tsm-buy-btn{justify-content:center;margin:0}
.tsm-auth-forgot{display:inline-block;margin-top:14px;color:#6a5b82!important;font-size:12px}
#tdsa-single .tsm-gated-clinic{display:block;clear:both;margin:25px 0 34px}
#tdsa-single .tsm-gated-series{display:block;clear:both;margin:25px 0 38px}



/* v1.6.6 — mobile paid-article reader: use the template's ORIGINAL sidebar.
   The sidebar is already first in the natural .tdsa-layout DOM, immediately
   after the hero. Moving it into the hero caused the controls to overlay
   cover art; the previous JavaScript reparenting is intentionally removed. */
@media (max-width: 760px) {
  body.tsm-locked-single #tdsa-single .tdsa-layout {
    display:flex!important;
    flex-direction:column!important;
    gap:30px!important;
    padding-top:25px!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-layout > .tdsa-sidebar {
    display:block!important;box-sizing:border-box!important;
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:15px!important;
    background:#faf9fc!important;
    border:1px solid #e6e1eb!important;
    border-radius:15px!important;
    box-shadow:none!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-side-inner {
    display:block!important;position:static!important;
    height:auto!important;max-height:none!important;
    min-height:0!important;inset:auto!important;
    width:100%!important;transform:none!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-side-scroll {
    display:block!important;overflow:visible!important;
    max-height:none!important;padding:0!important;margin:0!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-meter {
    background:#fff!important;border:1px solid #e7e4ea!important;
    border-radius:10px!important;box-shadow:none!important;
    padding:12px!important;margin:0 0 15px!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-toc {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    border:0!important;gap:8px!important;margin:0 0 14px!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-toc a {
    border:1px solid #e7e1eb!important;border-radius:9px!important;
    background:#fff!important;padding:9px!important;margin:0!important;
    font-size:10.5px!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-toc a[aria-current] {
    background:#f2f0f8!important;border-color:#dcd5e8!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-tools {
    border:1px solid #e7e1eb!important;border-radius:10px!important;
    padding:14px!important;background:#fff!important;
    box-shadow:none!important;margin:0!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-main {
    min-width:0!important;margin:0!important;padding:0!important;
  }
  body.tsm-locked-single #tdsa-single .tdsa-main .tsm-gate {
    margin-top:30px!important;
  }
}
@media (max-width: 370px) {
  body.tsm-locked-single #tdsa-single .tdsa-toc {grid-template-columns:1fr!important;}
}
