html{background:#fbf3e7}
body.ttg-portal-app{margin:0;min-height:100vh;background:linear-gradient(180deg,#fbf3e7 0,#fff 38%,#fff 100%);color:#2b2130;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ttg-portal-app *{box-sizing:border-box}
.ttg-portal-app a{color:#6e2c6b}
.ttg-portal-app__shell{width:min(1180px,calc(100% - 32px));margin:0 auto;min-height:100vh;display:grid;grid-template-rows:auto 1fr}
.ttg-portal-app__topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:24px 0 18px;border-bottom:1px solid rgba(110,44,107,.14)}
.ttg-portal-brand{display:inline-flex;align-items:center}
.ttg-portal-brand img,.ttg-portal-brand .custom-logo{display:block;width:300px;max-width:min(300px,100%);height:auto}
.ttg-portal-brand strong{font-size:1.35rem;color:#6e2c6b}
.ttg-portal-app__main{padding:clamp(32px,6vw,72px) 0}
.ttg-portal-login{width:min(100%,480px);margin:0 auto;padding:clamp(24px,5vw,42px);border:1px solid rgba(110,44,107,.16);border-radius:22px;background:#fff;box-shadow:0 18px 55px rgba(43,33,48,.11)}
.ttg-portal-login h1{margin:.25rem 0 .65rem;font-size:clamp(2rem,7vw,3rem);line-height:1.05}
.ttg-portal-login form{display:grid;gap:.65rem}
.ttg-portal-login label{margin-top:.25rem;font-weight:800}
.ttg-portal-login input[type="email"],.ttg-portal-login input[type="password"]{width:100%;min-height:52px;padding:.85rem .95rem;border:2px solid rgba(110,44,107,.27);border-radius:12px;background:#fff;color:#2b2130;font:inherit}
.ttg-portal-login input:focus{outline:3px solid rgba(232,184,75,.52);border-color:#6e2c6b}
.ttg-portal-login__remember{display:flex!important;align-items:center;gap:.55rem;margin:.25rem 0 .4rem;font-weight:600!important}
.ttg-portal-login__remember input{width:20px;height:20px;margin:0;accent-color:#6e2c6b}
.ttg-portal-login button,.ttg-portal__logout button,.ttg-portal-access button{min-height:50px;border:0;border-radius:12px;padding:.78rem 1.1rem;background:#6e2c6b;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.ttg-portal-login button[type="submit"]{background:#6e2c6b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important}
.ttg-portal-login button:hover,.ttg-portal__logout button:hover,.ttg-portal-access button:hover{background:#572154}
.ttg-portal{width:100%;max-width:1080px;margin:0 auto}
.ttg-portal__header{gap:1.25rem;padding-bottom:.3rem}
.ttg-portal__header h1{margin:.1rem 0 0;font-size:clamp(1.9rem,4vw,2.8rem)}
.ttg-portal__logout{margin:0}
.ttg-portal__logout button{min-height:44px;background:#fff;color:#6e2c6b;border:2px solid #6e2c6b}
.ttg-portal__logout button:hover{background:#fbf3e7;color:#572154}
.ttg-tabs{gap:.35rem;overflow-x:auto;padding:.15rem 0 .8rem}
.ttg-tabs a{white-space:nowrap}
.ttg-portal .ttg-panel,.ttg-portal .ttg-stats article{box-shadow:0 10px 34px rgba(43,33,48,.07)}
.ttg-portal-access{width:min(100%,560px);margin:0 auto;text-align:center}
.ttg-portal-access form{margin-top:1rem}
@media(max-width:640px){.ttg-portal-app__shell{width:min(100% - 20px,1180px)}.ttg-portal-app__topbar{padding-top:16px}.ttg-portal-brand img{width:260px;max-width:100%}.ttg-portal__header{display:grid}.ttg-portal__logout button{width:100%}}
.ttg-portal-language{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem;border:1px solid rgba(110,44,107,.18);border-radius:999px;background:#fff}
.ttg-portal-language a{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:.42rem .75rem;border-radius:999px;color:#6e2c6b;font-weight:800;text-decoration:none}
.ttg-portal-language a:hover,.ttg-portal-language a:focus-visible{background:#fbf3e7;color:#572154}
.ttg-portal-language a.is-active{background:#6e2c6b;color:#fff}
.ttg-portal-language a.is-active:hover,.ttg-portal-language a.is-active:focus-visible{background:#572154;color:#fff}
@media(max-width:640px){.ttg-portal-app__topbar{align-items:flex-start;flex-direction:column}.ttg-portal-language{align-self:flex-start}}
