/* Timafor subscription studio: responsive, theme-friendly, no external UI framework. */
.tm-pricing-section{padding:5.5rem 0;background:radial-gradient(ellipse at 10% 5%,rgba(112,94,246,.14),transparent 45%),linear-gradient(135deg,#f8faff,#f0f3ff)}.tm-pricing-heading{text-align:center;max-width:760px;margin:0 auto 3rem}.tm-eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.18em;color:#6658d5}.tm-pricing-heading h2{font-size:clamp(2rem,4vw,3.5rem);font-weight:850;letter-spacing:-.045em;color:#1a2341;margin:1rem 0}.tm-pricing-heading p{color:#66718b;font-size:1.08rem}.tm-cycle{display:inline-flex;padding:5px;background:#e5e9f8;border:1px solid #d8def2;border-radius:999px;gap:4px;margin-top:1.5rem}.tm-cycle a{border:0;background:transparent;padding:.72rem 1.3rem;border-radius:999px;font-weight:750;color:#52607c}.tm-cycle a.is-active{background:#fff;color:#3229a7;box-shadow:0 3px 14px #1a23411c}.tm-cycle span{font-size:.72rem;color:#25866b}.tm-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem}.tm-plan-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #dfe5f4;border-radius:24px;padding:2.2rem;box-shadow:0 15px 40px #25305c0b;transition:transform .2s,box-shadow .2s}.tm-plan-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px #25305c20}.tm-featured{border:2px solid #7463f4;box-shadow:0 20px 65px #7463f422}.tm-popular{position:absolute;right:22px;top:-15px;background:linear-gradient(120deg,#6655ed,#a45cef);color:#fff;font-size:.72rem;letter-spacing:.08em;font-weight:800;border-radius:30px;padding:.5rem 1rem}.tm-plan-symbol{display:inline-grid;place-items:center;width:47px;height:47px;border-radius:14px;background:#eeeaff;color:#6253d8;font-size:1.3rem}.tm-plan-top h3{font-weight:800;font-size:1.5rem;margin:1rem 0 .3rem;color:#182443}.tm-plan-top p{min-height:48px;color:#75809a}.tm-price{display:flex;align-items:baseline;gap:.15rem;margin-top:1.4rem;color:#182443}.tm-currency{font-size:1.35rem;font-weight:800;align-self:flex-start;margin-top:.3rem}.tm-price strong{font-size:3rem;font-weight:850;letter-spacing:-.06em}.tm-period{color:#78839b;font-size:.9rem}.tm-price-caption{font-size:.8rem;color:#7c87a0;min-height:1.5rem}.tm-trial{color:#157c65;background:#e5f9f1;border-radius:10px;padding:.65rem .85rem;font-weight:700;font-size:.84rem}.tm-plan-features{padding:1.5rem 0;list-style:none;display:grid;gap:.8rem;flex:1;color:#43516b}.tm-plan-features li{display:flex;align-items:center;gap:.65rem}.tm-plan-features i{color:#26a780;font-size:1.2rem}.tm-plan-cta,.tm-admin-save{display:flex;align-items:center;justify-content:center;gap:.65rem;text-decoration:none;border:0;border-radius:12px;background:#6554de;color:#fff;font-weight:800;padding:1rem;transition:background .2s}.tm-plan-cta:hover,.tm-admin-save:hover{background:#4b3bbd;color:#fff}.tm-pricing-note{text-align:center;color:#78839b;margin:2rem 0 0}.tm-locked{text-align:center;padding:1rem}.tm-locked>i{font-size:2rem;color:#6655ed}.tm-locked h4{margin-top:.7rem}.tm-admin-billing{color:var(--bs-body-color,#1d2944)}.tm-admin-billing-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.tm-admin-billing-head h1{font-weight:850;font-size:2.3rem;margin:.4rem 0}.tm-admin-billing-head p{color:#77839b}.tm-admin-stripe{background:#1d2541;color:#fff;border-radius:12px;padding:.9rem 1.2rem;text-decoration:none;font-weight:750}.tm-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.8rem 0}.tm-metrics>div,.tm-admin-plan,.tm-admin-panel{background:var(--bs-body-bg,#fff);border:1px solid var(--bs-border-color,#e3e8f4);border-radius:18px;padding:1.5rem;box-shadow:0 8px 30px #1c24500a}.tm-metrics span{display:block;color:#77839b;font-size:.84rem}.tm-metrics strong{font-size:2rem;font-weight:850}.tm-admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.4rem 0}.tm-admin-toolbar h2,.tm-admin-panel h2{font-size:1.35rem;font-weight:800}.tm-admin-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.tm-admin-plan-title{display:flex;justify-content:space-between;align-items:center}.tm-admin-plan-title h3{font-weight:800}.tm-status-on,.tm-status-off{border-radius:50px;padding:.3rem .65rem;font-size:.75rem;font-weight:800;background:#dcfce7;color:#176f46}.tm-status-off{background:#f1f3f8;color:#65708a}.tm-admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1rem 0}.tm-admin-form-grid label{font-size:.79rem;font-weight:700;color:var(--bs-secondary-color,#65718a)}.tm-admin-form-grid input,.tm-admin-form-grid select{margin-top:.35rem}.tm-toggle{display:flex;align-items:center;gap:.55rem;margin:1rem 0;font-size:.88rem;font-weight:700}.tm-admin-save{width:100%;cursor:pointer}.tm-admin-new{border:2px dashed #b3abed}.tm-admin-bottom{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}.tm-admin-panel table{font-size:.87rem}@media(max-width:1050px){.tm-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-admin-plan-grid,.tm-admin-bottom{grid-template-columns:1fr}}@media(max-width:700px){.tm-plan-grid,.tm-metrics{grid-template-columns:1fr}.tm-pricing-section{padding:3rem 0}.tm-admin-billing-head,.tm-admin-toolbar{align-items:flex-start;flex-direction:column}.tm-admin-form-grid{grid-template-columns:1fr}.tm-plan-card{padding:1.6rem}}

/* Timafor dark-theme overrides. Follows the existing site theme switch. */
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-pricing-section{background:radial-gradient(circle at 10% 5%,#6655ed20,transparent 45%),var(--bs-body-bg,#111827);color:var(--bs-body-color,#e5e7eb)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-plan-card,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-plan,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-panel,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-metrics>div{background:var(--bs-secondary-bg,#202838);border-color:var(--bs-border-color,#3b4557);color:var(--bs-body-color,#e5e7eb);box-shadow:0 12px 30px #0003}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-pricing-heading h2,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-plan-top h3,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-price,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-locked h4{color:var(--bs-heading-color,var(--bs-body-color,#fff))}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-pricing-heading p,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-plan-top p,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-period,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-price-caption,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-pricing-note,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-plan-features,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-billing-head p,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-metrics span{color:var(--bs-secondary-color,#b6bfce)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-cycle{background:var(--bs-tertiary-bg,#273246);border-color:var(--bs-border-color,#455066)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-cycle a{color:var(--bs-body-color,#e5e7eb)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-cycle a.is-active{background:var(--bs-secondary-bg,#39445a);color:var(--bs-body-color,#fff)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-plan-symbol{background:#34305d;color:#d5cbff}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-trial,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-status-on{background:#173d35;color:#a6f3d6}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-status-off{background:#343c4d;color:#d0d8e4}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-form-grid input,:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-form-grid select{background:var(--bs-body-bg,#111827);color:var(--bs-body-color,#fff);border-color:var(--bs-border-color,#455066)}
:is([data-bs-theme="dark"],[data-theme="dark"],.dark,.dark-mode) .tm-admin-panel table{--bs-table-bg:transparent;--bs-table-color:var(--bs-body-color,#fff);--bs-table-border-color:var(--bs-border-color,#455066)}

/* Native links provide a reliable touch target and a no-script navigation fallback. */
.tm-cycle{position:relative;z-index:1;max-width:100%;flex-wrap:wrap;justify-content:center}
.tm-cycle a{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px;text-decoration:none;touch-action:manipulation;cursor:pointer;flex-wrap:wrap}
.tm-cycle a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-width:480px){.tm-cycle a{padding:.65rem .85rem}.tm-price{flex-wrap:wrap}.tm-price strong{font-size:clamp(2rem,10vw,3rem)}}
