/* Tornulio 8.5.1: Super-Admin pilot finance reset */
.tn851-preserve{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start;border:1px solid #9ad1bc;background:#effaf5}
.tn851-protect-icon{display:flex;width:60px;height:60px;align-items:center;justify-content:center;background:#d3efe2;border-radius:18px;font-size:30px}
.tn851-preserve h2{margin:0 0 10px;color:#0e4b34}
.tn851-preserve p{line-height:1.65}
.tn851-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.tn851-kpis>div{border:1px solid #dde7e3;background:#f6f9f7;border-radius:12px;padding:14px}
.tn851-kpis strong{display:block;font-size:22px;line-height:1.2;letter-spacing:-.02em;color:#133b30}
.tn851-kpis span{display:block;color:#536860;font-size:12px;margin-top:7px}
.tn851-danger-zone{border:1px solid #e4b09e;background:linear-gradient(130deg,#fffafa,#fff5ee)}
.tn851-danger-zone h2{color:#903819}
.tn851-confirm-list{display:grid;gap:12px;padding:16px 0 20px}
.tn851-confirm-list label{display:flex;align-items:flex-start;gap:11px;font-weight:550;line-height:1.5}
.tn851-confirm-list input{margin-top:4px;flex:none;accent-color:#205c46;width:18px;height:18px}
.tn851-danger-zone .btn.danger{margin-top:17px}
@media(max-width:680px){.tn851-preserve{grid-template-columns:1fr}.tn851-kpis{grid-template-columns:1fr}.tn851-protect-icon{width:48px;height:48px}.tn851-confirm-list label{font-size:14px}}

/* Tornulio 8.5.1a: Football Split A auth portal.
 * External stylesheet, no inline JS/CSP exceptions. Applies only when signed out.
 */
body.tn-auth-active {background:linear-gradient(142deg,#e7eee9 0%,#f2f5f1 52%,#edf1ef 100%);min-height:100vh;color:#17372d}
body.tn-auth-active .topbar,body.tn-auth-active .footer{display:none!important}
body.tn-auth-active #app.wrap.app{max-width:1260px!important;width:calc(100% - 72px);margin:clamp(24px,5vh,54px) auto!important;padding:0!important;min-height:0;display:block}
.tn-auth-screen{--tn-dark:#082f26;--tn-green:#0f5640;--tn-orange:#ff920e;display:grid;grid-template-columns:minmax(0,1.035fr) minmax(0,0.965fr);min-height:730px;background:#fff;border-radius:27px;overflow:hidden;box-shadow:0 24px 70px rgba(18,56,39,.12);isolation:isolate;font-family:inherit}
.tn-auth-screen *{box-sizing:border-box}
.tn-auth-hero{background:radial-gradient(ellipse at 93% 70%,#145a43 0%,transparent 55%),linear-gradient(151deg,#062920 0%,#0a3d2f 58%,#0f523e 100%);color:#f9fff8;position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-width:0;padding:44px clamp(30px,4vw,52px);gap:40px}
.tn-auth-hero::before{content:"";position:absolute;pointer-events:none;inset:0;background-image:radial-gradient(#ccfae3 .5px,transparent .5px);background-size:25px 25px;opacity:.12}
.tn-auth-hero::after{content:"";position:absolute;width:460px;height:460px;background:radial-gradient(closest-side,#216d50 0,transparent 100%);opacity:.2;right:-165px;bottom:-180px;pointer-events:none}
.tn-auth-pitch{position:absolute;pointer-events:none;z-index:0;opacity:.26;top:17%;right:-32%;width:540px;height:520px;transform:rotate(-19deg);border:2px solid #91d6b0;border-radius:4px}
.tn-auth-pitch::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:0;border-left:2px solid #91d6b0}
.tn-auth-pitch::after{content:"";position:absolute;top:50%;left:50%;width:155px;height:155px;transform:translate(-50%,-50%);border-radius:50%;border:2px solid #91d6b0}
.tn-auth-pitch-box-top,.tn-auth-pitch-box-bottom{position:absolute;width:43%;height:17%;left:28%;border:2px solid #91d6b0}
.tn-auth-pitch-box-top{top:0;border-top:0}.tn-auth-pitch-box-bottom{bottom:0;border-bottom:0}
.tn-auth-brand,.tn-auth-hero-main,.tn-auth-journey{z-index:1;position:relative}
.tn-auth-brand{display:flex;gap:13px;align-items:center}
.tn-auth-brand img{height:53px;width:53px;object-fit:contain;background:#fff;border-radius:13px;padding:3px;border:1px solid #ff9518;box-shadow:0 4px 15px #071d1770}
.tn-auth-brand strong{display:block;font-size:24px;letter-spacing:-.04em;line-height:1.05;font-weight:900}
.tn-auth-brand small{display:block;font-weight:900;letter-spacing:.075em;font-size:10px;color:#ffb444;margin-top:5px}
.tn-auth-kicker{color:#a2e6c4;font-weight:900;font-size:11px;letter-spacing:.17em}
.tn-auth-hero h2{font-size:clamp(38px,4.6vw,65px);line-height:1.04;letter-spacing:-.065em;font-weight:900;margin:15px 0 18px;color:white}
.tn-auth-hero h2 span{color:#ffae33}
.tn-auth-hero-main>p{color:#c3e4d3;font-size:17px;line-height:1.68;max-width:500px;margin:0}
.tn-auth-benefits{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}
.tn-auth-benefits span{padding:9px 12px;border:1px solid #ffffff2b;background:#ffffff13;color:#effff6;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.tn-auth-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:15px;background:#ffffff14;border:1px solid #ffffff35;border-radius:17px;backdrop-filter:blur(3px)}
.tn-auth-journey>div{display:grid;align-content:start;gap:8px;min-width:0}
.tn-auth-journey>div+div{border-left:1px solid #ffffff25;padding-left:12px}
.tn-auth-journey b{font-size:13px;color:#ffb84f;font-variant-numeric:tabular-nums}
.tn-auth-journey span{font-size:11px;font-weight:750;line-height:1.45;color:#e5f5ea}
.tn-auth-panel{min-width:0;display:flex;flex-direction:column;background:#fff;color:#18362d;padding:39px clamp(30px,4.3vw,63px) 29px;gap:18px}
.tn-auth-panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#80968a;letter-spacing:.12em;font-size:10px;font-weight:900}
.tn-auth-security{border:1px solid #dcebe2;border-radius:999px;color:#287a59;letter-spacing:0;font-size:11px;text-transform:none;white-space:nowrap;padding:8px 10px}
.tn-auth-panel-body{width:100%;max-width:470px;margin:auto 0;min-width:0;padding:12px 0}
.tn-auth-eyebrow{color:#178461;font-size:11px;font-weight:900;letter-spacing:.1em;margin-bottom:13px}
.tn-auth-panel h1{font-size:clamp(29px,3vw,38px);line-height:1.12;letter-spacing:-.055em;font-weight:900;margin:0 0 8px;color:#122d23}
.tn-auth-sub{font-size:14px;line-height:1.6;color:#697f74;margin:0 0 24px}
.tn-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#eff3ef;padding:5px;border-radius:14px;margin-bottom:25px}
.tn-auth-tab{border:none;background:transparent;color:#758a80;padding:14px 8px;border-radius:10px;min-height:44px;cursor:pointer;font-size:14px;font-weight:800;font-family:inherit}
.tn-auth-tab.is-active{color:#143d2d;background:#fff;box-shadow:0 3px 13px #0f3b3014}
.tn-auth-tab:disabled{opacity:.45;cursor:not-allowed}
.tn-auth-tab:not(:disabled):hover{color:#126445}
.tn-auth-form{display:flex;flex-direction:column;gap:17px;margin:0}
.tn-auth-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;font-size:13px!important;font-weight:800!important;line-height:1.5!important;color:#234338!important;margin:0!important}
.tn-auth-field>span{display:block}
.tn-auth-field b{color:#ce6f1c}
.tn-auth-field input{min-width:0;width:100%!important;height:51px!important;font-size:14px!important;font-weight:500!important;border:1px solid #d9e5dd!important;background:#fafcfb!important;color:#163529!important;border-radius:12px!important;padding:0 14px!important;outline:none!important;box-shadow:none!important;line-height:normal!important;margin:0!important;font-family:inherit}
.tn-auth-field input::placeholder{color:#9eaea5}
.tn-auth-field input:focus{background:#fff!important;border-color:#168260!important;box-shadow:0 0 0 3px #d3f0df!important}
.tn-auth-password{position:relative;display:flex;align-items:center}
.tn-auth-password input{padding-right:102px!important}
.tn-auth-password button{position:absolute;right:7px;top:6px;height:38px;border:0;border-radius:9px;background:#e9f1eb;color:#265841;padding:0 12px;font-family:inherit;font-weight:850;font-size:11px;cursor:pointer}
.tn-auth-password button:hover{background:#d6e8db}
.tn-auth-form-extras{display:flex;justify-content:flex-end;margin:-3px 0 1px}
.tn-auth-form-extras a{color:#167650!important;text-decoration:none;font-size:12px;font-weight:800}
.tn-auth-submit.btn.primary{min-height:54px!important;width:100%!important;border-radius:12px!important;background:#ff930d!important;border-color:#ff930d!important;color:#14251b!important;font-size:14px!important;font-weight:900!important;display:flex;justify-content:center;align-items:center;gap:10px;margin:0!important}
.tn-auth-submit.btn.primary:hover{background:#ffab37!important;box-shadow:0 8px 20px #ff920e33!important}
.tn-auth-registration-status{color:#7b9384;font-size:12px;text-align:center;line-height:1.6;margin:17px 0 0}
.tn-auth-qr-info{display:flex;gap:11px;align-items:center;margin:22px 0 0;padding:14px 0 0;border-top:1px solid #e7eee8}
.tn-auth-qr-mark{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #dce8de;background:#eff7f0;border-radius:10px;color:#2e7651;font-size:25px}
.tn-auth-qr-info strong{display:block;font-size:12px;color:#275843;line-height:1.4}
.tn-auth-qr-info div>span{display:block;color:#83968b;font-size:11px;line-height:1.5;margin-top:3px}
.tn-auth-panel-footer{border-top:1px solid #edf1ed;padding-top:13px;font-size:11px;color:#a0aea3;margin-top:auto}
.tn-auth-register-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tn-auth-span2{grid-column:span 2;min-width:0}
.tn-auth-register-grid>div.tn-auth-span2>.tn-auth-field{width:100%}
.tn-auth-pilot-note{font-size:11px;line-height:1.55;color:#80602d;background:#fff6e6;border:1px solid #f6dfb7;border-radius:11px;padding:12px 14px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-hero{gap:24px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-panel{padding-top:28px;padding-bottom:19px;gap:8px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-panel-body{padding:4px 0}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-sub{margin-bottom:17px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-tabs{margin-bottom:17px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-form{gap:12px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-qr-info{margin-top:13px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-field input{height:45px!important}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-password button{top:4px;height:36px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-panel h1{font-size:31px}
.tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-hero h2{font-size:clamp(36px,4vw,56px)}
@media(max-width:1100px){
 body.tn-auth-active #app.wrap.app{width:calc(100% - 36px);margin:18px auto!important}
 .tn-auth-hero{padding:30px}.tn-auth-panel{padding:31px}
 .tn-auth-screen{min-height:660px}
 .tn-auth-hero h2{font-size:44px}
 .tn-auth-journey{grid-template-columns:1fr;gap:8px}
 .tn-auth-journey>div{display:flex;align-items:center;gap:9px}.tn-auth-journey>div+div{border-left:0;padding:0}
}
@media(max-width:760px){
 body.tn-auth-active #app.wrap.app{width:100%;margin:0!important}
 .tn-auth-screen{display:block;min-height:100vh;border-radius:0;box-shadow:none;overflow:visible}
 .tn-auth-hero{padding:25px 24px;min-height:290px;gap:18px}
 .tn-auth-brand img{width:44px;height:44px}.tn-auth-brand strong{font-size:21px}
 .tn-auth-hero h2{font-size:clamp(32px,8vw,44px);margin:9px 0}
 .tn-auth-kicker{font-size:9px}
 .tn-auth-hero-main>p{font-size:13px;line-height:1.55}
 .tn-auth-benefits{margin-top:15px}.tn-auth-benefits span{font-size:10px;padding:6px 9px}
 .tn-auth-journey{display:none}
 .tn-auth-pitch{right:-60%;top:15%;width:420px;height:360px;opacity:.2}
 .tn-auth-panel{padding:24px;gap:18px;min-height:520px}
 .tn-auth-panel-top{font-size:9px}
 .tn-auth-panel-body{margin:0;max-width:none;padding:6px 0}
 .tn-auth-panel h1{font-size:32px}
 .tn-auth-security{font-size:10px}
 .tn-auth-panel-footer{margin-top:5px}
 .tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-panel{padding:24px}
}
@media(max-width:440px){
 .tn-auth-hero{padding:21px 19px;min-height:275px}
 .tn-auth-panel{padding:21px 19px}
 .tn-auth-register-grid{grid-template-columns:1fr;gap:12px}
 .tn-auth-span2{grid-column:span 1}
 .tn-auth-tab{font-size:12px;padding:10px 5px}
 .tn-auth-hero h2{font-size:37px}
 .tn-auth-security{padding:6px}
 .tn-auth-screen[data-tn-auth-mode="register"] .tn-auth-panel{padding:21px 19px}
}
@media(prefers-reduced-motion:reduce){.tn-auth-screen *{scroll-behavior:auto;transition:none!important}}
