:root{color-scheme:light;--bg:#f6f8fc;--card:#fff;--text:#172033;--muted:#6c7890;--line:#e6eaf2;--line-strong:#d8deea;--primary:#4f46e5;--primary-2:#6d5dfc;--primary-soft:#eef2ff;--danger:#dc2626;--success:#15803d;--warn:#b45309;--sidebar:#fff;--shadow:0 12px 32px rgba(31,41,72,.07);--shadow-sm:0 5px 16px rgba(31,41,72,.06);--sidebar-width:272px;--topbar-height:72px}*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}button,input,textarea,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(79,70,229,.16);outline-offset:2px}.nav-icon{width:19px;height:19px;display:block;flex:0 0 auto}.brand{display:flex;align-items:center;gap:11px;color:var(--text);font-weight:850;min-width:0}.brand:hover{color:var(--text)}.brand-copy{display:flex;flex-direction:column;line-height:1.14;min-width:0}.brand-copy strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-copy small{font-size:10px;color:#8a94a8;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-top:3px}.logo{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--primary),#7c5ce7);color:#fff;box-shadow:0 8px 18px rgba(79,70,229,.22);font-weight:900;flex:0 0 auto}

/* Public header */
.public-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.public-header-inner{max-width:1280px;margin:auto;min-height:70px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:28px}.public-header nav{display:flex;align-items:center;gap:7px}.public-header nav>a:not(.btn){padding:9px 11px;border-radius:9px;color:#556177;font-size:13px;font-weight:700}.public-header nav>a:not(.btn):hover,.public-header nav>a.active{color:var(--primary);background:var(--primary-soft)}.nav-divider{width:1px;height:24px;background:var(--line);margin:0 4px}.public-menu-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;background:#fff;color:#465168;border:1px solid var(--line);border-radius:10px}.public-main{max-width:1220px;margin:30px auto;padding:0 18px;min-height:72vh}

/* Authenticated dashboard shell */
.dashboard-body{background:#f6f8fc}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);z-index:60;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;box-shadow:3px 0 20px rgba(31,41,72,.025)}.sidebar-brand-row{height:var(--topbar-height);display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line)}.brand-sidebar{max-width:205px}.sidebar-close{display:none;border:0;background:transparent;color:#64748b;font-size:28px;line-height:1;padding:4px 7px;border-radius:8px}.sidebar-user{margin:17px 15px 8px;padding:12px;display:flex;align-items:center;gap:10px;border:1px solid #edf0f5;border-radius:13px;background:#fafbfe}.avatar{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--primary-soft);color:#4940c7;font-weight:900;font-size:14px;flex:0 0 auto}.sidebar-user-copy{min-width:0;display:flex;flex-direction:column;line-height:1.3}.sidebar-user-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-copy span{font-size:11px;color:var(--muted);margin-top:2px}.status-dot{width:8px;height:8px;background:#22c55e;border-radius:999px;margin-left:auto;box-shadow:0 0 0 3px #dcfce7;flex:0 0 auto}.sidebar-nav{padding:6px 12px 18px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}.side-section{margin:12px 0 18px}.side-heading{padding:0 10px 7px;color:#9aa3b2;font-size:9.5px;font-weight:850;text-transform:uppercase;letter-spacing:.11em}.side-link{min-height:42px;padding:9px 10px;border-radius:10px;display:flex;align-items:center;gap:10px;color:#536075;font-size:13px;font-weight:700;margin:2px 0;position:relative;transition:background .16s ease,color .16s ease,transform .16s ease}.side-link .nav-icon{color:#7b879b}.side-link:hover{background:#f6f7fb;color:#2c3548}.side-link.active{background:var(--primary-soft);color:#4338ca}.side-link.active .nav-icon{color:#4f46e5}.side-link.active:before{content:"";position:absolute;left:-12px;width:3px;height:23px;background:var(--primary);border-radius:0 5px 5px 0}.side-count{margin-left:auto;min-width:21px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#e0e7ff;color:#4338ca;font-size:10px;font-weight:900}.sidebar-footer{padding:10px 12px 14px;border-top:1px solid var(--line);background:#fff}.sidebar-logout-form{margin:0}.sidebar-logout-form .side-link{width:100%;border:0;background:transparent;text-align:left;cursor:pointer;font-family:inherit}.sidebar-footer .side-link{color:#687386}.sidebar-footer .side-link:hover{color:#b42318;background:#fff5f4}.sidebar-version{display:flex;justify-content:space-between;padding:6px 10px 1px;font-size:9.5px;color:#a0a8b6}.sidebar-version span{font-weight:800}.app-main{min-height:100vh;margin-left:var(--sidebar-width);display:flex;flex-direction:column}.app-topbar{position:sticky;top:0;z-index:35;height:var(--topbar-height);background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,2.8vw,38px);gap:18px}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.menu-toggle{display:none;width:40px;height:40px;align-items:center;justify-content:center;background:#fff;color:#4e5b70;border:1px solid var(--line);border-radius:10px;padding:0;cursor:pointer}.page-heading{display:flex;flex-direction:column;line-height:1.18;min-width:0}.page-heading strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-eyebrow{font-size:10px;color:#96a0b1;text-transform:uppercase;letter-spacing:.07em;font-weight:800;margin-bottom:3px}.topbar-actions{display:flex;align-items:center;gap:9px}.icon-button{position:relative;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:#657187}.icon-button:hover{background:#f9fafc;color:var(--primary)}.notification-dot{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;border:2px solid #fff}.account-chip{height:44px;display:flex;align-items:center;gap:9px;padding:4px 9px 4px 5px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text)}.account-chip:hover{background:#fafbfc;color:var(--text)}.small-avatar{width:34px;height:34px;border-radius:9px}.account-chip-copy{display:flex;flex-direction:column;line-height:1.16;min-width:78px}.account-chip-copy strong{font-size:12px;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-chip-copy small{font-size:10px;color:var(--muted);margin-top:2px}.chevron{font-size:23px;color:#9aa3b2;line-height:1;transform:rotate(90deg)}.app-content{flex:1;padding:28px clamp(18px,2.8vw,38px) 34px}.content-wrap{max-width:1300px;margin:0 auto;width:100%}.sidebar-overlay{display:none}.app-footer{min-height:58px;padding:17px clamp(18px,2.8vw,38px);border-top:1px solid var(--line);background:#fff;color:#8a94a6;font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:14px}.footer-links{display:flex;gap:17px}.footer-links a{color:#778297}.footer-links a:hover{color:var(--primary)}

/* Common content */
.container{max-width:1220px;margin:30px auto;padding:0 18px;min-height:72vh}.hero{padding:54px 0 28px}.hero h1{font-size:clamp(36px,7vw,70px);line-height:1.03;margin:0 0 18px;max-width:900px;letter-spacing:-.035em}.hero p{font-size:19px;line-height:1.7;color:var(--muted);max-width:780px}.hero-actions,.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.hero-actions{margin-top:28px}.btn,button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:11px 16px;background:var(--primary);color:#fff;font-weight:750;cursor:pointer;font-size:14px;font-family:inherit;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}.btn:hover,button:hover{box-shadow:0 7px 16px rgba(79,70,229,.16)}.btn.secondary,button.secondary{background:#fff;color:var(--text);border:1px solid var(--line)}.btn.secondary:hover,button.secondary:hover{background:#fafbfc;box-shadow:var(--shadow-sm)}.btn.danger,button.danger{background:var(--danger)}.btn.small,button.small{padding:8px 11px;font-size:12px}.btn.disabled{pointer-events:none;opacity:.55}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 26px}.stat,.card{background:var(--card);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-sm)}.stat{padding:18px;position:relative;overflow:hidden}.stat:after{content:"";position:absolute;right:-18px;top:-20px;width:64px;height:64px;border-radius:50%;background:#f5f6ff}.stat .label{font-size:11px;color:#7a8598;font-weight:750;text-transform:uppercase;letter-spacing:.04em;position:relative;z-index:1}.stat .value{font-size:23px;font-weight:880;margin-top:5px;overflow-wrap:anywhere;position:relative;z-index:1;letter-spacing:-.02em}.stat .hint{font-size:11px;color:var(--muted);margin-top:5px;position:relative;z-index:1}.card{padding:22px;margin-bottom:18px}.card h1,.card h2,.card h3{margin-top:0;letter-spacing:-.015em}.card h1{font-size:25px}.card h2{font-size:20px}.muted{color:var(--muted)}.alert{padding:13px 16px;border-radius:11px;margin-bottom:16px;font-size:13px;font-weight:600}.alert.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.alert.error{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}label{font-size:12px;font-weight:750;color:#465168}input,textarea,select{width:100%;padding:11px 12px;border:1px solid var(--line-strong);border-radius:10px;background:#fff;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:#8b86ee;box-shadow:0 0 0 3px rgba(79,70,229,.09)}input:disabled{background:#f8fafc;color:#7b8495}textarea{min-height:120px;resize:vertical}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px;background:#fff}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcfe}th{background:#f8fafc;color:#667085;font-size:10px;text-transform:uppercase;letter-spacing:.055em}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:850;background:#eef2ff;color:#4338ca}.badge.active,.badge.approved,.badge.completed,.badge.answered{background:#ecfdf3;color:#166534}.badge.pending,.badge.pending-admin,.badge.processing,.badge.confirming,.badge.open{background:#fff7ed;color:#9a3412}.badge.rejected,.badge.failed,.badge.banned{background:#fff1f2;color:#be123c}.badge.paused,.badge.suspended,.badge.closed,.badge.expired,.badge.deleted{background:#f1f5f9;color:#475569}.task-card{display:flex;flex-direction:column;gap:10px}.task-card h3{margin:0}.task-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.reward{font-size:22px;font-weight:900;color:var(--primary)}.auth{max-width:560px;margin:48px auto}.split{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.proof-img{max-width:700px;width:100%;border-radius:12px;border:1px solid var(--line)}.kicker{font-weight:850;color:var(--primary);text-transform:uppercase;letter-spacing:.08em;font-size:11px}.notice{padding:12px 14px;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;color:#92400e;font-size:13px}.info{padding:12px 14px;background:#eef6ff;border:1px solid #cfe3ff;border-radius:10px;color:#244a73;font-size:13px}.empty{padding:32px;text-align:center;color:var(--muted)}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;color:var(--muted);font-size:13px}.filters{display:grid;grid-template-columns:2fr repeat(3,1fr) auto;gap:10px;align-items:end;margin-bottom:16px}.checkbox-row{display:flex;gap:16px;flex-wrap:wrap}.checkbox-row label{display:flex;align-items:center;gap:7px}.checkbox-row input{width:auto}.proof-list{display:grid;gap:8px;margin-top:8px}.proof-item{padding:9px 11px;background:#f8fafc;border:1px solid var(--line);border-radius:10px}.danger-text{color:#b91c1c}.good-text{color:#15803d}hr{border:0;border-top:1px solid var(--line);margin:24px 0}code{background:#f1f5f9;padding:2px 5px;border-radius:5px}.proof-options{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:8px 16px;align-items:center}.proof-options label,.inline-check{display:flex;gap:7px;align-items:center;font-weight:500}.proof-options input,.inline-check input{width:auto}

/* Public professional footer */
.public-footer{margin-top:55px;background:#fff;border-top:1px solid var(--line)}.public-footer-inner{max-width:1220px;margin:auto;padding:42px 18px 34px;display:grid;grid-template-columns:minmax(300px,2fr) 1fr 1fr;gap:56px}.footer-brand{display:inline-flex}.footer-brand-block p{max-width:500px;color:var(--muted);font-size:13px;line-height:1.75;margin:18px 0 0}.footer-column{display:flex;flex-direction:column;gap:10px}.footer-column strong{font-size:12px;text-transform:uppercase;letter-spacing:.065em;color:#3d475a;margin-bottom:5px}.footer-column a{font-size:13px;color:#707b8f}.footer-column a:hover{color:var(--primary)}.public-footer-bottom{max-width:1220px;margin:auto;border-top:1px solid var(--line);padding:17px 18px 22px;display:flex;justify-content:space-between;gap:16px;color:#9aa3b2;font-size:11px}

/* Advertising slots */
.ad-slot{margin:22px 0;padding:12px 10px;border:1px solid #e6e9ef;border-radius:14px;background:#fff;text-align:center;overflow:hidden;max-width:100%}.ad-slot .ad-label{font-size:11px;line-height:1.2;color:#7a8495;margin:0 0 8px;text-transform:uppercase;letter-spacing:.08em}.ad-slot iframe,.ad-slot img,.ad-slot video,.ad-slot object,.ad-slot embed{max-width:100%}.ad-test-banner{min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #8f8be8;border-radius:10px;background:#f6f6ff;color:#4338ca}.ad-test-banner strong{font-size:14px}.ad-test-banner span{font-size:11px;text-transform:capitalize;color:#6d69bd}.code-area{min-height:135px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;font-size:13px;line-height:1.45}

@media(max-width:1099px){.sidebar{transform:translateX(-102%);box-shadow:14px 0 38px rgba(31,41,72,.16);transition:transform .22s ease}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-close{display:inline-grid;place-items:center}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(30,41,59,.28);z-index:55;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.sidebar-open .sidebar-overlay{opacity:1;visibility:visible}.sidebar-open{overflow:hidden}.app-main{margin-left:0}.menu-toggle{display:inline-flex}.app-content{padding-top:23px}}
@media(max-width:980px){.stats{grid-template-columns:repeat(2,1fr)}.grid,.grid.two{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.public-menu-toggle{display:inline-flex}.public-header nav{display:none;position:absolute;top:62px;left:14px;right:14px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:2px}.public-header nav.open{display:flex}.public-header nav>a:not(.btn){padding:10px 12px}.public-header nav .btn{margin-top:4px}.nav-divider{display:none}.public-footer-inner{grid-template-columns:1.6fr 1fr 1fr;gap:30px}}
@media(max-width:720px){.account-chip-copy,.chevron{display:none}.account-chip{padding:4px}.app-topbar{padding:0 14px}.app-content{padding:20px 14px 28px}.app-footer{padding:15px 14px;flex-direction:column;align-items:flex-start}.public-header-inner{padding:0 14px;min-height:62px}.public-footer-inner{grid-template-columns:1fr 1fr;padding:34px 18px}.footer-brand-block{grid-column:1/-1}.public-footer-bottom{flex-direction:column}.page-eyebrow{display:none}.page-heading strong{font-size:14px}.hero{padding-top:32px}}
@media(max-width:640px){.stats{grid-template-columns:1fr 1fr}.container,.public-main{margin-top:20px}.card{padding:16px}.filters{grid-template-columns:1fr}.pagination{align-items:flex-start;flex-direction:column}.stat .value{font-size:19px}.brand-copy strong{max-width:175px}.public-footer-inner{grid-template-columns:1fr;gap:28px}.footer-brand-block{grid-column:auto}.sidebar{width:min(86vw,290px)}.topbar-actions{gap:6px}.icon-button{width:38px;height:38px}.account-chip{height:40px}.small-avatar{width:30px;height:30px}.hero h1{font-size:clamp(34px,12vw,50px)}}
@media(max-width:390px){.stats{grid-template-columns:1fr}.page-heading{max-width:150px}.brand-copy small{display:none}}

/* Dashboard quick action in header */
.topbar-quick{height:40px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border-radius:10px;background:var(--primary);color:#fff;font-size:12px;font-weight:800;box-shadow:0 7px 16px rgba(79,70,229,.14)}.topbar-quick:hover{color:#fff;background:#4338ca}.topbar-quick .nav-icon{width:16px;height:16px}@media(max-width:760px){.topbar-quick span{display:none}.topbar-quick{width:38px;padding:0;justify-content:center}}


/* Responsive sticky ads: Homepage + user task pages only */
.sticky-page-layout{display:block}.sticky-page-layout.sticky-grid-active{display:grid;grid-template-columns:minmax(0,1fr) 324px;gap:22px;align-items:start}.sticky-page-main{min-width:0}.sticky-page-rail{display:none;min-width:0}.sticky-ad-card,.sticky-bottom-ad{background:#fff;border:1px solid #dfe4ec;border-radius:14px;box-shadow:0 12px 30px rgba(31,41,72,.12);position:relative}.sticky-ad-card{width:324px;padding:11px}.sticky-ad-300x250{position:sticky;top:92px}.sticky-ad-label{font-size:9px;line-height:1;color:#8b95a6;text-transform:uppercase;letter-spacing:.08em;text-align:center;margin:1px 24px 8px}.sticky-ad-mount{display:flex;align-items:center;justify-content:center;overflow:hidden;margin:auto}.sticky-ad-300x250 .sticky-ad-mount{width:300px;min-height:250px}.sticky-ad-mount iframe,.sticky-ad-mount img,.sticky-ad-mount video,.sticky-ad-mount object,.sticky-ad-mount embed{max-width:100%}.sticky-ad-close{position:absolute;right:-8px;top:-9px;z-index:3;width:25px;height:25px;padding:0;border-radius:999px;background:#fff;color:#536075;border:1px solid #d8deea;box-shadow:0 4px 12px rgba(31,41,72,.14);font-size:17px;font-weight:700;line-height:1}.sticky-ad-close:hover{background:#f8fafc;color:#172033;box-shadow:0 4px 12px rgba(31,41,72,.14)}.sticky-bottom-ad{display:none;position:fixed;z-index:54;left:50%;bottom:10px;transform:translateX(-50%);padding:8px 10px;max-width:calc(100vw - 24px)}.sticky-bottom-ad.is-visible{display:block}.sticky-bottom-ad[data-size="728x90"] .sticky-ad-mount{width:728px;min-height:90px;max-width:calc(100vw - 44px)}.sticky-bottom-ad[data-size="468x60"] .sticky-ad-mount{width:468px;min-height:60px;max-width:calc(100vw - 44px)}body.sticky-bottom-active{padding-bottom:128px}.sticky-page-layout.sticky-rail-closed{grid-template-columns:minmax(0,1fr)}.sticky-page-layout.sticky-rail-closed .sticky-page-rail{display:none!important}@media(min-width:1181px){.public-body .sticky-page-layout.sticky-grid-active .sticky-page-rail.is-visible{display:block}}@media(min-width:1550px){.dashboard-body .sticky-page-layout.sticky-grid-active .sticky-page-rail.is-visible{display:block}}@media(min-width:1100px){.dashboard-body .sticky-bottom-ad{left:calc(50% + (var(--sidebar-width) / 2))}}@media(max-width:559px){.sticky-bottom-ad{display:none!important}body.sticky-bottom-active{padding-bottom:0}}

/* TheoremReach publisher integration */
.theoremreach-shell{padding:0;overflow:hidden}.theoremreach-toolbar{min-height:58px;padding:12px 16px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfcff}.theoremreach-toolbar>div{display:flex;flex-direction:column;gap:2px}.theoremreach-frame{display:block;width:100%;height:760px;border:0;background:#fff}.copy-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.copy-line input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px}.badge.debug{background:#eef6ff;color:#1d4ed8}.badge.credited{background:#ecfdf3;color:#166534}@media(max-width:720px){.theoremreach-frame{height:720px}.theoremreach-toolbar{align-items:flex-start;flex-direction:column}.copy-line{grid-template-columns:1fr}.copy-line button{width:100%}}

.logo.logo-image{display:flex;width:auto;max-width:200px;height:56px;min-width:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;border:0;padding:0;flex:0 1 auto}.logo.logo-image img{display:block;width:auto;height:auto;max-width:200px;max-height:56px;object-fit:contain}.brand:has(.logo-image){gap:0}.brand-sidebar .logo.logo-image{max-width:180px;max-height:52px;height:52px}.brand-sidebar .logo.logo-image img{max-width:180px;max-height:52px}@media(max-width:720px){.logo.logo-image,.brand-sidebar .logo.logo-image{max-width:170px;height:48px;max-height:48px}.logo.logo-image img,.brand-sidebar .logo.logo-image img{max-width:170px;max-height:48px}}


/* V2.6 Points campaign calculator */
.task-cost-preview{margin-top:18px;padding:15px 17px;border:1px solid #dfe4f0;border-radius:13px;background:#f8faff;display:grid;gap:5px;color:#445066}.task-cost-preview strong{color:#252f45;margin-bottom:3px}.task-cost-preview span{font-size:13px}.task-cost-preview span:last-child{padding-top:6px;margin-top:3px;border-top:1px dashed #d8deea;color:#302b87;font-weight:750}


/* V2.6.1 professional public homepage */
.home-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:48px;align-items:center;padding:72px 0 48px}.home-hero-copy h1{font-size:clamp(42px,6.4vw,74px);line-height:1.01;letter-spacing:-.05em;margin:10px 0 20px;max-width:850px}.home-hero-copy>p{font-size:18px;line-height:1.75;color:var(--muted);max-width:720px;margin:0}.home-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid #dfe3ff;background:#f7f7ff;border-radius:999px;color:#4a45b8;font-size:11px;font-weight:800;margin-bottom:18px}.home-badge span{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.home-primary{padding-inline:21px}.home-text-link{font-size:13px;font-weight:750;color:#677289;padding:10px 2px}.home-text-link:hover{color:var(--primary)}.home-trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px;color:#637087;font-size:12px;font-weight:700}.home-hero-panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 24px 60px rgba(31,41,72,.11);position:relative;overflow:hidden}.home-hero-panel:before{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-80px;top:-90px;background:#f0efff}.home-panel-head{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:850;margin-bottom:14px}.home-live-dot{padding:5px 8px;border-radius:999px;background:#ecfdf3;color:#15803d;font-size:10px}.home-flow-step{position:relative;display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.home-flow-step>b{width:34px;height:34px;border-radius:10px;background:var(--primary-soft);color:#4338ca;display:grid;place-items:center;font-size:11px;flex:0 0 auto}.home-flow-step>div{display:flex;flex-direction:column;gap:3px}.home-flow-step strong{font-size:13px}.home-flow-step small{color:var(--muted);font-size:11px;line-height:1.5}.home-panel-rate{margin-top:17px;background:#f8faff;border:1px solid #e3e7f4;border-radius:13px;padding:14px;display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:end}.home-panel-rate span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-weight:800}.home-panel-rate strong{font-size:20px;color:#342f95}.home-panel-rate small{grid-column:1/-1;color:var(--muted);font-size:10px}.home-metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow-sm);margin:12px 0 64px}.home-metrics>div{padding:20px 22px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.home-metrics>div:last-child{border-right:0}.home-metrics strong{font-size:22px;letter-spacing:-.025em}.home-metrics span{font-size:11px;color:var(--muted)}.home-section{padding:24px 0 58px}.home-section-head{display:flex;justify-content:space-between;gap:42px;align-items:end;margin-bottom:24px}.home-section-head h2,.home-advertiser-copy h2,.home-final-cta h2{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.035em;margin:6px 0 0}.home-section-head>p{max-width:500px;color:var(--muted);font-size:14px;margin:0}.home-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:15px}.home-feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px;min-height:190px;box-shadow:var(--shadow-sm)}.home-feature-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--primary-soft);color:#4338ca;font-size:10px;font-weight:900;margin-bottom:25px}.home-feature h3{font-size:16px;margin:0 0 8px}.home-feature p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}.home-feature-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.home-advertiser-section{margin:30px 0 62px;padding:38px;border:1px solid #e0e4f1;border-radius:22px;background:linear-gradient(135deg,#fafbff,#f4f5ff);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:44px;align-items:center}.home-advertiser-copy>p{color:var(--muted);line-height:1.75}.home-check-list{display:grid;gap:9px;margin:22px 0 25px;color:#4f5b70;font-size:13px;font-weight:650}.home-cost-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;box-shadow:0 14px 34px rgba(31,41,72,.08)}.home-cost-title{display:flex;justify-content:space-between;gap:12px;align-items:end;padding-bottom:13px;border-bottom:1px solid var(--line)}.home-cost-title span{font-weight:850}.home-cost-title small{color:var(--muted)}.home-cost-row{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eff1f6;font-size:12px}.home-cost-row span{color:var(--muted)}.home-cost-total{margin-top:15px;padding:15px;background:#f5f6ff;border-radius:12px;display:grid;grid-template-columns:1fr auto;gap:2px 15px}.home-cost-total span{font-size:11px;color:#5955a8;font-weight:800}.home-cost-total strong{font-size:18px;color:#302b87}.home-cost-total small{grid-column:1/-1;color:var(--muted);font-size:10px}.home-security-section{padding-top:8px}.home-final-cta{margin:10px 0 40px;padding:30px 34px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);display:flex;justify-content:space-between;align-items:center;gap:32px}.home-final-cta p{color:var(--muted);margin:8px 0 0;max-width:650px}

/* Advertiser accounting */
.finance-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.finance-mini-grid>div{padding:14px;background:#f8fafc;border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column;gap:3px}.finance-mini-grid strong{font-size:20px}.finance-mini-grid span{font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:800;letter-spacing:.045em}.billing-lines{display:grid;gap:0;margin-top:10px}.billing-lines>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #edf0f5;font-size:13px}.billing-lines>div:last-child{border-bottom:0}.billing-lines span{color:var(--muted)}.billing-lines strong{text-align:right}.finance-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:16px}.finance-steps{margin:14px 0 0;padding-left:20px;color:var(--muted);display:grid;gap:10px;font-size:13px}.finance-steps strong{color:var(--text)}.campaign-money-breakdown{margin-top:-8px}

@media(max-width:980px){.home-hero,.home-advertiser-section{grid-template-columns:1fr;gap:28px}.home-hero{padding-top:48px}.home-hero-panel{max-width:660px}.home-metrics{grid-template-columns:1fr 1fr}.home-metrics>div:nth-child(2){border-right:0}.home-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.home-feature-grid-three{grid-template-columns:1fr}.finance-breakdown{grid-template-columns:1fr}.finance-mini-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.home-hero{padding:34px 0 28px}.home-hero-copy h1{font-size:clamp(38px,12vw,54px)}.home-section-head,.home-final-cta{align-items:flex-start;flex-direction:column}.home-advertiser-section{padding:24px}.home-metrics{margin-bottom:42px}.home-trust-row{gap:10px;flex-direction:column}.home-final-cta{padding:24px}.home-final-cta .hero-actions{width:100%}.home-final-cta .btn{flex:1}.finance-mini-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.home-metrics{grid-template-columns:1fr}.home-metrics>div{border-right:0;border-bottom:1px solid var(--line)}.home-metrics>div:last-child{border-bottom:0}.home-metrics>div:nth-child(2){border-bottom:1px solid var(--line)}.home-hero-panel{padding:17px}.home-advertiser-section{padding:20px}.finance-mini-grid{grid-template-columns:1fr}}

/* V2.7 task images + homepage live task cards */
.task-card.task-card-visual{padding:0;overflow:hidden;gap:0;min-width:0;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.task-card.task-card-visual:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(31,41,72,.10);border-color:#d9deeb}
.task-card-media{display:block;position:relative;width:100%;aspect-ratio:16/9;background:#f1f4f9;overflow:hidden;border-bottom:1px solid var(--line)}
.task-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
.task-card.task-card-visual:hover .task-card-media img{transform:scale(1.025)}
.task-card-placeholder{width:100%;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:18px;background:linear-gradient(135deg,#eef2ff 0%,#f7f8fc 58%,#eceffd 100%);color:#4c48b8}
.task-card-placeholder span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;opacity:.8}.task-card-placeholder strong{font-size:25px;letter-spacing:-.03em}
.task-card-body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}.task-card-body h3{font-size:17px;line-height:1.35;margin:0}.task-title-link{color:var(--text)}.task-title-link:hover{color:var(--primary)}
.task-card-description{font-size:12.5px;line-height:1.62;margin:0;min-height:40px}.task-card-bottom-meta{margin-top:auto;padding-top:3px}.task-card-button{width:100%;margin-top:3px}.task-card-body .reward{font-size:20px}
.home-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-task-head-actions{max-width:480px;display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;flex-wrap:wrap}.home-task-head-actions p{margin:0;color:var(--muted);font-size:13px;line-height:1.6;flex:1;min-width:250px}.home-task-empty{grid-column:1/-1;margin:0}
.task-detail-image{width:100%;margin:4px 0 22px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#f5f7fb}.task-detail-image img{display:block;width:100%;max-height:520px;aspect-ratio:16/9;object-fit:cover}
.task-image-upload-preview{display:flex;align-items:center;gap:13px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fafbfe;margin-bottom:3px}.task-image-upload-preview img{width:120px;height:68px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}.task-image-upload-preview span{font-size:12px;color:var(--muted);font-weight:650}
@media(max-width:1120px){.home-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.home-task-head-actions{max-width:none;justify-content:flex-start;align-items:flex-start}.home-task-grid{grid-template-columns:1fr 1fr}.task-card-body{padding:15px}.task-card-body h3{font-size:15px}.task-card-description{min-height:0}}
@media(max-width:520px){.home-task-grid{grid-template-columns:1fr}.task-image-upload-preview{align-items:flex-start;flex-direction:column}.task-image-upload-preview img{width:100%;height:auto;aspect-ratio:16/9}}

/* V2.7.2 — consistent worker task cards */
.user-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.user-task-grid>.task-card{margin-bottom:0;height:100%}
.user-task-grid .task-card-media{aspect-ratio:16/9}
.dashboard-task-section{margin-top:10px}.dashboard-task-section>.split{margin-bottom:14px}.dashboard-task-section h2{margin:0}
.task-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 14px;color:var(--muted);font-size:13px}.task-results-head strong{color:var(--text)}.task-results-head small{font-size:11px;color:var(--muted)}
.task-grid-empty{grid-column:1/-1;margin-bottom:0}
@media(max-width:1180px){.user-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.task-results-head{align-items:flex-start;flex-direction:column}.user-task-grid{grid-template-columns:1fr}}

/* V2.7.4 — refined homepage typography + premium 3D card borders */
.home-hero-copy h1{font-size:clamp(34px,4.7vw,56px);line-height:1.08;letter-spacing:-.035em;margin:8px 0 16px;max-width:820px}
.home-hero-copy>p{font-size:16px;line-height:1.72;max-width:700px}
.home-section-head h2,.home-advertiser-copy h2,.home-final-cta h2{font-size:clamp(24px,3.2vw,34px);line-height:1.16;letter-spacing:-.025em;margin:5px 0 0}
.home-feature h3,.home-task-grid .task-card-body h3{font-size:15px;line-height:1.4;letter-spacing:-.01em}
.home-hero-panel,.home-metrics,.home-feature,.home-cost-card,.home-final-cta,.home-task-grid .task-card{
  border-width:1px;
  border-style:solid;
  border-color:#cfd7ff;
  box-shadow:0 3px 0 #dfe3ff,0 12px 28px rgba(55,65,110,.10),inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.home-hero-panel:hover,.home-feature:hover,.home-cost-card:hover,.home-final-cta:hover,.home-task-grid .task-card:hover{
  transform:translateY(-3px);
  border-color:#9ca9f5;
  box-shadow:0 5px 0 #d9defe,0 18px 36px rgba(55,65,110,.14),inset 0 1px 0 rgba(255,255,255,1);
}
.home-metrics{border-color:#c9e6dc;box-shadow:0 3px 0 #d9efe7,0 12px 28px rgba(37,90,74,.09),inset 0 1px 0 rgba(255,255,255,.95)}
.home-metrics>div:nth-child(1){background:linear-gradient(180deg,#fff 0%,#fbfffd 100%)}
.home-metrics>div:nth-child(2){background:linear-gradient(180deg,#fff 0%,#fffdf8 100%)}
.home-metrics>div:nth-child(3){background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.home-metrics>div:nth-child(4){background:linear-gradient(180deg,#fff 0%,#fffafd 100%)}
.home-feature:nth-child(4n+1),.home-task-grid .task-card:nth-child(4n+1){border-color:#cfd7ff;box-shadow:0 3px 0 #dfe3ff,0 12px 28px rgba(79,70,229,.09),inset 0 1px 0 #fff}
.home-feature:nth-child(4n+2),.home-task-grid .task-card:nth-child(4n+2){border-color:#bfe4d4;box-shadow:0 3px 0 #d8f0e5,0 12px 28px rgba(21,128,61,.08),inset 0 1px 0 #fff}
.home-feature:nth-child(4n+3),.home-task-grid .task-card:nth-child(4n+3){border-color:#f1d0a9;box-shadow:0 3px 0 #f7e4cb,0 12px 28px rgba(180,83,9,.08),inset 0 1px 0 #fff}
.home-feature:nth-child(4n+4),.home-task-grid .task-card:nth-child(4n+4){border-color:#e5c7e7;box-shadow:0 3px 0 #f0dcf1,0 12px 28px rgba(147,51,147,.07),inset 0 1px 0 #fff}
.home-advertiser-section{border:1px solid #cbd6f6;box-shadow:0 4px 0 #e0e6f8,0 18px 40px rgba(58,74,120,.10),inset 0 1px 0 rgba(255,255,255,.9)}
.home-cost-card{border-color:#bddfd1;box-shadow:0 3px 0 #d7eee5,0 16px 34px rgba(31,98,72,.10),inset 0 1px 0 #fff}
.home-final-cta{border-color:#d8c9ef;box-shadow:0 4px 0 #e9def6,0 16px 34px rgba(91,63,137,.10),inset 0 1px 0 #fff}
.home-task-grid .task-card.task-card-visual:hover{transform:translateY(-4px)}
@media(max-width:720px){
  .home-hero-copy h1{font-size:clamp(30px,9vw,42px);line-height:1.1}
  .home-hero-copy>p{font-size:15px}
  .home-section-head h2,.home-advertiser-copy h2,.home-final-cta h2{font-size:clamp(22px,7vw,29px)}
  .home-feature h3,.home-task-grid .task-card-body h3{font-size:14px}
}


/* V2.8.0 — cross-version + mobile responsiveness hardening */
html,body{max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%;height:auto}.card,.stat,.field,.split>*{min-width:0}.table-wrap{width:100%;max-width:100%;-webkit-overflow-scrolling:touch}.ad-slot{width:100%}.ad-slot iframe,.ad-slot img,.ad-slot video,.ad-slot object,.ad-slot embed{max-width:100%!important}.proof-img{height:auto}.app-content,.public-main,.container{min-width:0}
@media(max-width:720px){
  body{font-size:15px}.public-main,.container{padding-left:12px;padding-right:12px}.app-content{padding-left:12px;padding-right:12px}
  input,textarea,select{font-size:16px;min-height:44px}.btn,button{min-height:44px}.btn.small,button.small{min-height:40px}
  .split{align-items:flex-start}.split>.actions{width:100%}.split>.actions .btn,.split>.actions button{flex:1 1 auto}
  .checkbox-row{flex-direction:column;gap:10px;align-items:flex-start}.proof-options{grid-template-columns:1fr;align-items:start}
  .table-wrap table{min-width:680px}.auth{margin:20px auto}.card{padding:16px}.notice,.info,.alert{overflow-wrap:anywhere}
  .theoremreach-frame{height:72vh;min-height:560px}.task-detail-image img{max-height:none}.copy-line{width:100%}
}
@media(max-width:600px){.home-task-grid{grid-template-columns:1fr}.home-task-head-actions p{min-width:0}.home-final-cta .hero-actions{display:grid;grid-template-columns:1fr;width:100%}.home-final-cta .btn{width:100%}}
@media(max-width:480px){.stats{grid-template-columns:1fr}.public-header-inner{gap:10px}.brand-copy strong{max-width:150px}.app-topbar{gap:8px}.page-heading{max-width:135px}.topbar-actions{margin-left:auto}.form-grid{gap:12px}.card h1{font-size:22px}.card h2{font-size:18px}.reward{font-size:19px}}
