/* TypingAcademy v1.0.8 — scoped UI refresh. Existing landing styles remain unchanged. */
:root{--ta8-blue:#0867f8;--ta8-navy:#08245b;--ta8-text:#132e61;--ta8-muted:#647798;--ta8-border:#dce8fa;--ta8-light:#f3f8ff;--ta8-shadow:0 20px 70px rgba(19,65,139,.10)}
.ta8-skin,.ta8-adminmail{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ta8-text)}
.ta8-skin *, .ta8-adminmail *{box-sizing:border-box}
.ta8-skin{background:linear-gradient(155deg,#edf6ff 0%,#fff 40%,#f3f9ff 100%);min-height:600px}
.ta8-auth-layout{max-width:1180px;margin:0 auto;padding:62px 22px 80px;display:grid;grid-template-columns:minmax(300px,.98fr) minmax(340px,1fr);gap:0;align-items:stretch}
.ta8-auth-aside{position:relative;overflow:hidden;border-radius:27px 0 0 27px;padding:55px 46px;background:radial-gradient(circle at 85% 5%,#346ef5 0,transparent 36%),linear-gradient(143deg,#072057,#0f3c9e 68%,#0778d6);color:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--ta8-shadow)}
.ta8-auth-aside:after{content:"";position:absolute;right:-98px;bottom:-100px;width:330px;height:330px;border-radius:50%;border:55px solid #ffffff14;pointer-events:none}
.ta8-auth-aside:before{content:"";position:absolute;top:20%;right:-80px;width:280px;height:280px;background:#ffffff12;border-radius:36px;transform:rotate(24deg)}
.ta8-auth-brand{position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:-.6px;color:#fff;text-decoration:none!important}
.ta8-auth-brand span{font-size:28px}
.ta8-auth-brand em{font-style:normal;color:#83d4ff}
.ta8-aside-center{position:relative;z-index:1;margin:70px 0 45px}
.ta8-eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:1.4px;font-weight:800;color:#0869e6;text-transform:uppercase}
.ta8-auth-aside .ta8-eyebrow{color:#a4d5ff;border:1px solid #ffffff40;padding:8px 12px;border-radius:999px}
.ta8-auth-aside h2{font-size:clamp(34px,4vw,49px);line-height:1.12;color:#fff;font-weight:830;letter-spacing:-1.6px;margin:24px 0 16px}
.ta8-auth-aside p{font-size:16px;line-height:1.8;color:#cbdcfa;max-width:410px}
.ta8-aside-points{position:relative;z-index:1;display:grid;gap:14px}
.ta8-aside-points span{display:flex;gap:10px;align-items:center;color:#e9f3ff;font-size:14px;font-weight:600}
.ta8-check{width:23px;height:23px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#ffffff27;font-size:13px;color:#9ef6bf}
.ta8-auth-content{border:1px solid #e1ebfb;border-left:0;background:#fff;border-radius:0 27px 27px 0;display:flex;align-items:center;justify-content:center;padding:38px clamp(20px,4vw,60px);box-shadow:var(--ta8-shadow)}
.ta8-auth-content .auth-wrap,.ta8-auth-content .ta4-wrap{padding:0!important;margin:0!important;max-width:none;width:100%;min-height:0;background:transparent}
.ta8-auth-content .auth-card,.ta8-auth-content .ta4-panel.ta4-auth{max-width:none;width:100%;margin:0;padding:0;border:0;box-shadow:none;background:none;border-radius:0;text-align:left}
.ta8-auth-content .auth-icon,.ta8-auth-content .ta4-icon{width:53px;height:53px;background:#edf5ff;color:#0c64e8;display:grid;place-items:center;border-radius:14px;font-size:25px;line-height:1;margin-bottom:20px}
.ta8-auth-content h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:0 0 9px;color:#08245b;font-weight:800}
.ta8-auth-content p{color:#62789a;line-height:1.7}
.ta8-auth-content form{margin-top:22px;display:grid;gap:14px}
.ta8-auth-content label{font-size:13px;color:#213e72;font-weight:700;display:block;margin:0}
.ta8-auth-content input:not([type=checkbox]){height:48px;min-width:0;width:100%;display:block;margin-top:8px;border:1px solid #d6e3f3;background:#fafcff;border-radius:10px;font-size:14px;padding:0 14px;color:#152b57;outline:0;box-shadow:none}
.ta8-auth-content input:focus{border-color:#0e69ef;box-shadow:0 0 0 4px #0873fa17}
.ta8-auth-content input[type=checkbox]{accent-color:#1169ee}
.ta8-auth-content .btn-primary,.ta8-auth-content .ta4-btn:not(.alt){display:flex;justify-content:center;align-items:center;background:linear-gradient(100deg,#0560ee,#1b7cfb);color:#fff;border-radius:11px;height:49px;text-align:center;border:0;box-shadow:0 9px 22px #0c66ed30;font-weight:800;text-decoration:none}
.ta8-auth-content .auth-foot{margin:20px 0 0;text-align:center;color:#5b7397;font-size:14px}
.ta8-auth-content a:not(.btn){color:#0e6aea;font-weight:700}
.ta8-auth-content .ta4-oauth{margin-top:20px!important;padding-top:16px;border-top:1px solid #e8eef8}
.ta8-auth-content .ta4-oauth .ta4-btn{display:inline-flex;margin:5px;border:1px solid #d9e6fa;border-radius:10px;padding:9px 13px;background:#fff;text-decoration:none}
.ta8-auth-content .form-hint{font-size:12px;margin:0;color:#8292ad}
.ta8-auth-content .checkbox-label{display:flex;align-items:center;gap:9px}
.ta8-auth-content .ta4-panel .ta4-form{display:grid;gap:14px}
.ta8-auth-content button.ta4-textbtn{border:0;background:none;color:#0f64d9;cursor:pointer}
/* Community pages */
.ta8-community-shell{max-width:1200px;margin:0 auto;padding:42px 20px 80px}
.ta8-community-banner{background:radial-gradient(circle at 87% 10%,#bedeff 0,transparent 33%),linear-gradient(120deg,#eaf5ff,#fff 72%);border:1px solid #d7e9ff;border-radius:25px;padding:35px 42px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:30px}
.ta8-community-banner h2{margin:10px 0;font-size:clamp(26px,3vw,38px);line-height:1.19;letter-spacing:-1px;color:#0c2a66}
.ta8-community-banner p{color:#60769a;line-height:1.6;max-width:690px;margin:0}
.ta8-banner-art{border:1px solid #c2ddfc;background:#fff;display:grid;place-items:center;flex:0 0 96px;width:96px;height:96px;border-radius:25px;font-size:44px;box-shadow:0 17px 35px #2165b219}
.ta8-community-shell .ta4-wrap{max-width:none;margin:0;padding:0;background:transparent}
.ta8-community-shell .ta4-heading{margin:0 0 26px;padding:0;text-align:left}
.ta8-community-shell .ta4-heading h1{font-size:29px;letter-spacing:-.7px;color:#0b2c61}
.ta8-community-shell .ta4-heading p{color:#647a9b}
.ta8-community-shell .ta4-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ta8-community-shell .ta4-card{border:1px solid #dfeafb;border-radius:19px;padding:24px;text-decoration:none;background:#fff;box-shadow:0 8px 22px #133b7510;transition:transform .18s,box-shadow .18s;color:#16366b;min-height:190px}
.ta8-community-shell .ta4-card:hover{transform:translateY(-4px);box-shadow:0 19px 35px #123f811a}
.ta8-community-shell .ta4-card h3{font-size:18px;color:#0c2d64;margin:12px 0 8px}
.ta8-community-shell .ta4-card p{color:#62799b;font-size:14px;line-height:1.7}
.ta8-community-shell .ta4-card strong{color:#146df2}
.ta8-community-shell .ta4-pill{background:#e8f3ff;color:#1767d0;font-weight:800;letter-spacing:.5px;border-radius:999px;padding:6px 12px;font-size:11px}
.ta8-community-shell .ta4-btn{background:#0869ef;border:1px solid #0869ef;border-radius:10px;color:#fff;text-decoration:none;padding:11px 18px;font-weight:700}
.ta8-community-shell .ta4-btn.alt{background:#fff;color:#1163d6;border-color:#c5dbfb}
.ta8-community-shell .ta4-featured{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;background:linear-gradient(100deg,#0c3c9e,#0c70ef);color:#fff;border-radius:17px;padding:22px 26px;margin:10px 0 23px;box-shadow:0 16px 28px #1766d027;text-decoration:none}
.ta8-community-shell .ta4-filters,.ta8-community-shell .ta4-panel{border-radius:17px;border:1px solid #e0eafa;background:#fff;padding:22px;margin:18px 0}
.ta8-community-shell .ta4-avatar{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,#d2eaff,#aecffa);font-size:23px;color:#0755c9;font-weight:900}
.ta8-community-shell select{border:1px solid #d0e0f4;background:#fff;border-radius:10px;padding:10px 12px}
.ta8-community-shell .ta4-pages{margin-top:28px}
/* Mail admin */
.ta8-adminmail{max-width:1400px;margin:0 auto;padding:20px 0 50px}
.ta8-mailhead{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:0 0 25px}
.ta8-mailhead h1{font-size:31px;margin:9px 0 7px;color:#0e2e62;letter-spacing:-.9px}
.ta8-mailhead p,.ta8-cardtop p{color:#71809c;margin:0;font-size:14px}
.ta8-status{display:inline-block;border-radius:999px;background:#fff3e7;color:#9a610d;font-size:12px;font-weight:800;padding:7px 11px;white-space:nowrap}
.ta8-status.is-live{background:#e5f8eb;color:#0a7c43}
.ta8-mailgrid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}
.ta8-mailright{display:grid;gap:22px;align-content:start}
.ta8-mailcard{border:1px solid var(--ta8-border);padding:25px;border-radius:18px;background:#fff;box-shadow:0 9px 25px #103b7e0c}
.ta8-cardtop{display:flex;align-items:center;gap:13px;margin-bottom:22px}
.ta8-cardtop h2{font-size:18px;margin:0 0 4px;color:#102b5f}
.ta8-cardicon{display:grid;place-items:center;font-size:25px;width:48px;height:48px;border-radius:13px;background:#eaf3ff;color:#0966e6}
.ta8-icon-green{background:#e7f9ee;color:#0aab5a}.ta8-icon-violet{background:#f1eaff;color:#9258e8}
.ta8-mailform{display:grid;gap:17px}
.ta8-mailform label{display:block;color:#273c69;font-size:13px;font-weight:800}
.ta8-mailform input,.ta8-mailform select{display:block;width:100%;margin-top:7px;height:44px;border:1px solid #d4e0f2;border-radius:9px;padding:0 12px;font-size:13px;background:#fbfdff;color:#16366d;outline:0}
.ta8-mailform input:focus,.ta8-mailform select:focus{border-color:#2075ef;box-shadow:0 0 0 3px #0773ef1a}
.ta8-mailform input[readonly]{background:#f0f5fc;color:#52698c}
.ta8-fieldrow{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.ta8-hint{font-weight:400;color:#8391a9}
.ta8-switch{display:flex!important;align-items:center;gap:10px;line-height:1.5;background:#f5f9ff;border-radius:11px;padding:13px}
.ta8-switch input{height:18px;width:18px;margin:0;accent-color:#0b68ef;flex:0 0 auto}
.ta8-primary,.ta8-outline{cursor:pointer;border:1px solid #0d6cf4;border-radius:10px;padding:13px 16px;font-weight:800;font-size:14px}
.ta8-primary{background:linear-gradient(100deg,#0a60e9,#247dff);color:#fff;display:flex;justify-content:space-between}
.ta8-outline{background:#eef5ff;color:#0759d5}
.ta8-note{font-size:12px;line-height:1.7;color:#8391aa;margin:15px 0 0}
.ta8-templates{display:grid;gap:8px}
.ta8-templates a{display:flex;align-items:center;gap:12px;text-decoration:none;border:1px solid #e4edf9;color:#213b70;padding:12px 13px;border-radius:9px;font-weight:700;font-size:13px}
.ta8-templates a:hover{background:#f3f8ff}
.ta8-template-dot{width:10px;height:10px;background:#4f9cfb;border-radius:3px}.ta8-template-action{margin-left:auto;color:#126cf5;font-size:12px}
.ta8-logscard{margin-top:23px}
.ta8-tablewrap{overflow-x:auto}
.ta8-table{width:100%;border-collapse:collapse;font-size:13px}
.ta8-table td,.ta8-table th{border-bottom:1px solid #e6edf7;text-align:left;padding:13px 10px;color:#3e5680}
.ta8-table th{background:#f5f9fd;font-size:12px;color:#697c9a}
.ta8-alert{padding:15px 19px;background:#e7f8f0;color:#0a7945;border-radius:12px;margin-bottom:16px}.ta8-alert-error{background:#ffecec;color:#a52c35}
@media(max-width:900px){.ta8-auth-layout{grid-template-columns:1fr;padding:30px 18px 55px}.ta8-auth-aside{border-radius:22px 22px 0 0;padding:30px}.ta8-aside-center{margin:25px 0}.ta8-auth-aside h2{font-size:31px}.ta8-auth-content{border-left:1px solid #e1ebfb;border-radius:0 0 22px 22px;padding:34px 26px}.ta8-community-shell .ta4-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ta8-mailgrid{grid-template-columns:1fr}}
@media(max-width:600px){.ta8-community-shell{padding:25px 13px 50px}.ta8-community-banner{padding:25px 20px;border-radius:17px}.ta8-banner-art{display:none}.ta8-community-shell .ta4-grid{grid-template-columns:1fr}.ta8-mailhead{display:block}.ta8-mailhead .ta8-status{margin-top:12px}.ta8-fieldrow{grid-template-columns:1fr}.ta8-auth-aside{padding:26px}.ta8-auth-content{padding:25px 21px}}
