.vf-page { max-width:1200px; }
.vf-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:30px; margin-bottom:20px; border:1px solid rgba(124,58,237,.28); border-radius:20px; background:linear-gradient(135deg,rgba(124,58,237,.16),rgba(0,180,216,.1)); }
.vf-hero h1 { font-size:2rem; margin-bottom:8px; }
.vf-hero p { color:var(--text-secondary); max-width:700px; line-height:1.55; }
.vf-hero-stats { display:flex; gap:9px; flex-wrap:wrap; }
.vf-hero-stats div { min-width:88px; padding:12px; text-align:center; border:1px solid var(--border); border-radius:13px; background:rgba(7,12,20,.48); }
.vf-hero-stats b,.vf-hero-stats span { display:block; }
.vf-hero-stats b { color:var(--accent); font-size:1.2rem; }
.vf-hero-stats span { color:var(--text-muted); font-size:.67rem; }
.vf-lookup { padding:20px; margin-bottom:20px; }
.vf-title { display:flex; align-items:center; gap:8px; font-size:1.12rem; margin-bottom:6px; }
.vf-title .material-icons { color:var(--accent); }
.vf-sub { color:var(--text-muted); font-size:.82rem; margin-bottom:13px; }
.vf-lookup-row { display:flex; gap:9px; }
.vf-lookup-row input { flex:1; min-width:0; padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--bg-secondary); color:var(--text-primary); font:inherit; }
.vf-lookup-row input:focus { outline:none; border-color:var(--accent); }
.vf-lookup-output { display:grid; grid-template-columns:repeat(3,minmax(90px,1fr)) minmax(160px,1.5fr) auto; gap:9px; align-items:center; margin-top:12px; padding:12px; border:1px solid rgba(0,229,255,.15); border-radius:11px; background:rgba(0,229,255,.05); }
.vf-lookup-output:empty { display:none; }
.vf-lookup-output div { padding:8px; border-radius:8px; background:rgba(255,255,255,.025); }
.vf-lookup-output small,.vf-lookup-output b { display:block; }
.vf-lookup-output small { color:var(--text-muted); font-size:.62rem; text-transform:uppercase; }
.vf-lookup-output b { color:var(--text-primary); margin-top:3px; }
.vf-lookup-output button { border:1px solid rgba(0,229,255,.2); border-radius:9px; padding:9px; background:rgba(0,229,255,.08); color:var(--accent); cursor:pointer; display:flex; align-items:center; gap:5px; }
.vf-lookup-output.is-warning { display:flex; align-items:center; gap:8px; color:var(--warning); }
.vf-lookup-output.is-warning span { color:var(--text-secondary); font-size:.78rem; }

.vf-learning-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr); gap:18px; align-items:start; margin-bottom:20px; }
.vf-rule { overflow:hidden; margin-bottom:9px; border:1px solid var(--border); border-radius:13px; background:var(--bg-card); }
.vf-rule>button { width:100%; display:grid; grid-template-columns:35px 1fr 24px; align-items:center; gap:9px; padding:14px; border:0; background:transparent; color:var(--text-primary); text-align:left; cursor:pointer; }
.vf-rule>button:hover { background:var(--bg-card-hover); }
.vf-rule>button>span:first-child { color:var(--accent); }
.vf-rule>button b,.vf-rule>button small { display:block; }
.vf-rule>button small { color:var(--text-muted); margin-top:3px; }
.vf-chevron { color:var(--text-muted); transition:transform .2s; }
.vf-rule.open .vf-chevron { transform:rotate(180deg); }
.vf-rule-body { display:none; padding:0 14px 14px 58px; }
.vf-rule.open .vf-rule-body { display:block; }
.vf-rule-body ul { padding-left:17px; color:var(--text-secondary); font-size:.82rem; line-height:1.5; }
.vf-rule-body li+li { margin-top:5px; }
.vf-rule-examples { display:flex; gap:6px; flex-wrap:wrap; margin:11px 0; }
.vf-rule-examples code { padding:6px 8px; border-radius:7px; color:var(--accent); background:rgba(0,229,255,.055); }
.vf-rule-body>p { display:flex; align-items:flex-start; gap:5px; padding:9px; border-radius:9px; color:var(--text-secondary); background:rgba(255,183,3,.06); font-size:.78rem; }
.vf-rule-body>p .material-icons,.vf-rule-body>p b { color:var(--warning); }
.vf-rule-body>p .material-icons { font-size:17px; }
.vf-quiz-card { position:sticky; top:18px; padding:19px; min-height:330px; }
.vf-quiz-start,.vf-quiz-result { display:grid; justify-items:center; text-align:center; gap:10px; padding:35px 8px; }
.vf-quiz-start>.material-icons,.vf-quiz-result>.material-icons { font-size:44px; color:var(--accent-3); }
.vf-quiz-start p { color:var(--text-muted); font-size:.8rem; }
.vf-quiz-result b { color:var(--accent); font-size:1.4rem; }
.vf-quiz-meta { display:flex; justify-content:space-between; color:var(--text-secondary); font-size:.75rem; }
.vf-quiz-bar { height:5px; margin:8px 0 18px; overflow:hidden; border-radius:8px; background:rgba(255,255,255,.06); }
.vf-quiz-bar i { display:block; height:100%; background:linear-gradient(90deg,var(--accent),var(--accent-3)); }
.vf-quiz-card>div>p { color:var(--text-muted); font-size:.78rem; }
.vf-quiz-card h2 { color:var(--accent); margin:4px 0; }
.vf-quiz-card>div>small { color:var(--text-secondary); }
.vf-quiz-options { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:14px 0; }
.vf-quiz-options button { padding:10px; border:1px solid var(--border); border-radius:9px; background:rgba(255,255,255,.025); color:var(--text-primary); cursor:pointer; }
.vf-quiz-options button.correct { border-color:var(--success); background:rgba(0,214,143,.08); color:var(--success); }
.vf-quiz-options button.wrong { border-color:var(--danger); background:rgba(255,77,109,.08); color:var(--danger); }
#vf-quiz-feedback { display:none; padding:9px; margin-bottom:9px; border-radius:9px; font-size:.77rem; }
#vf-quiz-feedback.correct,#vf-quiz-feedback.wrong { display:block; }
#vf-quiz-feedback.correct { background:rgba(0,214,143,.07); }
#vf-quiz-feedback.wrong { background:rgba(255,77,109,.07); }
#vf-quiz-feedback p { color:var(--text-secondary); margin-top:3px; line-height:1.4; }

