/* Shared EDGE components over Tutor and WooCommerce. */
:root{--edge-surface:#1b0d32;--edge-raised:#281540;--edge-border:#775993;--edge-text:#f7f3ff;--edge-secondary:#d7c9e7;--edge-action:#7850da}
.nav-account{display:none!important}
body.home .edge-home .small-card p,body.home .edge-home .intro-copy,body.home .edge-home .home-benefits p,body.home .edge-home .contact p{color:#d2c4e2!important;opacity:1!important}
body.home .edge-home .small-card p,body.home .edge-home .contact p{font-size:clamp(15px,1.05vw,16px)!important;line-height:1.65}
.article-body time{display:block;margin:2px 0 12px;color:#cebde2;font-size:12px;font-variant-numeric:tabular-nums}
.article-body .tag+time{margin-top:14px}.edge-library-empty{max-width:640px;padding:38px;border:1px solid var(--edge-border);border-radius:14px;background:var(--edge-surface)}.edge-library-empty h2{font-size:24px;margin-bottom:12px}.edge-library-empty p{color:var(--edge-secondary)}
.edge-document-status{max-width:780px;margin:32px auto;padding:28px;border:1px solid var(--edge-border);border-radius:12px;background:var(--edge-surface)}.edge-document-status a{color:#d8bfff;text-decoration:underline;text-underline-offset:4px}
.edge-empty-cart{max-width:660px;min-height:360px;padding:58px 38px;margin:auto;text-align:center;background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:16px}.edge-empty-cart h1{margin:0 0 20px;font-size:clamp(30px,4vw,44px)}.edge-empty-cart p{font-size:16px;color:var(--edge-secondary);margin-bottom:28px}
.edge-sales-closed,.edge-availability{display:block;border:1px solid #a382c7;background:#281540;color:#eadcff;border-radius:10px;padding:14px 16px;font-size:14px;line-height:1.5}.edge-sales-closed{margin:20px 0 0}.course-info .edge-availability{margin:0 0 16px}
.edge-dashboard .learning-stats p:last-child{padding-bottom:0}.edge-dashboard .course-info p.edge-course-note{margin-top:10px;color:#e0caab;font-size:13px}
.edge-dashboard .course-info .progress-label{font-size:13px;color:#e3d4f0}.edge-dashboard .course-info h3{font-size:23px}.edge-dashboard .course-info p{font-size:15px;color:#d2c4e2}
.edge-sidebar-toggle{display:none}
body.tutor-lms,body.tutor-lms button,body.tutor-lms input,body.tutor-lms select,body.tutor-lms textarea,body.tutor-lms .tutor-dashboard-layout,body.tutor-lms .tutor-learning-area-container,body.tutor-lms .tutor-course-details-page{font-family:Montserrat,Arial,sans-serif!important}
body.tutor-lms .tutor-dashboard-page :is(h1,h2,h3,h4,h5),body.tutor-lms .tutor-learning-area-content :is(h1,h2,h3,h4,h5){font-family:Montserrat,Arial,sans-serif!important;letter-spacing:-.025em}
body.tutor-lms .tutor-dashboard-page h3{font-size:20px!important;font-weight:600!important}
body.tutor-lms .tutor-course-progress .tutor-fs-6,body.tutor-lms .tutor-progress-bar{color:var(--edge-secondary);font-size:13px}
body.tutor-lms .tutor-progress-value{background:#a982ed!important}.tutor-learning-sidebar .tutor-progress-value{background:#a982ed!important}
body.tutor-lms .tutor-tabs-tab,body.tutor-lms .tutor-course-list .tutor-color-secondary{font-size:14px!important}
body.tutor-lms .tutor-card{background:var(--edge-surface)!important;border-color:var(--edge-border)!important}
body.tutor-lms .tutor-quiz-attempts-header-item{color:#e6d7f3!important;font-weight:600!important}
body.tutor-lms .tutor-course-progress-wrapper .progress-percentage{color:var(--edge-secondary)!important}
body.tutor-lms .tutor-dashboard-page .tutor-btn:focus-visible{outline:2px solid #dfc7ff!important;outline-offset:3px}
body.woocommerce-page .woocommerce-info,body.woocommerce-page .woocommerce-message,body.woocommerce-page .woocommerce-error{background:#2a1a3d!important;color:#f7f3ff!important;border:1px solid #9876fa!important;border-radius:10px!important;margin:24px 0!important;box-shadow:none!important}
body.woocommerce-page .woocommerce-info::before,body.woocommerce-page .woocommerce-message::before{color:#c6a4ff!important}
body.woocommerce-page .woocommerce-error{border-color:#d78b93!important;color:#ffe5e6!important}
body.woocommerce-page .woocommerce-MyAccount-navigation{float:left;width:220px;max-width:100%}
body.woocommerce-page .woocommerce-MyAccount-navigation ul{list-style:none;padding:12px;margin:0;background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:12px}
body.woocommerce-page .woocommerce-MyAccount-navigation li{margin:2px 0;list-style:none}
body.woocommerce-page .woocommerce-MyAccount-navigation a{display:block;padding:11px 13px;border-radius:8px;color:var(--edge-secondary);font-weight:600;text-decoration:none}
body.woocommerce-page .woocommerce-MyAccount-navigation a:hover,body.woocommerce-page .woocommerce-MyAccount-navigation .is-active a{background:#6741b4;color:#fff}
body.woocommerce-page .woocommerce-MyAccount-content{float:none;width:auto;min-height:280px;margin-left:246px;padding:24px;background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:12px;color:var(--edge-text)}
body.woocommerce-page .woocommerce-MyAccount-content h2,body.woocommerce-page .woocommerce-Addresses h2{font-size:24px;line-height:1.3;margin:0 0 18px}
body.woocommerce-page .woocommerce-MyAccount-content p,body.woocommerce-page .woocommerce-MyAccount-content address{color:var(--edge-secondary);font-size:15px}
body.woocommerce-page .woocommerce-MyAccount-content a{color:#d5b9ff}
body.woocommerce-page .woocommerce-MyAccount-content .button,body.woocommerce-page .woocommerce .button{background:#7850da!important;color:#fff!important;border:1px solid #a683f8!important;border-radius:10px!important;min-height:44px!important;font-weight:600!important;box-shadow:none!important}
body.woocommerce-page .woocommerce-MyAccount-content .button:hover,body.woocommerce-page .woocommerce .button:hover{background:#9165eb!important}
body.woocommerce-page .woocommerce table.shop_table{border:1px solid var(--edge-border);background:var(--edge-surface);color:var(--edge-text);border-radius:10px}
body.woocommerce-page .woocommerce table.shop_table th,body.woocommerce-page .woocommerce table.shop_table td{border-color:#5d4475;padding:14px}
body.woocommerce-page .woocommerce-checkout,body.woocommerce-page .woocommerce-cart-form{max-width:1100px;margin:auto}
body.woocommerce-page .woocommerce form.login,body.woocommerce-page .woocommerce form.register{background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:12px}
body.woocommerce-page .woocommerce-MyAccount-content input{background:#170c29;color:#fff;border:1px solid var(--edge-border)}
@media(max-width:1100px){
 .site-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:'brand lang menu' 'nav nav nav';align-items:center;gap:8px!important;padding:7px 12px!important;min-height:76px!important;margin-top:12px!important}
 .site-header>a:first-child{grid-area:brand;min-width:0}.site-header .logo{width:140px;height:58px;transform:none;margin:0}.site-header .edge-logo-image{width:140px;height:auto}
 .site-header .languages{grid-area:lang;margin:0;padding:0 5px;border:0;font-size:12px;gap:7px;white-space:nowrap}
 .site-header .menu-toggle{grid-area:menu;display:block;margin:0;padding:8px 11px;min-height:40px;background:#1c0e2f;color:#fff;border:1px solid #9876fa;border-radius:8px}
 .site-header nav{grid-area:nav;display:none!important;margin:0!important;padding:9px 0 4px!important;flex-direction:column!important;gap:2px!important;width:100%}
 .site-header nav.is-open{display:flex!important}.site-header nav a{padding:10px 8px;min-height:42px;font-size:14px}.site-header .nav-account{display:block!important;border-top:1px solid #5a4270;margin-top:4px}
 .site-header>.account-link{display:none!important}
}
@media(max-width:760px){
 .site-header{top:8px}.site-header .logo{width:132px;height:55px}.site-header .edge-logo-image{width:132px}
 .edge-sidebar .edge-student{display:none}.edge-sidebar{padding:8px!important}
 .edge-sidebar-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:9px 12px;background:#32204d;color:#f7f3ff;border:1px solid #785c9b;border-radius:8px;font:600 14px/1.3 Montserrat,Arial,sans-serif;cursor:pointer}
 .edge-sidebar-toggle::after{content:'+';font-size:22px;line-height:1}.edge-sidebar-toggle[aria-expanded=true]::after{content:'−'}
 .edge-sidebar nav{display:none!important;padding:8px 0 0}.edge-sidebar nav.is-open{display:flex!important;flex-wrap:wrap;gap:5px}.edge-sidebar nav a{min-height:40px;padding:9px 12px}
 .edge-course-layout,.tutor-learning-area-body{margin-top:14px!important}.edge-study-workspace{padding:12px!important}
 body.woocommerce-page .woocommerce-MyAccount-navigation{float:none;width:100%;margin:0 0 16px}
 body.woocommerce-page .woocommerce-MyAccount-navigation ul{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin}
 body.woocommerce-page .woocommerce-MyAccount-navigation li{flex:0 0 auto}
 body.woocommerce-page .woocommerce-MyAccount-content{width:100%;min-height:0;margin:0;padding:18px}
 body.woocommerce-page .woocommerce-MyAccount-content h2,body.woocommerce-page .woocommerce-Addresses h2{font-size:22px}
 .edge-dashboard .course-card{grid-template-columns:96px minmax(0,1fr)!important;gap:12px}.edge-dashboard .course-info h3{font-size:19px!important}.edge-dashboard .course-info p{font-size:14px}
}
@media(max-width:360px){.site-header .logo{width:116px}.site-header .edge-logo-image{width:116px}.site-header{padding-inline:9px!important;column-gap:5px!important}}
.edge-course-author{padding:20px;border:1px solid var(--edge-border);border-radius:12px;background:var(--edge-surface)}.edge-course-author h3{font-size:19px!important;margin:0 0 18px}.edge-course-author-row{display:flex;align-items:center;gap:12px}.edge-course-author-mark{display:grid;place-items:center;width:42px;height:42px;background:#7850da;color:#fff;border-radius:50%;font-weight:700}.edge-course-author-row a{font-weight:600;color:#efe4ff;text-decoration:none}.edge-course-author-row a:hover{text-decoration:underline}
.edge-detail-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;margin-block:24px 64px}.edge-detail-layout>.edge-sidebar{position:sticky;top:112px;padding:16px 12px;background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:14px}.edge-detail-content{min-width:0}.edge-detail-content .tutor-profile-settings-section{max-width:100%!important}.edge-detail-content :is(.tutor-quiz-attempt-details-wrapper,.tutor-profile-settings-section){margin:0!important}.edge-detail-content :is(h1,h2,h3,h4,h5){font-family:Montserrat,Arial,sans-serif!important}.edge-detail-content .tutor-fs-7{color:var(--edge-secondary)!important}
@media(max-width:1100px){.edge-detail-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}}
@media(max-width:760px){.edge-detail-layout{grid-template-columns:1fr;gap:18px;margin-top:16px}.edge-detail-layout>.edge-sidebar{position:static}}
@media(max-width:620px){.tutor-dashboard-courses-tab .tutor-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px!important;overflow:visible!important}.tutor-dashboard-courses-tab .tutor-nav>*{min-width:0!important}.tutor-dashboard-courses-tab .tutor-nav>*:last-child:nth-child(odd){grid-column:1/-1}.tutor-dashboard-courses-tab .tutor-nav-item{display:flex;justify-content:center;width:100%;min-width:0;white-space:normal!important;text-align:center;font-size:13px;line-height:1.3}.tutor-dashboard-courses-tab .tutor-nav-item svg{flex:0 0 18px}}
.tutor-login-wrap .edge-form-label{display:block;margin:0 0 8px;color:#f6efff;font-size:14px;font-weight:600}.tutor-login-wrap .edge-password-field .edge-password-toggle{position:absolute;right:12px;top:auto;bottom:14px;z-index:2;width:24px;height:24px;background:none;border:0;color:#e3d3f2;cursor:pointer}.tutor-login-wrap .edge-password-field input{padding-right:46px!important}
.tutor-login-wrap .edge-password-field .edge-password-toggle{top:auto!important;bottom:14px!important;right:14px!important;transform:none!important}
.edge-home .contact label:not(.honeypot)>span{position:static!important;display:block!important;margin:0 0 7px!important;color:#f1e8fa!important;font-size:14px;font-weight:600}.edge-home .contact #edge-telegram-help{grid-column:1/-1;color:#d7c9e7;font-size:12px;margin-top:-12px}
.edge-commerce-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:start;max-width:1322px}.edge-commerce-layout>.edge-sidebar{position:sticky;top:112px;padding:16px 12px;background:var(--edge-surface);border:1px solid var(--edge-border);border-radius:14px}.edge-commerce-content{min-width:0}.edge-commerce-content>h1{font-size:32px;line-height:1.2;margin:0 0 24px}.edge-commerce-content .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;max-width:none}.edge-commerce-content .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:16px}.edge-commerce-content .woocommerce-MyAccount-navigation li{list-style:none}.edge-commerce-content .woocommerce-MyAccount-content{float:none!important;width:100%!important;margin-left:0!important;min-height:240px}.edge-commerce-content .woocommerce-Addresses h2{font-size:24px!important}.edge-commerce-content .woocommerce .woocommerce-error,.edge-commerce-content .woocommerce .woocommerce-info{color:#fff}
@media(max-width:760px){.edge-commerce-layout{grid-template-columns:1fr;gap:14px;margin-top:14px}.edge-commerce-layout>.edge-sidebar{position:static}.edge-commerce-content>h1{font-size:28px}.edge-commerce-content .woocommerce-MyAccount-navigation ul{flex-wrap:nowrap;overflow:auto;scrollbar-width:thin}.edge-commerce-content .woocommerce-MyAccount-content{padding:18px}}
/* EDGE sidebar owns account navigation; Woo endpoints remain routable for orders and checkout. */
.edge-commerce-content .woocommerce-MyAccount-navigation{display:none!important}.edge-commerce-content .woocommerce-MyAccount-content{margin:0!important}
.edge-article-page>article{max-width:820px;margin:0 auto}.edge-article-page .edge-back-link{color:#d7bbfa;text-decoration:underline;text-underline-offset:4px}.edge-article-page h1{font-size:clamp(30px,4vw,46px);line-height:1.18;margin:26px 0 14px}.edge-article-page time{display:block;color:#c9b9db;font-size:13px;margin-bottom:30px}.edge-article-page .edge-article-content{max-width:72ch}.edge-article-page .edge-article-content p{font-size:16px;line-height:1.8;color:#dfd3ec;margin:0 0 18px}.edge-article-page .edge-article-content h2{font-size:clamp(22px,2vw,28px);line-height:1.3;margin:38px 0 12px}.edge-article-page .edge-article-content a{color:#d5baff;text-decoration:underline;text-underline-offset:4px}.edge-article-page .button{margin-top:22px}
.edge-quiz-marks-unanswered{color:#e3c8ff;background:#3a294e;border-radius:100px;padding:3px 8px;font-size:12px;line-height:1.2;white-space:nowrap}.tutor-quiz-marks-breakdown{display:flex;flex-wrap:wrap;gap:4px}
.edge-catalog{max-width:1322px}.edge-catalog-intro{margin:6px 0 38px}.edge-catalog-intro h1{font-size:clamp(32px,4.2vw,54px);margin:0 0 14px}.edge-catalog-intro p{color:#d3c4e4;font-size:17px;max-width:65ch}.edge-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.edge-catalog-grid .course-card{display:grid;grid-template-columns:168px minmax(0,1fr);gap:18px;margin:0;padding:12px;border:1px solid var(--edge-border);background:var(--edge-surface)}.edge-catalog-grid .course-image img{display:block;width:168px;height:230px;object-fit:cover}.edge-catalog-grid .course-info{display:flex;flex-direction:column;align-items:flex-start;padding:10px 12px 10px 0}.edge-catalog-grid .course-info h3{font-size:23px;margin:16px 0 10px}.edge-catalog-grid .course-info p{color:#d2c5e2;font-size:14px;line-height:1.5}.edge-catalog-grid .course-info .button{margin-top:auto;min-height:42px;padding:9px 18px}.edge-catalog .edge-catalog-help{margin:28px 0 0;font-size:15px}.edge-catalog .edge-catalog-help a{color:#dabfff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.edge-catalog-grid{grid-template-columns:1fr}}@media(max-width:520px){.edge-catalog-grid .course-card{grid-template-columns:100px minmax(0,1fr);gap:12px}.edge-catalog-grid .course-image img{width:100px;height:170px}.edge-catalog-grid .course-info h3{font-size:19px}.edge-catalog-grid .course-info p{font-size:13px}.edge-catalog-grid .course-info .button{font-size:12px;padding:8px 12px}.edge-catalog-grid .badge{font-size:9px;padding:4px 8px}}
.edge-catalog-grid .course-info .badge{float:none;background:#382150;color:#e4d0ff;border:1px solid #9470bd;font-size:10px;line-height:1.4;padding:5px 11px}.edge-catalog-grid .course-info .badge.paid{background:#46305e;border-color:#a385c3;color:#f2e8ff}
/* Replace only Tutor's stock cover; preserve any cover uploaded by the learner. */
.tutor-account-cover-photo[style*="/plugins/tutor/assets/images/cover-photo.webp"]{background-image:radial-gradient(circle at 76% 35%,#8161cf80,transparent 32%),linear-gradient(125deg,#241139,#553084 54%,#1b0d32)!important;background-size:cover!important}
.tutor-account-avatar:has(img[src*="/plugins/tutor/assets/images/profile-photo.png"]){background:#6844ab;border-color:#c8a9ef}
.edge-quiz-help{margin:18px 0 0;padding:16px 18px;background:#2a1c3b;border:1px solid #aa86c4;border-radius:10px;color:#f1e6f7;font-size:14px;line-height:1.6}.edge-quiz-help a{color:#dec3ff;text-decoration:underline;text-underline-offset:4px}
.edge-recovery-heading{width:min(520px,calc(100% - 32px));margin:42px auto 14px}.edge-recovery-heading h1{font-size:clamp(28px,3vw,36px);margin:0 0 12px}.edge-recovery-heading p{color:#d4c5e5;font-size:15px;line-height:1.65}.edge-recovery-back{padding:0 20px 20px;margin:4px 0 0}.edge-recovery-back a{color:#dfc9ff;text-decoration:underline;text-underline-offset:4px}
.edge-empty-wishlist{padding:34px 28px;border:1px solid var(--edge-border);border-radius:12px;background:var(--edge-surface);text-align:center;margin:20px}.edge-empty-wishlist h2{font-size:22px!important;margin:0 0 12px!important}.edge-empty-wishlist p{font-size:15px;color:var(--edge-secondary);margin:0 auto 22px;max-width:50ch}.edge-empty-wishlist .tutor-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;min-height:44px}
body.tutor-lms .tutor-quiz-intro-icon{display:none!important}body.tutor-lms .tutor-quiz-intro-overview{padding-top:20px!important;padding-bottom:16px!important}body.tutor-lms .tutor-quiz-intro-title{font-size:clamp(22px,2.5vw,29px)!important;line-height:1.3!important;margin:0!important}
.edge-home .author .lead{text-transform:none;font-size:clamp(16px,1.2vw,18px);line-height:1.68;color:#e1d3ed;max-width:58ch}.edge-home .author-person{margin-top:30px}.edge-home .author-person h3{font-size:18px;color:#fff}
.edge-detail-content .tutor-profile-header h1.tutor-profile-header-title,.tutor-quiz-summary-header h1.edge-screen-heading{font-family:Montserrat,Arial,sans-serif!important;font-size:20px!important;line-height:1.3!important;letter-spacing:-.02em!important;margin:0!important}
.tutor-progress-card .tutor-progress-card-actions{position:static!important;display:flex!important;justify-content:flex-end;opacity:1!important;transform:none!important;padding:0 16px 14px}.tutor-progress-card .tutor-progress-card-actions .tutor-btn{min-height:38px!important;padding:8px 14px!important;font-size:12px!important}.tutor-progress-card .tutor-progress-bar-fill{background:#ad8bf3!important}.tutor-progress-card .edge-course-note{margin:8px 0 0;color:#dfcaec;font-size:12px}.tutor-progress-card .tutor-progress-card-details{display:flex;flex-wrap:wrap;gap:6px;color:#e0d2ee;font-size:13px}
.tutor-progress-card .tutor-progress-card-actions{visibility:visible!important}
.tutor-progress-card .tutor-progress-card-thumbnail{display:block}.tutor-progress-card .tutor-progress-card-title a{color:#f7f3ff;text-decoration:none}.tutor-progress-card .tutor-progress-card-title a:hover{text-decoration:underline;text-underline-offset:4px}.tutor-progress-card :is(.tutor-progress-card-title a,.tutor-progress-card-thumbnail,.tutor-progress-card-actions a):focus-visible{outline:2px solid #d6bbff;outline-offset:3px}
@media(max-width:620px){.edge-home .problems .grid.four{gap:12px}.edge-home .problems .small-card{height:auto;min-height:0;padding:19px 20px 22px}.edge-home .problems .problem-icon{width:50px;height:50px;margin-bottom:12px}.edge-home .problems .problem-icon img{width:50px;height:50px}.edge-home .problems .small-card h3{margin:0 0 9px}.edge-home .problems .small-card p{margin:0;font-size:15px!important;line-height:1.55}}
