/* Base styles. No parent theme, so the theme sets these itself. */
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.6;color:#131a2e;background:#fff}
img,video,iframe{max-width:100%;height:auto}
a{color:#3641c9}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;padding:10px 16px;background:#fff;z-index:100;top:8px;left:8px}
.vy-page{min-height:50vh}
.vy-content{padding:48px 20px 64px}
.vy-content input[type=text],.vy-content input[type=email],.vy-content input[type=password],.vy-content input[type=tel],.vy-content textarea,.vy-content select{max-width:100%}
.vy-list-item{padding:20px 0;border-bottom:1px solid #e3e7ef}
.vy .nav-links{display:flex;gap:12px;margin-top:24px}
.vy-content table{border-collapse:collapse;width:100%}
.vy-content th,.vy-content td{border:1px solid #e3e7ef;padding:8px}

/* Everything below is scoped to .vy so Tutor and WooCommerce screens keep their own styles. */
.vy{--ink:#131a2e;--muted:#5a6478;--line:#e3e7ef;--soft:#f5f7fb;--accent:#3641c9;--accent-dark:#262f9e;--accent-soft:#eceefd;color:var(--ink);line-height:1.6;text-align:left}
.vy *{box-sizing:border-box}
.vy [hidden]{display:none!important}
.vy h1,.vy h2,.vy h3{color:var(--ink);line-height:1.25;margin:0 0 12px}
.vy h1{font-size:clamp(1.8rem,4vw,2.9rem)}
.vy h2{font-size:clamp(1.35rem,2.6vw,1.8rem)}
.vy h3{font-size:1.1rem}
.vy a{text-decoration:none}
.vy-wrap{max-width:1160px;margin:0 auto;padding:0 20px;width:100%}
.vy-muted{color:var(--muted)}
.vy-lead{color:var(--muted);max-width:620px}
.vy-section{padding:60px 0}
.vy-soft{background:var(--soft)}

.vy .vy-btn{display:inline-block;border:1px solid var(--accent);background:var(--accent);color:#fff;font-weight:600;padding:10px 20px;border-radius:8px}
.vy .vy-btn:hover{background:var(--accent-dark);color:#fff}
.vy .vy-btn-ghost{background:#fff;color:var(--accent)}
.vy .vy-btn-ghost:hover{background:var(--accent-soft);color:var(--accent)}

.vy-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}
.vy-header .vy-wrap{display:flex;align-items:center;gap:24px;min-height:70px}
.vy .vy-logo{font-weight:800;font-size:1.35rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink);margin:0}
.vy-header .custom-logo{max-height:52px;width:auto}
.vy-nav{margin-right:auto}
.vy-nav ul,.vy-menu ul{display:flex;gap:22px;list-style:none;margin:0;padding:0}
.vy-nav a,.vy-menu a{color:var(--muted)}
.vy-menu{display:none;position:relative}
.vy-menu summary{cursor:pointer;font-weight:600}
.vy-menu nav{position:absolute;right:0;top:36px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 22px;min-width:180px}
.vy-menu ul{flex-direction:column;gap:10px}

.vy-hero{background:linear-gradient(180deg,var(--accent-soft),#fff)}
.vy-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
.vy-eyebrow{color:var(--accent);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.vy-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:12px;box-shadow:0 20px 40px -24px rgba(19,26,46,.3)}
.vy .vy-panel a{display:flex;justify-content:space-between;align-items:center;padding:15px;border-radius:10px;font-weight:600;color:var(--ink)}
.vy .vy-panel a:hover{background:var(--soft)}
.vy-panel small{display:block;font-weight:400;color:var(--muted)}
.vy-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.vy-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px}

.vy-filters{display:grid;gap:10px;margin:24px 0}
.vy-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.vy-filter>span{width:70px;font-size:.85rem;color:var(--muted)}
.vy .vy-chip{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:99px;padding:6px 16px;font-size:.9rem;line-height:1.5;cursor:pointer}
.vy .vy-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.vy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.vy .vy-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;color:var(--ink);transition:transform .2s,box-shadow .2s}
.vy .vy-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px -20px rgba(19,26,46,.45)}
.vy-thumb{display:flex;align-items:flex-end;width:100%;aspect-ratio:16/9;object-fit:cover;padding:16px;color:#fff;font-size:1.35rem;font-weight:700;background:linear-gradient(135deg,#232c8f,#4b5be0)}
img.vy-thumb{padding:0}
.vy-chemistry{background:linear-gradient(135deg,#0b5f58,#14967f)}
.vy-maths{background:linear-gradient(135deg,#7a3410,#c2621f)}
.vy-biology{background:linear-gradient(135deg,#235c22,#4d9638)}
.vy-card-body{display:flex;flex-direction:column;gap:6px;padding:16px;flex:1}
.vy .vy-link{background:none;border:0;padding:0;color:var(--accent);font-weight:600;cursor:pointer}
.vy-card .vy-link{margin-top:auto;padding-top:8px}

.vy-footer{background:#131a2e;padding:40px 0}
.vy.vy-footer,.vy-footer a,.vy-footer p{color:#c3cade}
.vy-footer .vy-logo{color:#fff}
.vy-footer .vy-wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px}

.vy-course-hero{background:#131a2e;padding:38px 0 44px}
.vy-course-intro{max-width:700px;color:#d5daea}
.vy .vy-course-intro h1{color:#fff;font-size:clamp(1.6rem,3.2vw,2.3rem)}
.vy .vy-crumbs,.vy .vy-crumbs a{color:#aeb8ff;font-size:.86rem}
.vy-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:40px;align-items:start}
.vy-buy{position:sticky;top:48px;margin:-170px 0 32px;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 22px 44px -24px rgba(19,26,46,.45)}
.vy-buy .tutor-course-thumbnail img{display:block;width:100%}
.vy-tabs{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);margin-top:22px}
.vy .vy-tabs button{background:none;border:0;border-bottom:3px solid transparent;border-radius:0;padding:12px 15px;font-weight:600;color:var(--muted);white-space:nowrap;cursor:pointer;box-shadow:none}
.vy .vy-tabs button[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--accent)}
.vy-pane{padding:26px 0 52px}
.vy-pane h2{font-size:1.35rem;margin-top:8px}
.vy .vy-learn{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;list-style:none;margin:0 0 28px;padding:20px;border:1px solid var(--line);border-radius:12px}
.vy-learn li::before{content:"✓";color:var(--accent);font-weight:700;margin-right:10px}
.vy-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:var(--muted);font-size:.92rem;margin-bottom:12px}
.vy-section-box{border:1px solid var(--line);margin-top:-1px}
.vy-section-box summary{display:flex;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--soft);font-weight:600;cursor:pointer}
.vy-section-box summary::before{content:"▸";color:var(--muted)}
.vy-section-box[open] summary::before{content:"▾"}
.vy-section-box summary span{margin-right:auto}
.vy-section-box summary small{font-weight:400;color:var(--muted);white-space:nowrap}
.vy-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:11px 16px;border-top:1px solid var(--line);font-size:.95rem}
.vy-kind{flex:none;width:52px;text-align:center;text-transform:uppercase;font-size:.66rem;font-weight:700;border-radius:4px;background:var(--accent-soft);color:var(--accent)}
.vy-kind-file{background:#fdeceb;color:#b3261e}
.vy-row-title{flex:1;min-width:0;overflow-wrap:anywhere}
.vy-row-title a{color:var(--ink)}
.vy-row-title small{display:block;color:var(--muted)}
.vy-row-end{display:flex;gap:12px;color:var(--muted);font-size:.86rem;white-space:nowrap}
.vy-notes{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.vy-notes .vy-row:first-child{border-top:0}
.vy-teacher{display:flex;gap:20px;margin-bottom:20px}
.vy-teacher img{border-radius:50%;width:96px;height:96px}

@media (max-width:900px){
  .vy-nav{display:none}
  .vy-menu{display:block}
  .vy-header .vy-wrap{justify-content:space-between;gap:12px}
  .vy-header .vy-wrap>:first-child{margin-right:auto}
  .vy-hero-grid,.vy-layout{grid-template-columns:minmax(0,1fr)}
  .vy-cols,.vy .vy-learn{grid-template-columns:1fr}
  .vy-section{padding:42px 0}
  .vy-buy{position:static;order:-1;margin:20px 0 0}
  .vy .vy-tabs button{padding:12px 9px;font-size:.9rem}
}
@media (max-width:480px){
  .vy-header .vy-hide-sm{display:none}
  .vy-header .vy-btn{padding:8px 14px}
}

/* ===== Lesson player (Tutor learning area) ===== */
html[data-tutor-theme]{
  --tutor-brand-100:#f3f4fe;--tutor-brand-200:#eceefd;--tutor-brand-300:#dadefb;--tutor-brand-400:#aab2f2;
  --tutor-brand-500:#5b65db;--tutor-brand-600:#3641c9;--tutor-brand-700:#2c36ad;--tutor-brand-800:#262f9e;
  --tutor-brand-900:#1f2680;--tutor-brand-950:#131a2e;
}
/* Focus mode: the course bar replaces the site header and footer. */
body:has(.tutor-learning-page) .vy-header,
body:has(.tutor-learning-page) .vy-footer{display:none}
.tutor-learning-page{font-family:"Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif}
.tutor-learning-page .tutor-learning-header{background:#131a2e;border-bottom:0}
.tutor-learning-page .tutor-learning-header,
.tutor-learning-page .tutor-learning-header .tutor-learning-header-title,
.tutor-learning-page .tutor-learning-header .tutor-btn{color:#fff}
.tutor-learning-page .tutor-learning-header .tutor-btn:hover{background:rgba(255,255,255,.12)}
.tutor-learning-page .tutor-progress-bar-fill{background:var(--tutor-brand-600)}
.tutor-learning-page .tutor-learning-nav-item{border-radius:8px}
.tutor-learning-page .tutor-learning-nav-item.active{box-shadow:inset 3px 0 0 var(--tutor-brand-600);background:var(--tutor-surface-brand-tertiary)}
.tutor-learning-page .tutor-lesson-video-wrapper{background:#000;border-radius:12px;overflow:hidden}
.tutor-learning-page .tutor-lesson-content{max-width:960px;margin-left:auto;margin-right:auto}
.tutor-learning-page .tutor-lesson-content-tab .tutor-tabs-content{font-size:1rem;line-height:1.7}
.tutor-learning-page .tutor-learning-header-inner,
.tutor-learning-page .tutor-learning-header-content{background:transparent;border:0;box-shadow:none}
.tutor-learning-page .tutor-lesson-content button.tutor-mark-as-complete-button:not(.completed):not(:disabled){background-color:var(--tutor-brand-600);color:#fff;font-weight:600}
.tutor-learning-page .tutor-lesson-content button.tutor-mark-as-complete-button:not(.completed):not(:disabled):hover{background-color:var(--tutor-brand-700);color:#fff}
.tutor-learning-page .tutor-lesson-content button.tutor-mark-as-complete-button:not(.completed):not(:disabled) svg{color:#fff}
.tutor-learning-page .tutor-learning-header .tutor-btn svg,
.tutor-learning-page .tutor-learning-header .tutor-learning-header-toggle-mobile button svg{color:#fff}

/* ===== Site-wide additions (v1.1) ===== */
.vy .vy-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.vy-strip{border-block:1px solid var(--line,#e3e7ef);background:#fff}
.vy-strip .vy-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-block:24px}
.vy-strip strong{display:block;color:#131a2e}
.vy-strip span{color:#5a6478;font-size:.9rem}
.vy-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.vy-subjects{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}
.vy .vy-subject{display:flex;flex-direction:column;justify-content:flex-end;min-height:140px;padding:20px;border-radius:14px;color:#fff;background:linear-gradient(135deg,#232c8f,#4b5be0);transition:transform .2s}
.vy .vy-subject:hover{transform:translateY(-3px);color:#fff}
.vy-subject strong{font-size:1.3rem}
.vy-subject span{opacity:.85;font-size:.9rem}
.vy-steps,.vy-features{display:grid;gap:20px;margin-top:24px}
.vy-steps{grid-template-columns:repeat(3,1fr)}
.vy-features{grid-template-columns:repeat(4,1fr)}
.vy-step{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eceefd;color:#3641c9;font-weight:700;margin-bottom:12px}
.vy-box p{color:#5a6478;margin:0}
.vy-split{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.vy-faq details{background:#fff;border:1px solid #e3e7ef;border-radius:12px;margin-bottom:10px}
.vy-faq summary{cursor:pointer;padding:16px 18px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
.vy-faq summary::-webkit-details-marker{display:none}
.vy-faq summary::after{content:"+";color:#3641c9;font-size:1.2rem;line-height:1}
.vy-faq details[open] summary::after{content:"−"}
.vy-faq details p{padding:0 18px 16px;margin:0;color:#5a6478}
.vy-section .vy-faq{max-width:820px}
.vy-page-hero{background:linear-gradient(180deg,#eceefd,#fff);padding:64px 0 40px}
.vy-cta{background:#131a2e;padding:56px 0}
.vy-cta .vy-wrap{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.vy .vy-cta h2{color:#fff;margin-bottom:6px}
.vy-cta p{color:#c3cade;margin:0}
.vy-cta-actions{display:flex;gap:12px;flex-wrap:wrap}
.vy .vy-btn-light{background:#fff;border-color:#fff;color:#131a2e}
.vy .vy-btn-light:hover{background:#eceefd;color:#131a2e}
.vy .vy-btn-outline-light{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.vy .vy-btn-outline-light:hover{background:rgba(255,255,255,.1);color:#fff}
.vy .vy-contact{color:#131a2e;display:block}
.vy-contact h3{margin-bottom:4px}
.vy-card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid #e3e7ef}
.vy-badge{background:#e7f6ec;color:#1c7731;font-size:.75rem;font-weight:700;padding:2px 10px;border-radius:99px}
/* Header dropdown */
.vy-nav li{position:relative}
.vy-nav .sub-menu{display:none;position:absolute;top:100%;left:-12px;min-width:200px;background:#fff;border:1px solid #e3e7ef;border-radius:10px;padding:8px;list-style:none;margin:0;box-shadow:0 16px 30px -18px rgba(19,26,46,.35);flex-direction:column;gap:0;z-index:30}
.vy-nav li:hover>.sub-menu,.vy-nav li:focus-within>.sub-menu{display:flex}
.vy-nav .sub-menu a{display:block;padding:8px 12px;border-radius:6px}
.vy-nav .sub-menu a:hover{background:#f5f7fb;color:#131a2e}
.vy-nav>ul>li{padding:10px 0}
.vy-nav .current-menu-item>a,.vy-nav a:hover{color:#131a2e}
.vy-menu .sub-menu{list-style:none;padding:4px 0 0 14px;margin:0;display:flex;flex-direction:column;gap:8px}
/* Footer */
.vy-footer-grid{display:grid!important;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.vy-footer h4{color:#fff;font-size:.95rem;margin:0 0 12px}
.vy-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.vy-footer a:hover{color:#fff}
.vy-footer-brand p{margin:0 0 8px}
.vy-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:32px;padding-top:20px!important;font-size:.85rem}
.vy-footer-bottom p{margin:0}
@media (max-width:900px){
  .vy-strip .vy-wrap,.vy-subjects,.vy-features{grid-template-columns:1fr 1fr}
  .vy-steps,.vy-split{grid-template-columns:1fr}
  .vy-footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .vy-strip .vy-wrap,.vy-subjects,.vy-features,.vy-footer-grid{grid-template-columns:1fr}
}
.vy .vy-subject.vy-chemistry{background:linear-gradient(135deg,#0b5f58,#14967f)}
.vy .vy-subject.vy-maths{background:linear-gradient(135deg,#7a3410,#c2621f)}
.vy .vy-subject.vy-biology{background:linear-gradient(135deg,#235c22,#4d9638)}
.vy-buy-thumb{font-size:2rem}

/* ===== Tutor dashboard fixes (v1.1.1) ===== */
/* Tutor Pro 3.9.10's notification panel relies on styles Tutor 4 no longer loads,
   so it renders on top of the page. Remove this rule after updating Tutor Pro to 4.x. */
body:has(.tutor-dashboard-header) #tutor-notifications-wrapper{display:none!important}
/* Keep the whole logo inside the sidebar header. */
.tutor-dashboard-sidebar-logo img{max-height:48px;width:auto}

/* ===== Learning flow: Class → Course → Subject → Chapter → Topic (v1.2) ===== */
.vy-icon{width:22px;height:22px;flex:none}
.vy-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.9rem;color:#5a6478;margin-bottom:14px}
.vy .vy-breadcrumbs a{color:#5a6478}
.vy .vy-breadcrumbs a:hover{color:#3641c9}
.vy-breadcrumbs [aria-current]{background:#eceefd;color:#3641c9;font-weight:600;padding:2px 10px;border-radius:6px}
.vy-browse-head,.vy-subject-head{background:linear-gradient(180deg,#eceefd,#fff);padding:32px 0 8px}
.vy-browse-body{padding-top:20px}
.vy-list{display:grid;gap:12px;max-width:820px}
.vy-list-title{font-size:1.25rem!important;margin:8px 0 4px!important}
.vy .vy-row-card{display:flex;align-items:center;gap:16px;padding:16px 18px;background:#fff;border:1px solid #e3e7ef;border-radius:14px;color:#131a2e;transition:border-color .2s,box-shadow .2s,transform .2s}
.vy .vy-row-card:hover{border-color:#aab2f2;box-shadow:0 12px 26px -18px rgba(19,26,46,.45);transform:translateY(-1px)}
.vy-row-card-accent{background:#f3f4fe!important;border-color:#dadefb!important}
.vy-row-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#eceefd;color:#3641c9;flex:none}
.vy-row-icon .vy-icon{width:26px;height:26px}
.vy-row-icon-chemistry{background:#e3f4f1;color:#0b7a6c}
.vy-row-icon-maths{background:#fbeee4;color:#b45417}
.vy-row-icon-biology{background:#e8f4e5;color:#2f7a28}
.vy-row-icon-neet{background:#e8f4e5;color:#2f7a28}
.vy-row-icon-jee{background:#fbeee4;color:#b45417}
.vy-row-text{display:flex;flex-direction:column;flex:1;min-width:0}
.vy-row-text strong{font-size:1.08rem;line-height:1.3}
.vy-row-text small{color:#5a6478;font-size:.9rem;margin-top:2px}
.vy-row-go{color:#94969c}
.vy-class-card{display:grid;gap:8px}
.vy-class-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-left:66px}
.vy .vy-class-shortcuts a{display:flex;flex-direction:column;padding:10px 14px;border:1px dashed #dadefb;border-radius:10px;color:#131a2e;font-size:.9rem}
.vy .vy-class-shortcuts a:hover{border-style:solid;border-color:#3641c9}
.vy-class-shortcuts span{color:#5a6478;font-size:.82rem}
.vy-hero-compact{padding:56px 0 40px}
.vy-hero-compact .vy-lead{max-width:640px}
.vy-flow{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:flow}
.vy-flow li{position:relative;background:#fff;border:1px solid #e3e7ef;border-radius:12px;padding:16px;counter-increment:flow}
.vy-flow li::before{content:counter(flow);display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eceefd;color:#3641c9;font-weight:700;font-size:.85rem;margin-bottom:8px}
.vy-flow strong{display:block}
.vy-flow span{color:#5a6478;font-size:.88rem}
/* Subject and chapter */
.vy-subject-title{display:flex;align-items:center;gap:16px}
.vy-subject-title h1{margin:0!important;font-size:clamp(1.6rem,3.2vw,2.3rem)}
.vy-subject-title .vy-lead,.vy-subject-title .vy-eyebrow{margin:4px 0 0}
.vy-subject-title .vy-row-icon{width:60px;height:60px;border-radius:16px}
.vy-subject-title .vy-row-icon .vy-icon{width:32px;height:32px}
.vy-stats{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:18px 0 0}
.vy-stats li{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e3e7ef;border-radius:99px;padding:4px 12px;font-size:.88rem;color:#333741}
.vy-stats .vy-icon{width:16px;height:16px;color:#3641c9}
.vy-subject-layout .vy-buy{margin-top:24px}
.vy-subject-layout .vy-main{padding:24px 0 56px}
.vy-access-note{display:flex;align-items:center;gap:10px;background:#fffaeb;border:1px solid #fedf89;color:#7a4a05;border-radius:10px;padding:10px 14px;margin:0 0 16px;font-size:.92rem}
.vy-access-note .vy-icon{width:18px;height:18px}
.vy-chapter-no{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#131a2e;color:#fff;font-weight:700;flex:none}
.vy-topics{border:1px solid #e3e7ef;border-radius:14px;overflow:hidden;background:#fff}
.vy .vy-topic{display:flex;align-items:center;gap:14px;padding:14px 18px;border-top:1px solid #e3e7ef;color:#131a2e}
.vy .vy-topic:first-child{border-top:0}
.vy a.vy-topic:hover{background:#f5f7fb}
.vy-topic.is-locked{color:#5a6478}
.vy-topic-no{font-weight:700;color:#3641c9;min-width:36px}
.vy-topic-title{flex:1;min-width:0;overflow-wrap:anywhere}
.vy-topic-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.vy-tag{display:inline-flex;align-items:center;gap:4px;background:#eceefd;color:#3641c9;border-radius:99px;padding:2px 10px;font-size:.78rem;font-weight:600;white-space:nowrap}
.vy-tag .vy-icon{width:14px;height:14px}
.vy-tag-pdf{background:#fdeceb;color:#b3261e}
.vy-tag-free{background:#e7f6ec;color:#1c7731}
.vy-lock{color:#94969c}
.vy-lock .vy-icon{width:18px;height:18px}
.vy-empty-note{padding:18px;color:#5a6478;margin:0}
.vy-chapter-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}
.vy-about-subject{margin-top:28px;border:1px solid #e3e7ef;border-radius:14px;padding:0 18px;background:#fff}
.vy-about-subject summary{cursor:pointer;padding:16px 0;font-weight:600}
.vy-about-subject[open]{padding-bottom:18px}
/* Header active link */
.vy-nav .current-menu-item>a{color:#3641c9!important;font-weight:600}
/* Bottom tab bar (phones) */
.vy-tabbar{display:none}
@media (max-width:900px){
  .vy-flow{grid-template-columns:1fr 1fr}
  .vy-subject-layout .vy-buy{order:0;margin:0 0 8px}
  .vy-tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:0;right:0;bottom:0;z-index:50;background:#fff;border-top:1px solid #e3e7ef;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
  .vy .vy-tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.72rem;color:#5a6478;padding:4px 0}
  .vy .vy-tabbar a[aria-current]{color:#3641c9;font-weight:600}
  body:has(.vy-tabbar){padding-bottom:68px}
  body:has(.tutor-learning-page) .vy-tabbar{display:none}
  body:has(.tutor-learning-page){padding-bottom:0}
}
@media (max-width:520px){
  .vy-class-shortcuts{padding-left:0}
  .vy-flow{grid-template-columns:1fr}
  .vy .vy-topic{flex-wrap:wrap;gap:8px 12px}
  .vy-topic-meta{width:100%;justify-content:flex-start;padding-left:48px}
  .vy-chapter-nav{flex-wrap:wrap}
}
.vy-wrap.vy-list{max-width:1160px}
.vy-wrap.vy-list>*{width:100%;max-width:820px}
@media (max-width:900px){
  .vy-tabbar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:.72rem;line-height:1.2;color:#5a6478;padding:4px 0;text-decoration:none;white-space:nowrap}
  .vy-tabbar a[aria-current]{color:#3641c9;font-weight:600}
  .vy-subject-layout .vy-buy{order:-1;margin:16px 0 0}
  .vy-subject-layout .vy-main{padding-top:16px}
}

/* ===== Logo (v1.2.1) ===== */
.vy-header .vy-logo-link{display:flex;align-items:center;flex:none}
.vy-header .vy-logo-img{height:52px;width:auto;display:block}
.vy-footer .vy-logo-link{display:inline-block;margin-bottom:12px}
.vy-footer .vy-logo-img{height:84px;width:auto;display:block}
@media (max-width:900px){.vy-header .vy-logo-img{height:46px}}
/* Tutor's dashboard sidebar uses Tutor's own logo setting (Tutor LMS > Settings > Design). */
.vy-header .vy-wrap{min-height:78px}
.vy-header .vy-logo-img{height:62px}
@media (max-width:900px){.vy-header .vy-wrap{min-height:68px}.vy-header .vy-logo-img{height:50px}}