.vf-table-card { padding:20px; }
.vf-table-head { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.vf-table-tabs,.vf-priority { display:flex; gap:6px; flex-wrap:wrap; }
.vf-table-tab,.vf-priority-btn { padding:8px 10px; border:1px solid var(--border); border-radius:9px; background:transparent; color:var(--text-secondary); cursor:pointer; }
.vf-table-tab.active,.vf-priority-btn.active { border-color:var(--accent); color:var(--accent); background:rgba(0,229,255,.07); }
.vf-search { position:relative; min-width:250px; }
.vf-search .material-icons { position:absolute; left:9px; top:9px; color:var(--text-muted); font-size:19px; }
.vf-search input { width:100%; padding:9px 10px 9px 34px; border:1px solid var(--border); border-radius:9px; background:var(--bg-secondary); color:var(--text-primary); }
.vf-priority { align-items:center; margin-bottom:12px; }
.vf-priority>span { color:var(--text-muted); font-size:.72rem; margin-right:3px; }
#verb-forms-count { margin-left:auto; color:var(--text-muted); font-size:.75rem; }
.vf-table-wrap { overflow:auto; max-height:680px; border:1px solid var(--border); border-radius:11px; }
.vf-table { width:100%; border-collapse:collapse; font-size:.78rem; }
.vf-table thead { position:sticky; top:0; z-index:2; background:#101a2b; }
.vf-table th { padding:10px; text-align:left; color:var(--text-muted); white-space:nowrap; }
.vf-table td { padding:10px; border-top:1px solid var(--border); vertical-align:top; }
.vf-table td:first-child { white-space:nowrap; }
.vf-table td:first-child b { color:var(--accent); font-size:.9rem; }
.vf-table td:first-child button { border:0; background:transparent; color:var(--accent); cursor:pointer; vertical-align:middle; }
.vf-table td:first-child button .material-icons { font-size:17px; }
.vf-table td:first-child small { color:var(--warning); }
.vf-table td strong { color:var(--text-primary); }
.vf-table td:last-child span,.vf-table td:last-child small,.vf-table td:last-child em { display:block; min-width:260px; }
.vf-table td:last-child span { color:var(--text-primary); }
.vf-table td:last-child small { color:var(--text-secondary); margin-top:4px; }
.vf-table td:last-child em { color:var(--warning); margin-top:3px; font-style:normal; font-size:.68rem; }
.vf-empty { text-align:center; color:var(--text-muted); padding:30px!important; }

@media (max-width:900px) {
  .vf-learning-grid { grid-template-columns:1fr; }
  .vf-quiz-card { position:static; }
  .vf-lookup-output { grid-template-columns:repeat(3,1fr); }
  .vf-lookup-meaning { grid-column:span 2; }
}
@media (max-width:620px) {
  .vf-hero { flex-direction:column; align-items:flex-start; padding:21px; }
  .vf-hero h1 { font-size:1.55rem; }
  .vf-lookup-row { flex-direction:column; }
  .vf-lookup-output { grid-template-columns:1fr 1fr; }
  .vf-lookup-meaning { grid-column:span 2; }
  .vf-rule-body { padding-left:14px; }
  .vf-search { width:100%; }
}
