/* Teoripepp auth module: uses the exact shared site.css/header/footer. */
html body.tp-auth {min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:#f5f9f7;}
html body.tp-auth > header,html body.tp-auth > footer {flex-shrink:0;direction:ltr;}
html body.tp-auth > main#main.tp-auth-main {flex:1 0 auto;width:100%;max-width:none;min-height:0;box-sizing:border-box;display:flex;align-items:flex-start;justify-content:center;padding:72px 20px 100px;margin:0;}
html body.tp-auth > footer {margin-top:auto;margin-bottom:0;}
body.tp-auth .tp-auth-panel {box-sizing:border-box;width:100%;max-width:670px;padding:48px 50px;background:#fff;border:1px solid #d9e9e3;border-radius:18px;box-shadow:0 20px 50px rgba(20,65,50,.07);color:#153d3e;}
body.tp-auth .tp-auth-panel h1 {font-size:clamp(27px,3vw,38px);font-weight:750;line-height:1.18;letter-spacing:-.025em;margin:0 0 27px;color:#173d40;}
body.tp-auth .tp-auth-panel h2 {font-size:22px;line-height:1.25;margin:0 0 13px;color:#173d40;}
body.tp-auth .tp-auth-panel p {font-size:16px;line-height:1.6;margin:14px 0;}
body.tp-auth .tp-auth-panel form {display:grid;gap:19px;margin:0;}
body.tp-auth .tp-auth-panel form label {display:grid;gap:8px;font-weight:650;font-size:14px;color:#294b4d;}
body.tp-auth .tp-auth-panel input[type=email],body.tp-auth .tp-auth-panel input[type=password] {box-sizing:border-box;display:block;width:100%;min-width:0;min-height:46px;padding:12px 14px;border:1px solid #a7c7bd;border-radius:8px;color:#173d40;background:#fff;font:inherit;direction:ltr;text-align:start;}
body.tp-auth .tp-auth-panel input:focus-visible,body.tp-auth a:focus-visible,body.tp-auth button:focus-visible {outline:3px solid #a5ded1;outline-offset:2px;}
body.tp-auth .tp-auth-panel button[type=submit] {border:0;border-radius:8px;background:#087967;color:white;font:inherit;font-weight:700;line-height:1.3;min-height:46px;padding:12px 19px;cursor:pointer;}
body.tp-auth .tp-auth-panel button[type=submit]:hover {background:#056557;}
body.tp-auth .tp-auth-panel button.secondary {color:#087967;background:#edf5f2;border:1px solid #9ccabe;}
body.tp-auth .tp-auth-panel a {color:#087967;text-decoration:underline;text-underline-offset:3px;}
body.tp-auth .tp-auth-links {margin-top:22px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
body.tp-auth .tp-auth-notice {padding:12px 15px;border-radius:8px;background:#edf7f3;color:#17614c;}
body.tp-auth .tp-auth-notice.error {background:#fff3ef;color:#973e27;}
body.tp-auth .tp-auth-empty {margin:22px 0;padding:20px;background:#f5faf8;border:1px solid #cee5dc;border-radius:10px;}
body.tp-auth .tp-auth-check {display:block!important;font-weight:400!important;line-height:1.65;}
body.tp-auth .tp-auth-check input {margin-inline-end:8px;}
body.tp-auth header a[aria-current=page] {background:#e1f3ee;border-radius:6px;color:#087967!important;}
body.tp-auth[dir=rtl] .tp-auth-main {text-align:right;}
body.tp-auth[dir=rtl] .tp-auth-panel form label {text-align:right;}
body.tp-auth[dir=rtl] .tp-auth-panel input[type=email] {text-align:left;}
body.tp-auth[dir=rtl] .tp-auth-panel input[type=password] {text-align:left;}
@media(max-width:700px){html body.tp-auth > main#main.tp-auth-main {padding:28px 12px 54px;}body.tp-auth .tp-auth-panel{padding:26px 21px;border-radius:13px;}}

/* Authenticated account dashboard: scoped; no changes to anonymous auth forms. */
body.tp-auth .tp-account-section{margin:20px 0 0;padding:22px 22px 24px;background:#f5faf8;border:1px solid #cee5dc;border-radius:12px;}
body.tp-auth .tp-account-section h2{margin:0 0 16px;}
body.tp-auth .tp-account-facts{margin:0;display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:13px 15px;align-items:start;}
body.tp-auth .tp-account-facts dt{color:#49716d;font-size:14px;font-weight:650;}
body.tp-auth .tp-account-facts dd{margin:0;overflow-wrap:anywhere;font-size:15px;}
body.tp-auth .tp-account-verified{color:#087967;font-weight:800;}
body.tp-auth .tp-account-actions{display:flex;flex-wrap:wrap;gap:12px;}
body.tp-auth .tp-account-actions a{display:inline-flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid #9ccabe;border-radius:8px;background:#fff;font-weight:700;}
body.tp-auth .tp-account-muted{color:#54716d;font-size:14px!important;}
body.tp-auth .tp-account-section select{box-sizing:border-box;display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #a7c7bd;border-radius:8px;background:#fff;color:#173d40;font:inherit;}
body.tp-auth .tp-account-section select:focus-visible{outline:3px solid #a5ded1;outline-offset:2px;}
@media(max-width:500px){body.tp-auth .tp-account-section{padding:16px;}body.tp-auth .tp-account-facts{grid-template-columns:1fr;gap:5px;}body.tp-auth .tp-account-facts dd{margin-bottom:9px;}}

/* Personal product dashboard and purchase history. Shared auth layout only. */
body.tp-auth .tp-learning-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
body.tp-auth .tp-learning-facts div{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #d5e6dd;border-radius:9px;padding:14px}
body.tp-auth .tp-learning-facts strong{font-size:27px;line-height:1.1;font-variant-numeric:tabular-nums}
body.tp-auth .tp-learning-facts span{font-size:13px;color:#47675e}
body.tp-auth .tp-learning-offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px;margin:20px 0 9px}
body.tp-auth .tp-learning-offer strong{font-size:32px;line-height:1.1}
body.tp-auth .tp-account-access{font-weight:650}
body.tp-auth .tp-account-checkout{margin:18px 0 0;display:block}
body.tp-auth .tp-account-checkout button.tp-account-primary,body.tp-auth .tp-account-single-action a.tp-account-primary{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 22px;background:#087967;color:#fff;border:0;border-radius:8px;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}
body.tp-auth .tp-account-checkout button.tp-account-primary:hover,body.tp-auth .tp-account-single-action a.tp-account-primary:hover{background:#056557}
body.tp-auth .tp-account-history-list{display:grid;gap:10px}
body.tp-auth .tp-account-purchase{display:grid;gap:6px;padding:14px 16px;background:#fff;border:1px solid #d5e6dd;border-radius:10px;font-size:14px}
body.tp-auth .tp-account-purchase>strong{font-size:18px}
body.tp-auth .tp-account-purchase span{color:#50675f}
body.tp-auth .tp-account-security{font-weight:650}
@media(max-width:420px){body.tp-auth .tp-learning-facts{grid-template-columns:1fr}}
