/* Red Seal Practice — production UI v2
   Purpose: consistent modern education design without altering application logic. */
:root{
  --rs-bg:#f5f7ff;--rs-surface:#fff;--rs-soft:#f8faff;--rs-text:#111c35;--rs-muted:#60708a;
  --rs-line:#dfe7f4;--rs-blue:#2864f0;--rs-blue-dark:#1747c8;--rs-purple:#7557ed;
  --rs-red:#f43f5e;--rs-green:#16a36a;--rs-orange:#f97316;--rs-cyan:#13a7cf;
  --rs-radius:18px;--rs-radius-lg:28px;--rs-shadow:0 12px 34px rgba(35,61,110,.09);
  --rs-shadow-lg:0 24px 60px rgba(35,61,110,.15);--rs-max:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--rs-bg)}
body{margin:0!important;min-height:100vh;overflow-x:hidden;color:var(--rs-text)!important;background:
 radial-gradient(circle at 6% 10%,rgba(40,100,240,.08),transparent 28rem),
 radial-gradient(circle at 94% 18%,rgba(117,87,237,.08),transparent 25rem),
 linear-gradient(180deg,#fff 0,#f7f9ff 28%,#f2f6fd 100%)!important;
 font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;line-height:1.55}
img,svg,video,canvas{max-width:100%;height:auto}.hidden{display:none!important}
a{text-decoration:none}.seo-page main{width:100%!important;max-width:none!important;margin:0!important}

/* Typography */
h1,h2,h3,h4,h5,h6{margin-top:0;color:var(--rs-text)!important;line-height:1.15;letter-spacing:-.025em}
h1{font-size:clamp(2.35rem,5vw,4.35rem);font-weight:900}h2{font-size:clamp(1.8rem,3.3vw,2.8rem);font-weight:880}h3{font-size:clamp(1.08rem,1.8vw,1.35rem);font-weight:820}
p,li,small{color:var(--rs-muted)}

/* Shared site width */
.page-wrap,.seo-container,.contributor-wrap,.section-inner,.light-inner,.footer-inner{width:min(var(--rs-max),calc(100% - 40px))!important;max-width:var(--rs-max)!important;margin-inline:auto!important}
.section,.seo-section{padding:68px 0!important}.seo-section:nth-of-type(even){background:rgba(238,244,255,.36)}

/* Navbar */
#site-navbar{min-height:76px}.navbar,.site-navbar{position:sticky!important;top:0;z-index:1000;width:100%!important;min-height:76px!important;padding:0 max(24px,calc((100vw - var(--rs-max))/2))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;background:rgba(255,255,255,.96)!important;border:0!important;border-bottom:1px solid var(--rs-line)!important;box-shadow:0 6px 24px rgba(31,54,96,.07)!important;backdrop-filter:blur(16px)}
.brand,.site-brand{position:relative;display:flex!important;align-items:center!important;gap:10px!important;color:var(--rs-text)!important;font-size:20px!important;font-weight:900!important;white-space:nowrap;background:none!important;padding:0!important}
.brand::before,.site-brand::before{content:"✓";display:grid;place-items:center;width:34px;height:38px;color:#fff;font-weight:900;background:linear-gradient(145deg,var(--rs-purple),var(--rs-blue));clip-path:polygon(50% 0,94% 17%,88% 76%,50% 100%,12% 76%,6% 17%);filter:drop-shadow(0 8px 10px rgba(70,73,220,.22))}
.nav-links,.site-nav-links{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;flex-wrap:wrap!important}.nav-links a,.site-nav-links a,.site-navbar a:not(.site-brand){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px;padding:9px 11px!important;border-radius:10px!important;color:var(--rs-text)!important;background:transparent!important;border:1px solid transparent!important;font-size:13px!important;font-weight:760!important;line-height:1!important;transition:.2s ease!important}.nav-links a:hover,.site-nav-links a:hover,.nav-links a.is-active{color:var(--rs-blue)!important;background:#edf3ff!important;border-color:#d8e5ff!important;transform:translateY(-1px)}
.nav-links a[href*="admin"]{color:#fff!important;background:linear-gradient(135deg,var(--rs-red),#f43f7a)!important;box-shadow:0 8px 20px rgba(244,63,94,.24)}.nav-links a[href="/signup"]{color:#fff!important;background:linear-gradient(135deg,var(--rs-blue),var(--rs-purple))!important}.nav-links a[href="/login"],.nav-links a[href="/account"]{border-color:#d6e0ef!important;background:#fff!important}.mobile-menu-toggle{display:none!important;width:44px;height:42px;padding:0!important;border:1px solid var(--rs-line)!important;border-radius:12px!important;background:#fff!important;color:var(--rs-text)!important;font-size:22px!important}

/* Universal actions — strong contrast */
.btn,.seo-btn,.article-btn,.login-btn,.create-btn,.btn-card,.trade-card-actions a,.level-card-actions a,button[type="submit"],input[type="submit"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:46px;padding:12px 18px!important;border-radius:12px!important;border:1px solid transparent!important;font-weight:850!important;line-height:1.1!important;text-align:center!important;text-decoration:none!important;text-shadow:none!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;cursor:pointer}
.btn:hover,.seo-btn:hover,.article-btn:hover,.login-btn:hover,.create-btn:hover,.btn-card:hover,.trade-card-actions a:hover,.level-card-actions a:hover,button[type="submit"]:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(40,100,240,.2)}
.btn-red,.btn-primary,.seo-btn.primary,.article-btn.primary,.login-btn,.create-btn,button[type="submit"],input[type="submit"]{color:#fff!important;background:linear-gradient(135deg,var(--rs-blue),var(--rs-purple))!important;border-color:transparent!important}.btn-outline,.seo-btn.secondary,.article-btn.light{color:var(--rs-blue)!important;background:#fff!important;border-color:#bcd0ff!important}.btn-card{width:100%;margin-top:auto;color:var(--rs-blue)!important;background:#eef4ff!important;border-color:#ccdcff!important}.btn-card:hover{color:#fff!important;background:linear-gradient(135deg,var(--rs-blue),var(--rs-purple))!important}

/* Hero system */
.home-hero{width:min(var(--rs-max),calc(100% - 40px))!important;margin:28px auto 0!important;padding:0!important;background:none!important;border:0!important;overflow:visible!important}.home-hero .hero-inner{width:100%!important;max-width:none!important;margin:0!important;display:block!important}.home-hero .hero-grid{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr)!important;gap:44px!important;align-items:center!important;padding:62px 54px!important;border:1px solid #dae5f5!important;border-radius:var(--rs-radius-lg)!important;background:radial-gradient(circle at 82% 28%,rgba(73,127,255,.20),transparent 22rem),radial-gradient(circle at 97% 90%,rgba(244,63,122,.11),transparent 16rem),linear-gradient(135deg,#fff 0,#f3f7ff 60%,#eaf1ff 100%)!important;box-shadow:var(--rs-shadow-lg)!important;overflow:hidden}
.eyebrow,.seo-eyebrow{display:inline-flex!important;align-items:center!important;width:max-content;padding:6px 11px!important;border-radius:999px!important;color:var(--rs-purple)!important;background:#f1edff!important;border:1px solid #e0d8ff!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:17px!important}.hero-title{margin:0 0 18px!important;font-size:clamp(3rem,5.1vw,4.7rem)!important;line-height:1.02!important}.hero-title span{color:var(--rs-red)!important}.hero-text{max-width:620px!important;margin:0 0 26px!important;color:var(--rs-muted)!important;font-size:18px!important;line-height:1.72!important}.cta-row{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:30px!important}.cta-row .btn{min-width:170px!important}.feature-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.mini-feature{display:flex!important;gap:12px!important;align-items:flex-start!important;padding:16px!important;background:rgba(255,255,255,.86)!important;border:1px solid var(--rs-line)!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(35,61,110,.06)!important}.mini-icon{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:13px!important;background:#eeeaff!important;font-size:20px!important}.mini-feature strong{display:block;color:var(--rs-text)!important;font-size:14px!important;margin-bottom:4px}.mini-feature span{display:block;color:var(--rs-muted)!important;font-size:12px!important;line-height:1.45!important}.video-card{position:relative!important;min-height:390px!important;display:grid!important;place-items:center!important;border:1px solid #d7e3f5!important;border-radius:24px!important;background:radial-gradient(circle at 65% 25%,rgba(117,87,237,.22),transparent 11rem),linear-gradient(145deg,#edf4ff,#f6efff)!important;box-shadow:0 18px 42px rgba(40,75,138,.13)!important;overflow:hidden}.video-card::before{content:"✓";display:grid;place-items:center;width:176px;height:210px;color:#fff;font-size:80px;font-weight:900;border-radius:34px;background:linear-gradient(145deg,#7490ff,var(--rs-blue));box-shadow:0 24px 45px rgba(40,100,240,.27)}.play-btn{position:absolute!important;z-index:2!important;width:70px!important;height:70px!important;padding:0!important;border-radius:50%!important;color:var(--rs-blue)!important;background:#fff!important;border:8px solid rgba(117,87,237,.22)!important;font-size:25px!important;box-shadow:0 14px 30px rgba(37,66,130,.22)!important}.video-label{position:absolute!important;left:20px!important;right:20px!important;bottom:22px!important;color:var(--rs-text)!important;font-weight:850!important;text-align:center!important}

/* Stats */
.stats-panel{width:min(1080px,calc(100% - 72px))!important;margin:-28px auto 0!important;position:relative!important;z-index:3!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:18px 22px!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:20px!important;box-shadow:var(--rs-shadow-lg)!important}.stat{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:11px 14px!important;border-right:1px solid var(--rs-line)!important}.stat:last-child{border-right:0!important}.stat-icon{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;border-radius:14px!important;background:#eef3ff!important;font-size:23px!important}.stat strong{display:block;color:var(--rs-text)!important;font-size:22px!important;line-height:1.05!important}.stat span{display:block;color:var(--rs-muted)!important;font-size:12px!important;margin-top:4px!important}

/* Standard section cards */
.section{width:min(var(--rs-max),calc(100% - 40px))!important;max-width:var(--rs-max)!important;margin-inline:auto!important;padding:68px 0!important}.section h2,.seo-section h2{text-align:center!important;margin-bottom:10px!important}.section-sub,.seo-sub{text-align:center!important;max-width:760px!important;margin:0 auto 30px!important;color:var(--rs-muted)!important}.grid{display:grid!important;gap:18px!important}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}.popular-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}.trade-tile{min-height:126px!important;padding:18px 12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:11px!important;color:var(--rs-text)!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important;transition:.2s ease!important}.trade-tile:hover{transform:translateY(-5px)!important;border-color:#aebff5!important;box-shadow:var(--rs-shadow-lg)!important}.trade-tile .icon{display:grid!important;place-items:center!important;width:52px!important;height:52px!important;border-radius:16px!important;background:linear-gradient(145deg,#eef3ff,#f7edff)!important;font-size:28px!important}.trade-tile span{font-weight:820!important;font-size:14px!important}.card{position:relative!important;min-height:238px!important;padding:22px!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important;overflow:hidden!important;transition:.2s ease!important}.card:hover{transform:translateY(-5px)!important;box-shadow:var(--rs-shadow-lg)!important;border-color:#b9ccf5!important}.card::before{content:"✦";display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:15px;background:#f0edff;color:var(--rs-purple);font-size:22px}.grid-3 .card:nth-child(4n+2)::before{content:"⚙";background:#eaf5ff;color:var(--rs-blue)}.grid-3 .card:nth-child(4n+3)::before{content:"✓";background:#e9fbf4;color:var(--rs-green)}.grid-3 .card:nth-child(4n+4)::before{content:"⚡";background:#fff5e8;color:var(--rs-orange)}.card-title{color:var(--rs-text)!important;font-size:18px!important;font-weight:850!important;line-height:1.3!important;margin-bottom:9px!important}.card-text{color:var(--rs-muted)!important;font-size:13px!important;line-height:1.6!important;margin-bottom:18px!important;flex:1!important}

/* Generic surface/card families */
.seo-card,.faq-item,.contributor-card,.trade-card,.price-card,.blog-card,.article-card,.dashboard-card,.admin-card,.question-card,.quiz-card,.form-card,.signup-card,.login-card,.account-card,.panel,.box{background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important;color:var(--rs-text)!important}.seo-card,.contributor-card,.price-card,.blog-card,.article-card,.dashboard-card,.admin-card{padding:22px!important;transition:.2s ease!important}.seo-card:hover,.price-card:hover,.blog-card:hover,.article-card:hover,.trade-card:hover{transform:translateY(-4px)!important;border-color:#b8ccf5!important;box-shadow:var(--rs-shadow-lg)!important}

/* SEO heroes */
.seo-hero,.contributor-hero{width:min(var(--rs-max),calc(100% - 40px))!important;margin:28px auto 0!important;padding:52px 54px!important;border:1px solid #d9e5f5!important;border-radius:var(--rs-radius-lg)!important;background:radial-gradient(circle at 84% 24%,rgba(69,125,255,.18),transparent 22rem),radial-gradient(circle at 97% 92%,rgba(244,63,122,.11),transparent 15rem),linear-gradient(135deg,#fff,#f1f6ff)!important;box-shadow:var(--rs-shadow-lg)!important;overflow:hidden!important}.seo-hero .seo-container,.contributor-hero .contributor-wrap{width:100%!important;max-width:760px!important;margin:0!important}.seo-hero h1,.contributor-hero h1{margin-bottom:16px!important}.seo-hero p,.contributor-hero p{max-width:760px!important;font-size:17px!important;line-height:1.7!important}.seo-actions{display:flex!important;gap:12px!important;flex-wrap:wrap!important;margin-top:22px!important}.seo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}.seo-card{display:flex!important;flex-direction:column!important;min-height:190px!important}.seo-card h3{margin-bottom:10px!important}.seo-card p{flex:1!important;margin-bottom:16px!important}.level-card-actions{display:flex!important;gap:9px!important;margin-top:auto!important;flex-wrap:wrap!important}.level-card-actions .seo-btn{flex:1 1 130px!important}.level-card-actions .primary{color:#fff!important;background:linear-gradient(135deg,var(--rs-blue),var(--rs-purple))!important}.level-card-actions .secondary{color:var(--rs-blue)!important;background:#eef4ff!important;border-color:#cbdcff!important}.level-trade-card::before{content:"🧰";display:grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border-radius:15px;background:#eef2ff;font-size:23px}.level-trade-card:nth-child(5n+2)::before{content:"🚗";background:#eafbf2}.level-trade-card:nth-child(5n+3)::before{content:"🧁";background:#fff3e8}.level-trade-card:nth-child(5n+4)::before{content:"🧱";background:#f3efff}.level-trade-card:nth-child(5n+5)::before{content:"⚡";background:#fff8dd}.exam-badge{display:inline-flex!important;width:max-content!important;padding:5px 9px!important;border-radius:999px!important;color:var(--rs-purple)!important;background:#f1edff!important;border:1px solid #e0d8ff!important;font-size:10px!important;font-weight:850!important}.level-trade-toolbar,.trade-search-panel{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:20px!important;margin-bottom:22px!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important}.trade-search-panel{display:grid!important;grid-template-columns:1fr minmax(420px,.9fr)!important}.trade-search-controls{display:flex!important;gap:10px!important}.trade-result-count{grid-column:1/-1!important;color:var(--rs-blue)!important;font-weight:800!important}.trade-search-input{max-width:600px!important}

/* Trades directory */
#tradesGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}.trade-card{--accent:var(--rs-purple);display:flex!important;flex-direction:column!important;min-height:500px!important;padding:22px!important}.trade-card:nth-child(6n+2){--accent:var(--rs-blue)}.trade-card:nth-child(6n+3){--accent:var(--rs-green)}.trade-card:nth-child(6n+4){--accent:var(--rs-orange)}.trade-card:nth-child(6n+5){--accent:var(--rs-red)}.trade-card:nth-child(6n+6){--accent:var(--rs-cyan)}.trade-top{display:grid!important;grid-template-columns:58px 1fr!important;grid-template-rows:auto auto!important;column-gap:13px!important;align-items:center!important}.trade-top::before{content:attr(data-icon);grid-row:1/3!important;display:grid!important;place-items:center!important;width:58px!important;height:58px!important;border-radius:17px!important;background:color-mix(in srgb,var(--accent) 13%,white)!important;font-size:28px!important}.trade-pill{grid-column:2!important;width:max-content!important;max-width:100%!important;padding:5px 9px!important;border-radius:999px!important;color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 9%,white)!important;border:1px solid color-mix(in srgb,var(--accent) 22%,white)!important;font-size:10px!important;font-weight:850!important}.trade-title{grid-column:2!important;color:var(--rs-text)!important;font-size:19px!important;font-weight:880!important;line-height:1.22!important}.trade-desc{margin:16px 0!important;color:var(--rs-muted)!important;font-size:13px!important;line-height:1.58!important;flex:1!important}.trade-desc::after{content:"✓ 1200+ practice questions\A✓ 4 difficulty levels\A✓ Detailed explanations\A✓ Progress tracking";white-space:pre;display:block;margin-top:14px;color:#465873;font-size:12px;line-height:1.85}.trade-meta,.active-note{padding:11px 12px!important;border:1px solid var(--rs-line)!important;border-radius:12px!important;background:#f8faff!important;color:var(--rs-muted)!important;font-size:12px!important}.trade-card-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:14px!important}.trade-card-actions a{min-height:42px!important;padding:10px!important;font-size:12px!important}.trade-card-actions .learn{color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 8%,white)!important;border-color:color-mix(in srgb,var(--accent) 22%,white)!important}.trade-card-actions .sample{color:#fff!important;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 62%,#4f46e5))!important}.trade-card-actions .buy,.trade-card-actions .upsell,.trade-card-actions .owned{grid-column:1/-1!important;color:#fff!important}.trade-card-actions .buy,.trade-card-actions .upsell{background:linear-gradient(135deg,var(--rs-purple),#5e3ed3)!important}.trade-card-actions .owned{background:linear-gradient(135deg,var(--rs-green),#0d8757)!important}

/* Forms/auth */
input,select,textarea{width:100%!important;min-height:47px!important;padding:12px 14px!important;color:var(--rs-text)!important;background:#fbfcff!important;border:1px solid #d6e1f0!important;border-radius:11px!important;outline:none!important;font:inherit!important;transition:.18s ease!important}textarea{min-height:150px!important;resize:vertical!important}input:focus,select:focus,textarea:focus{background:#fff!important;border-color:#7aa2ff!important;box-shadow:0 0 0 4px rgba(40,100,240,.11)!important}label{color:var(--rs-text)!important;font-weight:760!important}.login-page,.signup-page{width:min(var(--rs-max),calc(100% - 40px))!important;min-height:calc(100vh - 150px)!important;margin:auto!important;padding:54px 0!important}.login-wrapper{display:grid!important;grid-template-columns:1fr minmax(370px,470px)!important;gap:56px!important;align-items:center!important}.login-card,.signup-card{padding:30px!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:22px!important;box-shadow:var(--rs-shadow-lg)!important}.signup-card{width:min(620px,100%)!important;margin:auto!important}.field{margin-bottom:15px!important}.field label{display:block!important;margin-bottom:7px!important}.login-btn,.create-btn{width:100%!important;margin-top:10px!important}.helper-links{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:18px!important}.helper-links a,.login-link a{font-weight:800!important;color:var(--rs-blue)!important}

/* Contributor */
.contributor-grid{display:grid!important;grid-template-columns:minmax(0,1.55fr) minmax(300px,.72fr)!important;gap:22px!important;align-items:start!important}.contributor-card{padding:24px!important}.article-rules-box,.article-help,.article-agreement{padding:16px!important;border-radius:14px!important;background:#f7f9ff!important;border:1px solid var(--rs-line)!important}.article-form{display:grid!important;gap:10px!important}.article-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:6px!important}

/* FAQ accordion */
.faq-list{display:grid!important;gap:12px!important}.faq-item{overflow:hidden!important}.faq-item h3{position:relative!important;margin:0!important;padding:19px 58px 19px 20px!important;cursor:pointer!important;font-size:16px!important}.faq-item h3::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#eeeaff;color:var(--rs-purple);font-size:20px}.faq-item.is-open h3::after{content:"−"}.faq-item p{margin:0!important;padding:0 20px 18px!important;max-height:180px;overflow:hidden;transition:max-height .2s ease,opacity .2s ease;color:var(--rs-muted)!important}.faq-item:not(.is-open) p{max-height:0!important;opacity:0!important;padding-bottom:0!important}.faq-item:first-child{border-color:#c9d9ff!important}.faq-item:first-child h3{background:#f5f7ff!important}

/* Pricing/premium cards */
.pricing-grid,.premium-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}.price-card{padding:23px!important;display:flex!important;flex-direction:column!important;min-height:300px!important}.price-card a,.price-card button{margin-top:auto!important;color:#fff!important;background:linear-gradient(135deg,var(--rs-blue),var(--rs-purple))!important}

/* Quiz/public practice */
.quiz-card,.question-card,.quiz-shell,.quiz-container{background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;box-shadow:var(--rs-shadow)!important}.option,.answer-option,.choice{display:flex!important;gap:10px!important;align-items:flex-start!important;padding:14px!important;margin:9px 0!important;color:var(--rs-text)!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:12px!important;transition:.18s ease!important}.option:hover,.answer-option:hover,.choice:hover{border-color:#91b0f4!important;background:#f7f9ff!important;transform:translateX(3px)!important}

/* Admin/tables */
.table-wrap{width:100%!important;overflow:auto!important;border:1px solid var(--rs-line)!important;border-radius:14px!important;background:#fff!important}table{width:100%!important;border-collapse:collapse!important;background:#fff!important}th{padding:13px!important;color:var(--rs-text)!important;background:#eef3ff!important;text-align:left!important;font-size:12px!important}td{padding:13px!important;color:var(--rs-muted)!important;border-top:1px solid var(--rs-line)!important}.dashboard-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.dashboard-card,.admin-card{padding:20px!important}

/* Footer */
.footer{margin-top:70px!important;background:#101d39!important;color:#d8e2f5!important}.footer-inner{padding:42px 0!important;display:grid!important;grid-template-columns:1.05fr 1.4fr 1fr!important;gap:28px!important;align-items:start!important}.footer-brand{color:#fff!important;font-size:21px!important;font-weight:900!important}.footer-links{display:flex!important;flex-wrap:wrap!important;gap:10px 16px!important}.footer a{color:#dce6f8!important}.footer a:hover{color:#fff!important}.footer-text,.footer-contact-text{color:#9fb0cf!important;font-size:13px!important}.footer-contact-heading{color:#fff!important}.footer-contact-block{grid-column:3!important}

/* Responsive */
@media(max-width:1100px){.home-hero .hero-grid{grid-template-columns:1fr .82fr!important;padding:48px 36px!important}.popular-grid{grid-template-columns:repeat(4,1fr)!important}#tradesGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.seo-grid,.grid-3,.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nav-links a{font-size:12px!important;padding:8px!important}}
@media(max-width:900px){.navbar,.site-navbar{padding:0 18px!important}.mobile-menu-toggle{display:grid!important;place-items:center!important}.nav-links,.site-nav-links{display:none!important;position:absolute!important;top:72px!important;left:14px!important;right:14px!important;padding:14px!important;flex-direction:column!important;align-items:stretch!important;background:#fff!important;border:1px solid var(--rs-line)!important;border-radius:16px!important;box-shadow:var(--rs-shadow-lg)!important}.navbar.menu-open .nav-links{display:flex!important}.nav-links a{width:100%!important;justify-content:flex-start!important;padding:12px 14px!important}.home-hero .hero-grid,.login-wrapper,.contributor-grid{grid-template-columns:1fr!important}.video-card{min-height:320px!important}.stats-panel{grid-template-columns:repeat(2,1fr)!important}.stat:nth-child(2){border-right:0!important}.stat:nth-child(-n+2){border-bottom:1px solid var(--rs-line)!important}.trade-search-panel{grid-template-columns:1fr!important}.trade-search-controls{flex-direction:column!important}.footer-inner{grid-template-columns:1fr 1fr!important}.footer-contact-block{grid-column:auto!important}}
@media(max-width:640px){.page-wrap,.seo-container,.contributor-wrap,.section,.home-hero,.seo-hero,.contributor-hero,.footer-inner{width:calc(100% - 24px)!important}.home-hero .hero-grid,.seo-hero,.contributor-hero{padding:28px 20px!important;border-radius:20px!important}.hero-title{font-size:clamp(2.55rem,14vw,3.5rem)!important}.feature-row,.seo-grid,.grid-3,#tradesGrid,.pricing-grid,.dashboard-grid{grid-template-columns:1fr!important}.popular-grid{grid-template-columns:repeat(2,1fr)!important}.stats-panel{width:calc(100% - 24px)!important;grid-template-columns:1fr!important;margin-top:14px!important}.stat{border-right:0!important;border-bottom:1px solid var(--rs-line)!important;justify-content:flex-start!important}.stat:last-child{border-bottom:0!important}.cta-row{display:grid!important}.cta-row a{width:100%!important}.trade-card{min-height:auto!important}.trade-card-actions{grid-template-columns:1fr!important}.trade-card-actions .buy,.trade-card-actions .upsell,.trade-card-actions .owned{grid-column:auto!important}.level-trade-toolbar{align-items:stretch!important;flex-direction:column!important}.footer-inner{grid-template-columns:1fr!important}.footer-contact-block{grid-column:auto!important}.seo-actions,.article-actions{display:grid!important}.seo-actions a,.article-actions a,.article-actions button{width:100%!important}}


/* ===== Final usability and account-mode corrections ===== */
body{background:linear-gradient(180deg,#f8fbff 0,#f3f7ff 55%,#f8fbff 100%)!important}
.hidden{display:none!important}

/* Free-practice experience */
body:has(#setupSection) .container{width:min(1180px,calc(100% - 32px))!important;padding:28px 0 70px!important}
body:has(#setupSection) .hero-card{padding:38px!important;background:linear-gradient(135deg,#ffffff 0%,#f4f7ff 58%,#eee9ff 100%)!important;border:1px solid #d9e4f5!important;color:var(--rs-text)!important}
body:has(#setupSection) .hero-card h1{color:var(--rs-text)!important;font-size:clamp(2.2rem,5vw,4rem)!important}
body:has(#setupSection) .hero-card p{color:var(--rs-muted)!important}
body:has(#setupSection) .hero-badge{background:#fff!important;border-color:#d8e3f5!important;color:#334765!important}
body:has(#setupSection) #setupSection{position:relative;padding:30px!important;background:linear-gradient(135deg,#fff,#fafbff)!important}
body:has(#setupSection) #setupSection::after{content:"✓";position:absolute;right:28px;top:22px;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#e9e5ff,#dfeaff);color:#5b45e8;font-size:30px;font-weight:950}
body:has(#setupSection) #setupSection>h2{padding-right:92px;font-size:clamp(1.8rem,3vw,2.55rem)!important}
body:has(#setupSection) #setupSection .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body:has(#setupSection) #setupSection .top-actions{margin-top:20px!important;padding-top:18px!important;border-top:1px solid var(--rs-line)!important}
body:has(#setupSection) #setupSection .btn{background:#fff!important;color:#243754!important;border-color:#cfdaeb!important}
body:has(#setupSection) #setupSection .btn-primary{color:#fff!important;background:linear-gradient(135deg,#315ff4,#7247ea)!important;border:0!important}
body:has(#setupSection) #upgradeCard{padding:28px 30px!important;background:linear-gradient(135deg,#f7f5ff,#eef4ff)!important;border-color:#d9d6ff!important}
body:has(#setupSection) #upgradeCard h2::before{content:"◆";display:inline-grid;place-items:center;width:38px;height:38px;margin-right:12px;border-radius:12px;background:#e8e2ff;color:#6d45e8;font-size:16px;vertical-align:middle}
body:has(#setupSection) #oceanSection{padding:28px!important}
body:has(#setupSection) #oceanQuestions{display:grid;gap:12px;margin-top:16px}
body:has(#setupSection) .question-list-item{padding:18px!important;border-radius:16px!important;border-color:#dbe4f1!important;box-shadow:0 7px 22px rgba(25,47,89,.05)!important}

/* Login and admin login */
.auth-screen .login-page{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(380px,480px)!important;gap:70px!important;align-items:center!important}
.auth-benefits{max-width:700px!important}
.auth-kicker{display:inline-flex;padding:8px 12px;margin-bottom:18px;border-radius:999px;background:#ece9ff;color:#5c42d8;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.auth-card-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;margin-bottom:14px;background:linear-gradient(135deg,#e3ecff,#ece4ff);color:#315ff4;font-size:24px;font-weight:950}
.auth-alert{padding:13px 15px;margin:14px 0;border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#a3192e;font-weight:750;line-height:1.5}
.form-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;margin:14px 0 4px!important}
.remember{display:inline-flex!important;align-items:center!important;gap:9px!important;white-space:nowrap!important;font-size:14px!important;line-height:1!important}
.remember input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:#315ff4!important}
.remember span{display:inline!important}
.form-row>a{font-size:14px!important;font-weight:800!important}
.password-wrap{position:relative!important}.password-wrap input{padding-right:74px!important}.password-toggle{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;min-height:34px!important;padding:6px 10px!important;background:transparent!important;color:#315ff4!important;box-shadow:none!important}
.admin-login-mode .auth-kicker{background:#ffe7ed;color:#d52b50}
.admin-login-mode .auth-card-icon{background:linear-gradient(135deg,#ffe5ec,#efe5ff);color:#ed315d}
.admin-login-mode .login-btn{background:linear-gradient(135deg,#f3325b,#7b49ec)!important}
.admin-login-mode .trust-box{background:#17233d!important;color:#fff!important}

/* Admin workspace */
.admin-business-hero{background:linear-gradient(135deg,#14233e 0%,#273b70 55%,#6941c6 100%)!important;color:#fff!important}
.admin-business-hero h1,.admin-business-hero p,.admin-business-hero .seo-eyebrow{color:#fff!important}
.admin-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:28px;align-items:center}
.admin-priority-card{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:20px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.12);backdrop-filter:blur(12px)}
.admin-priority-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#fff;color:#6a43df;font-size:22px}.admin-priority-card strong{display:block;color:#fff;font-size:18px}.admin-priority-card span{display:block;margin-top:4px;color:#dbe6ff;font-size:13px;line-height:1.5}.admin-priority-card a{grid-column:1/-1;display:inline-flex;justify-content:center;padding:11px 14px;border-radius:11px;background:#fff;color:#4d35b6!important;font-weight:900}
.admin-panel,.contributor-card{border-color:#d8e2f1!important;box-shadow:0 12px 32px rgba(28,51,91,.08)!important}

/* FAQ and Level education content */
.faq-hero-grid{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(260px,.55fr)!important;gap:36px!important;align-items:center!important}
.faq-hero-art{display:grid;place-items:center;min-height:230px;border-radius:26px;background:radial-gradient(circle at 30% 25%,#fff 0 10%,transparent 11%),linear-gradient(135deg,#e9e5ff,#ddecff);color:#4e37c7;font-weight:900;text-align:center;box-shadow:inset 0 0 0 1px rgba(85,69,190,.12)}
.faq-hero-art span{display:grid;place-items:center;width:100px;height:100px;border-radius:35px;background:linear-gradient(135deg,#7047ef,#4c72f2);color:#fff;font-size:62px;box-shadow:0 20px 45px rgba(82,65,206,.28)}
.faq-hero-art div{margin-top:-45px;color:#354967;font-size:13px}
.faq-tinted-section{background:linear-gradient(180deg,#f7f5ff,#f4f8ff)!important}
.faq-category-heading{display:flex;align-items:center;gap:15px;margin-bottom:22px}.faq-category-heading>span{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#e9e5ff;color:#6544dc;font-weight:950}.faq-category-heading h2{margin:0!important}.faq-category-heading p{margin:3px 0 0;color:var(--rs-muted)}
.official-resource-note{margin-top:24px;padding:18px 20px;border-left:4px solid #315ff4;border-radius:12px;background:#edf4ff;color:#354967;line-height:1.6}
.level-comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.level-comparison-card{display:grid;grid-template-columns:auto 1fr;gap:18px;padding:28px;border:1px solid var(--rs-line);border-radius:22px;background:#fff;box-shadow:var(--rs-shadow)}.level-comparison-card.featured{background:linear-gradient(135deg,#f5f1ff,#edf4ff);border-color:#d5ccff}.level-card-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:#e8efff;color:#315ff4;font-weight:950}.level-comparison-card.featured .level-card-icon{background:#6c48e7;color:#fff}.level-card-label{color:#6b4cdf;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.level-comparison-card h2{margin:4px 0 9px!important}.level-comparison-card p{margin:0;color:var(--rs-muted);line-height:1.7}.level-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.level-facts-grid>div{padding:17px;border:1px solid var(--rs-line);border-radius:15px;background:#fff}.level-facts-grid strong,.level-facts-grid span{display:block}.level-facts-grid span{margin-top:5px;color:var(--rs-muted);font-size:13px;line-height:1.55}

/* Contrast repairs for previously dark sections */
.compare-section,.premium-bg{color:#fff!important}.compare-section h2,.premium-bg h2{color:#fff!important}.compare-section .section-sub,.premium-bg .section-sub{color:#dbe6fb!important}.compare-section table{color:#15213a!important}.seo-cta-panel h2{color:#15213a!important}.seo-cta-panel p{color:#556983!important}
.btn,.seo-btn,.login-btn,.create-btn,.admin-small-btn{letter-spacing:0!important;text-shadow:none!important}

@media(max-width:900px){.auth-screen .login-page,.admin-hero-grid,.faq-hero-grid,.level-comparison-grid{grid-template-columns:1fr!important}.auth-screen .login-page{gap:28px!important}.admin-priority-card{max-width:none}.level-facts-grid{grid-template-columns:1fr!important}body:has(#setupSection) #setupSection .menu-grid{grid-template-columns:1fr!important}}
@media(max-width:640px){.form-row{align-items:flex-start!important;flex-direction:column!important}.faq-hero-art{min-height:190px}.level-comparison-card{grid-template-columns:1fr!important}.admin-priority-card{grid-template-columns:1fr!important}.admin-priority-card a{grid-column:auto}}

.mock-test-button,.mock-test-cta{background:linear-gradient(90deg,#f59e0b,#f97316)!important;color:#fff!important;border-color:transparent!important;font-weight:800!important}.mock-test-button:hover,.mock-test-cta:hover{filter:brightness(.95);transform:translateY(-2px)}

/* Single navbar logo safeguard */
#site-navbar .brand::before,.rsp-header .brand::before,.navbar .brand::before{content:none!important;display:none!important}
