/* SuarezCoss Academy Web R7 · presentation only · 2026-11-15 */
:root {
  --r7-navy:#0d1926; --r7-navy-2:#172b3b; --r7-ink:#172431;
  --r7-paper:#f5f6f4; --r7-card:#fff; --r7-line:#dce2e4;
  --r7-muted:#5b6b76; --r7-gold:#ad873c; --r7-gold-soft:#f6eedb;
  --r7-shadow:0 10px 34px rgba(12,29,42,.055);
  --r7-radius:16px;
  color-scheme:light;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body {font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
:where(a,button,input,select,textarea,[tabindex]):focus-visible {outline:3px solid #b79246!important;outline-offset:3px!important}
:where(button,input,select,textarea) {font:inherit}
:where(button,a) { -webkit-tap-highlight-color:transparent }
:where(img,svg,video) {max-width:100%}
@media (prefers-reduced-motion:reduce) {html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* The member portal brings primary tools above the fold. */
body.sca-member-page {background:var(--r7-paper)!important}
.sca-portal-shell {width:min(1220px,calc(100% - 40px));padding-top:24px}
.sca-portal-hero {grid-template-columns:minmax(0,1fr) minmax(190px,240px);gap:28px;align-items:center;padding:28px 0 30px}
.sca-portal-hero h1 {font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:750;font-size:clamp(2.125rem,1.5rem + 2.5vw,3.375rem);line-height:1.07;letter-spacing:-.055em}
.sca-portal-hero>div>p:last-child {margin-top:12px;line-height:1.5}
.sca-portal-section {padding:28px 0 10px}
.sca-section-heading {margin-bottom:18px;gap:20px}
.sca-section-heading h2 {font-size:clamp(1.375rem,1rem + 1.5vw,1.875rem);font-weight:720}
.sca-section-heading>p {line-height:1.5}
.sca-resource-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sca-resource-card {min-height:207px;padding:21px;box-shadow:var(--r7-shadow);border-color:var(--r7-line);background:var(--r7-card)}
.sca-resource-card__icon {width:38px;height:38px}
.sca-resource-card__kicker {margin:12px 0 3px!important}
.sca-resource-card h3 {font-size:20px;line-height:1.2}
.sca-resource-card p {line-height:1.45}
.sca-resource-card__action {margin-top:15px}
.sca-resource-card--featured {background:linear-gradient(135deg,var(--r7-navy),#1c3447);border-color:var(--r7-navy);color:#fff}
.sca-member-nav {background:rgba(13,25,38,.97)}
.sca-member-links a:hover,.sca-member-links a:focus-visible {background:rgba(255,255,255,.12)}
.sca-member-account__button {min-height:40px}

/* Existing class and event notifications retain their source and destination. */
.sca-r4-alerts {max-width:min(420px,calc(100vw - 24px));z-index:1050}
.sca-r4-alert {border:1px solid rgba(191,201,204,.8)!important;border-radius:16px!important;background:#fff!important;color:var(--r7-ink)!important;box-shadow:0 20px 60px rgba(6,22,33,.18)!important;overflow:hidden;gap:12px!important;padding:14px 16px!important}
.sca-r4-alert--live {border-left:4px solid #188a71!important}
.sca-r5-alert--scheduled {border-left:4px solid var(--r7-gold)!important}
.sca-r4-alert--event {border-left:4px solid #345e83!important}
.sca-r4-alert__body {min-width:0}
.sca-r4-alert__body small {color:#8a681e!important;font-size:10px!important;font-weight:800;letter-spacing:.13em}
.sca-r4-alert--live .sca-r4-alert__body small {color:#08745c!important}
.sca-r4-alert__body strong {color:var(--r7-ink)!important;line-height:1.25!important}
.sca-r4-alert__body span {color:var(--r7-muted)!important}
.sca-r4-alert__action {color:var(--r7-navy)!important;font-weight:750!important;white-space:nowrap}

/* Library and learning pages. */
body.sca-videos-page,body.sca-docs-page,body.sca-exams-page {background:var(--r7-paper)!important}
body.sca-videos-page .sca-r2-library-hero {padding-top:28px!important;padding-bottom:24px!important}
body.sca-videos-page .category-card {min-height:128px!important;padding:18px!important;box-shadow:var(--r7-shadow)!important}
body.sca-videos-page #videosGrid .video-card,body.sca-docs-page .card {border-radius:var(--r7-radius)!important;box-shadow:var(--r7-shadow)!important}
body.sca-videos-page input,body.sca-videos-page select,body.sca-docs-page input,body.sca-docs-page select {min-height:44px}
body.sca-videos-page #tabCategories,body.sca-videos-page #tabAll,body.sca-videos-page #tabFav {min-height:40px}
body.sca-exams-page > div.max-w-5xl {box-shadow:var(--r7-shadow)!important}

/* Account and shared member content. */
body.sca-layout-page {background:var(--r7-paper)!important;color:var(--r7-ink)}
body.sca-layout-page > main {max-width:1200px;padding-top:28px}
body.sca-layout-page :where(input,select,textarea) {max-width:100%;border-radius:10px}
body.sca-layout-page :where(table) {width:100%;border-collapse:collapse}
body.sca-layout-page :where(th,td) {vertical-align:middle}

/* Authentication page, retaining all existing controls and flows. */
body.sca-login-page {background:linear-gradient(135deg,#edf2f3 0%,#f7f7f3 56%,#eee8d9 100%)!important}
body.sca-login-page .card {border-radius:20px!important;box-shadow:0 24px 70px rgba(13,25,38,.13)!important}
body.sca-login-page .btn {min-height:44px!important}
body.sca-login-page :where(input,select) {min-height:44px!important}

/* Administration: one neutral system for existing modules and actions. */
body.sca-admin-pro {background:#f3f6f7!important;color:var(--r7-ink)!important}
body.sca-admin-pro > header,body.sca-admin-pro header.sticky {background:rgba(255,255,255,.96)!important;border-color:var(--r7-line)!important}
body.sca-admin-pro :where(main,section,article,aside,nav,header) {min-width:0}
body.sca-admin-pro :where(.rounded-3xl,.rounded-2xl,.rounded-xl) {border-color:var(--r7-line)}
body.sca-admin-pro :where(.shadow-sm,.shadow-md,.shadow-lg) {box-shadow:var(--r7-shadow)}
body.sca-admin-pro :where(input:not([type=checkbox]):not([type=radio]),select,textarea) {max-width:100%;min-height:40px;border-color:#cbd5da;border-radius:10px;color:var(--r7-ink)}
body.sca-admin-pro :where(button,a) {touch-action:manipulation}
body.sca-admin-pro :where(table) {width:100%;border-collapse:separate;border-spacing:0}
body.sca-admin-pro :where(th) {background:#edf2f4;color:#344857;font-weight:700;letter-spacing:.025em}
body.sca-admin-pro :where(td,th) {border-bottom:1px solid var(--r7-line)}
body.sca-admin-pro :where(.bg-indigo-600,.bg-purple-600,.bg-violet-600,.bg-cyan-400,.bg-cyan-500) {background-color:#19394e!important;color:white!important}
body.sca-admin-pro :where(.text-indigo-600,.text-purple-600,.text-violet-600,.text-cyan-600) {color:#205575!important}
body.sca-admin-pro .bg-gradient-to-br.from-indigo-600,body.sca-admin-pro .bg-gradient-to-r.from-indigo-600 {background-color:#19394e!important;background-image:none!important;color:#fff!important}
body.sca-admin-pro .bg-gradient-to-br.from-purple-600,body.sca-admin-pro .bg-gradient-to-r.from-purple-600 {background-color:#28516b!important;background-image:none!important;color:#fff!important}
body.sca-admin-pro .bg-gradient-to-br.from-cyan-500,body.sca-admin-pro .bg-gradient-to-r.from-cyan-500 {background-color:#266078!important;background-image:none!important;color:#fff!important}
body.sca-admin-pro :where(.overflow-x-auto) {scrollbar-width:thin}

/* Public and legal presentation. Legal text itself stays untouched. */
body.sca-r7-legal {background:var(--r7-paper)!important;color:var(--r7-ink)!important}
body.sca-r7-legal > header {background:var(--r7-navy)!important;color:#fff!important;box-shadow:none!important}
body.sca-r7-legal > header :where(a,span) {color:#eef3f4!important}
body.sca-r7-legal > main article {max-width:900px;box-shadow:var(--r7-shadow)!important;border:1px solid var(--r7-line);border-radius:18px!important}
body.sca-r7-legal .legal-section h1,body.sca-r7-legal .legal-section h2 {color:var(--r7-navy)!important}
body.sca-r7-legal .legal-section h2 {scroll-margin-top:100px}
body.sca-r7-legal .legal-section {line-height:1.75}
body.sca-r7-legal :where(a):not(header a) {color:#215b7a}

@media(max-width:1050px) {
 .sca-resource-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sca-admin-pro :where(.grid-cols-4,.grid-cols-5) {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px) {
 .sca-portal-shell {width:min(100% - 28px,1220px);padding-top:16px}
 .sca-portal-hero {grid-template-columns:1fr;gap:14px;padding:18px 0 22px}
 .sca-portal-hero h1 {font-size:clamp(2rem,1.4rem + 3vw,2.75rem)}
 .sca-portal-hero__meta {padding-left:13px}
 .sca-portal-section {padding-top:22px}
 .sca-section-heading {grid-template-columns:1fr;gap:8px}
 .sca-section-heading>p {justify-self:start}
 .sca-resource-grid {grid-template-columns:1fr;gap:10px}
 .sca-resource-card {min-height:0;padding:18px}
 .sca-resource-card__kicker {margin-top:7px!important}
 .sca-resource-card__action {margin-top:10px}
 .sca-r4-alerts {left:12px!important;right:12px!important;bottom:12px!important;max-width:none!important;width:auto!important}
 .sca-r4-alert {flex-wrap:wrap;padding:12px!important}
 .sca-r4-alert__action {width:100%;padding-left:34px}
 body.sca-admin-pro :where(.grid-cols-3,.grid-cols-4,.grid-cols-5) {grid-template-columns:1fr}
 body.sca-admin-pro :where(table) {font-size:13px}
 body.sca-r7-legal > main {padding:22px 14px}
 body.sca-r7-legal > main article {padding:20px!important}
}
/* Administration landing navigation follows the same section permissions as its cards. */
.sca-r7-admin-layout {display:grid;grid-template-columns:205px minmax(0,1fr);align-items:start;gap:18px}
.sca-r7-admin-sidebar {position:sticky;top:88px;padding:17px 12px;border:1px solid var(--r7-line);border-radius:16px;background:#fff;box-shadow:var(--r7-shadow)}
.sca-r7-sidebar-label {margin:0 10px 12px;color:#778896;font-size:10px;font-weight:800;letter-spacing:.15em}
.sca-r7-admin-nav {display:grid;gap:3px}
.sca-r7-admin-nav a {display:block;padding:10px 12px;border-radius:9px;color:#344959;text-decoration:none;font-size:13px;font-weight:650}
.sca-r7-admin-nav a:hover,.sca-r7-admin-nav a:focus-visible {background:#edf3f5;color:var(--r7-navy)}
.sca-r7-admin-layout > #accordionRoot {min-width:0}
.sca-r7-admin-layout [data-section] {scroll-margin-top:96px}
@media(max-width:900px) {.sca-r7-admin-layout{grid-template-columns:1fr}.sca-r7-admin-sidebar{position:static}.sca-r7-admin-nav{display:flex;gap:4px;overflow:auto;scrollbar-width:thin}.sca-r7-admin-nav a{white-space:nowrap}}
.sca-r4-alerts {position:fixed;right:20px;bottom:20px;left:auto;z-index:1050;width:min(420px,calc(100vw - 40px));margin:0}
body.sca-admin-pro .module-tile > div:first-child,body.sca-admin-pro .module-tile > button > div:first-child {background:#214b62!important;background-image:none!important;color:#fff!important}
@media(max-width:680px){.sca-r4-alerts{right:12px;bottom:12px;left:12px;width:auto}}
body.sca-r7-testimonials {background:var(--r7-paper)!important;color:var(--r7-ink)!important}
body.sca-r7-testimonials > main > header {background:linear-gradient(125deg,#0d1926,#23475b)!important;color:#fff!important;border:1px solid #31536a}
body.sca-r7-testimonials .btn-primary {background:#173e55!important;color:#fff!important}
body.sca-r7-testimonials .btn-primary:hover {background:#245a75!important}
body.sca-r7-testimonials .card {border-color:var(--r7-line);box-shadow:var(--r7-shadow)}
body.sca-r7-testimonials .input {border-color:#cbd5da;background:#fff;color:var(--r7-ink)}
body.sca-r7-testimonials > main > header .rounded-2xl.bg-white\/10 {background:rgba(255,255,255,.07)!important}
body.sca-r7-public {--primary:#d6b66d;--primary-2:#efd69e;--accent:#7899a8;background:linear-gradient(155deg,#081422,#0e2233 55%,#102a37)!important}
body.sca-r7-public .topbar {background:rgba(8,20,34,.91)}
body.sca-r7-public :where(.btn,.nav a) {border-radius:12px}
body.sca-r7-public :where(.card,.feature-card,.product-card) {border-radius:18px}
@media(pointer:coarse){:where(a,button,input,select,textarea){min-block-size:44px}}
body:has(.sca-r4-alerts:not([hidden])) {padding-bottom:max(110px,env(safe-area-inset-bottom))}
@media(max-width:680px){body:has(.sca-r4-alerts:not([hidden])){padding-bottom:max(170px,env(safe-area-inset-bottom))}}

/* Member account: compact entry and shared visual rhythm. */
body.sca-r7-account .shell{padding:32px 24px 64px}
body.sca-r7-account .shell>div:first-child{margin-bottom:24px}
body.sca-r7-account .card{border-radius:18px;border-color:var(--r7-line)}
body.sca-r7-account .hero{background:linear-gradient(125deg,#0b1928,#153a4a 78%,#1b4555)}
body.sca-r7-account .btn{border-radius:12px}
@media(max-width:640px){body.sca-r7-account .shell{padding:26px 16px 52px}body.sca-r7-account .shell>div:first-child{margin-bottom:20px}body.sca-r7-account .hero{padding:22px!important}}

/* Legal views are embedded inside the existing shared layout. */
body.sca-r7-legal header.bg-white.shadow{background:var(--r7-navy)!important;color:#fff!important;box-shadow:none!important}
body.sca-r7-legal header.bg-white.shadow :where(a,span){color:#eef3f4!important}
body.sca-r7-legal article.legal-section{max-width:900px;border:1px solid var(--r7-line);border-radius:18px!important;box-shadow:var(--r7-shadow)!important}
body.sca-r7-legal article.legal-section h1,body.sca-r7-legal article.legal-section h2{color:var(--r7-navy)!important}

body.sca-r7-public .nav .btn-primary,body.sca-r7-public .nav .btn-primary:hover{color:#0d1926;background:linear-gradient(135deg,#efd69e,#d6b66d)}

.sca-r7-mobile-nav{display:none}
@media(max-width:760px){body.sca-r7-public .topbar-inner{flex-wrap:wrap;gap:8px;padding-top:9px;padding-bottom:10px}body.sca-r7-public .sca-r7-mobile-nav{display:flex;width:100%;gap:8px}body.sca-r7-public .sca-r7-mobile-nav a{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:42px;padding:8px 12px;border:1px solid rgba(255,255,255,.2);border-radius:10px;color:#eef4ff;text-decoration:none;font-size:14px;font-weight:700}body.sca-r7-public .sca-r7-mobile-nav a:last-child{background:#d6b66d;border-color:#d6b66d;color:#0d1926}body.sca-r7-public .hero{padding-top:30px}body.sca-r7-public .hero h1{font-size:clamp(2.125rem,8vw,2.6rem)}}

body.sca-admin-pro .bg-gradient-to-br.from-slate-950,body.sca-admin-pro .bg-gradient-to-r.from-slate-950{background-image:linear-gradient(125deg,#0d1926,#1e475d)!important}
