:root{--primary: #2563eb;--background: #030712;--text: #e2e8f0;--card: #0f172a;--header-bg: rgba(5, 8, 18, .95);--header-border: rgba(255, 255, 255, .08);--nav-link: #f8fafc}:root[data-theme=light]{--primary: #1d4ed8;--background: #f8fafc;--text: #0f172a;--card: #ffffff;--header-bg: rgba(248, 250, 252, .9);--header-border: rgba(15, 23, 42, .08);--nav-link: #0f172a}body{margin:0;font-family:system-ui,-apple-system,sans-serif;background-color:var(--background);color:var(--text);line-height:1.5;overflow-x:hidden}html,body,#root{min-height:100%;background-color:var(--background);color:var(--text)}#root{min-height:100vh;overflow-x:hidden}*,*:before,*:after{box-sizing:border-box}img,video,canvas,svg,iframe{max-width:100%}input,select,textarea,button{max-width:100%}body[data-route-scope=app]{background-color:var(--background)}:root[data-theme=light] body[data-route-scope=app] #root{filter:invert(1) hue-rotate(180deg);background:#f8fafc}:root[data-theme=light] body[data-route-scope=app] #root img,:root[data-theme=light] body[data-route-scope=app] #root video,:root[data-theme=light] body[data-route-scope=app] #root picture,:root[data-theme=light] body[data-route-scope=app] #root canvas,:root[data-theme=light] body[data-route-scope=app] #root svg{filter:invert(1) hue-rotate(180deg)}:root[data-theme=light] body[data-route-scope=app] .app-header{filter:invert(1) hue-rotate(180deg)}.container{max-width:1200px;margin:0 auto;padding:2rem}.btn{display:inline-block;padding:.5rem 1rem;background-color:var(--primary);color:#fff;border-radius:.375rem;text-decoration:none;border:none;cursor:pointer;font-weight:500}.btn:hover{opacity:.9}.card{background:var(--card);padding:1.5rem;border-radius:.75rem;box-shadow:0 8px 30px #00000059;margin-bottom:1rem;border:1px solid rgba(255,255,255,.06)}.nav{display:flex;gap:1rem;padding:1rem 0;border-bottom:1px solid #e2e8f0;margin-bottom:2rem;align-items:center}.nav a{text-decoration:none;color:var(--text)}.nav .logo{font-weight:700;font-size:1.25rem;margin-right:auto}input{display:block;width:100%;padding:.5rem;margin-bottom:1rem;border:1px solid #cbd5e1;border-radius:.25rem;box-sizing:border-box}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem}.app-header__hamburger{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:transparent;color:var(--nav-link);font-size:1.25rem;cursor:pointer;flex-shrink:0;line-height:1}@media (max-width: 768px){.app-header__hamburger{display:flex}.app-header__nav{display:none!important}.app-header__nav--open{display:flex!important;flex-direction:column!important;position:fixed!important;top:62px!important;left:0!important;right:0!important;background:var(--header-bg)!important;-webkit-backdrop-filter:blur(18px)!important;backdrop-filter:blur(18px)!important;border-bottom:1px solid var(--header-border)!important;padding:.5rem 0!important;gap:0!important;z-index:999!important;overflow-y:auto!important;max-height:calc(100vh - 62px)!important}.app-header__nav--open a{display:block!important;padding:.85rem 1.2rem!important;font-size:1rem!important;border-bottom:1px solid rgba(255,255,255,.06)!important;color:var(--nav-link)!important;text-decoration:none!important;white-space:normal!important;border-radius:0!important}.app-header__nav--open a:last-child{border-bottom:none!important}}@media (max-width: 900px){.container{padding:1rem}.app-header>div{padding:.7rem .8rem!important;gap:.6rem!important}}@media (max-width: 900px){main.container{max-width:100%;padding-left:.8rem;padding-right:.8rem}#root,#root *{min-width:0}#root [style*=grid-template-columns]:not([style*="repeat(7,1fr)"]):not([style*="repeat(7, 1fr)"]):not([style*="repeat(4,1fr)"]):not([style*="repeat(4, 1fr)"]){grid-template-columns:1fr!important}#root [style*=min-width]{min-width:0!important}#root [style*="display: flex"][style*=gap]{flex-wrap:wrap}input,select,textarea,button{font-size:16px}}@media (max-width: 640px){section h1{font-size:clamp(1.75rem,8vw,3.6rem)!important;line-height:1.15!important}section h2{font-size:clamp(1.35rem,5.5vw,2.8rem)!important;line-height:1.2!important}section h3{font-size:clamp(1rem,4vw,1.5rem)!important}}.referral-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 640px){.referral-table-scroll>*{min-width:340px}}@media (max-width: 768px){.user-menu-dropdown{position:fixed!important;top:70px!important;left:1rem!important;right:1rem!important;width:auto!important;min-width:unset!important;max-height:calc(100vh - 80px)!important;overflow-y:auto!important;border-radius:16px!important}}
