/* Original login/recovery shortcodes retain authentication, CAPTCHA and submission ownership. */
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] { background:var(--tj-bg); color:var(--tj-text); font-family:var(--tj-font-body); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(h1,h2,h3,label) { color:var(--tj-text); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(h1,h2) { font-family:var(--tj-font-display); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(p,.tjl-hero-copy,.tjac-lead) { color:var(--tj-text-muted); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(.tjl-card,.tjac-content) { min-width:0; }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(input:not([type=hidden]):not([type=checkbox]),select,textarea) { min-width:0; max-width:100%; min-height:44px; border:1px solid var(--tj-text-subtle); border-radius:var(--tj-radius-sm); background:var(--tj-surface-raised); color:var(--tj-text); font:inherit; }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] input::placeholder { color:var(--tj-text-muted); opacity:1; }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(button,.tjac-button) { min-height:44px; border:1px solid var(--tj-pink); border-radius:var(--tj-radius-sm); background:var(--tj-pink); color:var(--tj-on-accent); font-weight:600; }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(button,.tjac-button):hover { background:var(--tj-pink-hover); color:var(--tj-white); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] a:not(.tjac-button) { color:var(--tj-pink-soft); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(.tjl-error,.tjac-feedback) { background:var(--tj-surface); color:var(--tj-text); border-color:var(--tj-info); border-radius:var(--tj-radius-sm); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(.tjl-eyebrow,.tjac-kicker,h1 em) { color:var(--tj-pink-soft); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] input[type=checkbox] { width:24px; height:24px; accent-color:var(--tj-pink); }
:is(.tjl-section,.tjl-logged-in,.tjac-section)[data-tj-ui="cinematic"] :is(a,button,input,select,textarea):focus-visible { outline:3px solid var(--tj-focus); outline-offset:3px; }
.tjl-logged-in[data-tj-ui="cinematic"] { padding:clamp(1rem,4vw,3rem); border:1px solid var(--tj-border); border-radius:var(--tj-radius-card); }

/* Beat original title specificity and the recovery action's important foreground. */
.tjl-section[data-tj-ui="cinematic"] .tjl-card h1.tjl-hero-title { color:var(--tj-text); font-weight:400; }
.tjl-section[data-tj-ui="cinematic"] .tjl-hero-title span:last-child { color:var(--tj-pink-soft); }
.tjl-section[data-tj-ui="cinematic"] .tjl-toggle-password { background:var(--tj-surface-raised); border-color:var(--tj-border); color:var(--tj-text); }
.tjac-section[data-tj-ui="cinematic"] .tjac-button { color:var(--tj-on-accent) !important; box-shadow:none; font:600 1rem/1.4 var(--tj-font-body); }
.tjac-section[data-tj-ui="cinematic"] .tjac-button:hover { color:var(--tj-white) !important; transform:none; }
/* Centre the native 300px CAPTCHA host within the phone component's padding.
   Keep provider content, dimensions, verification and interaction intact. */
@media (max-width:360px) {
  .tjl-section[data-tj-ui="cinematic"] .tjl-turnstile > .cf-turnstile {
    margin-inline:calc((100% - 300px) / 2);
  }
}
/* Centre the native recovery CAPTCHA host; provider dimensions remain intact. */
@media (max-width:360px) {
  .tjac-section[data-tj-ui="cinematic"] .tjac-turnstile > .cf-turnstile {
    margin-inline:calc((100% - 300px) / 2);
  }
}

/* Existing signed-in continuation link; keep its native destination. */
.tjl-logged-in[data-tj-ui="cinematic"] > a:not(.tjac-button) { display:inline-flex; align-items:center; justify-content:center; min-height:44px; max-width:100%; box-sizing:border-box; padding:10px 16px; border:1px solid var(--tj-pink); border-radius:var(--tj-radius-sm); background:var(--tj-pink); color:var(--tj-on-accent); font:600 14px/1.5 var(--tj-font-body); text-align:center; text-decoration:none; white-space:normal; overflow-wrap:anywhere; }
.tjl-logged-in[data-tj-ui="cinematic"] > a:not(.tjac-button):hover { background:var(--tj-pink-hover); color:var(--tj-white); }

/* Native logout confirmation secondary action; preserve href and POST form. */
body.page-id-1549 .tjac-section[data-tj-ui="cinematic"] .tjac-links > a { display:inline-flex; align-items:center; min-height:44px; max-width:100%; box-sizing:border-box; padding:8px 12px; border:1px solid var(--tj-text-subtle); border-radius:var(--tj-radius-sm); background:var(--tj-surface-raised); color:var(--tj-text); white-space:normal; overflow-wrap:anywhere; }
