:root{
  --green:#153c2a;
  --brand:#24945b;
  --brand-dark:#17643e;
  --brand-soft:#e5f2e9;
  --paper:#eaf0e6;
  --white:#fff;
  --ink:#1b2c22;
  --muted:#718077;
  --line:#d7e1d6;
  --danger:#c95345;
  --warning:#de8b21;
  --info:#3f85c8;
  --radius-sm:9px;
  --radius-md:14px;
  --radius-lg:18px;
  --shadow-low:0 5px 16px rgba(31,63,45,.05);
  --shadow-medium:0 14px 34px rgba(31,63,45,.09);
  --ease:cubic-bezier(.2,.8,.2,1);
}
html{background:var(--paper)}
body{background:var(--paper);color:var(--ink);font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}
button,input,textarea,select{font-family:inherit}
.app{background:var(--paper)}
.system-topbar{height:68px;background:#174a35;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 4px 18px rgba(18,56,38,.13)}
.system-topbar .brand.light{font-size:19px;letter-spacing:.01em}
.brand .brand-en{display:inline-block;margin-left:9px;padding:0;border:0;background:transparent;color:#278b5b;font-family:"Avenir Next","Segoe UI",sans-serif;font-size:.76em;font-style:italic;font-weight:800;line-height:1;letter-spacing:.055em;vertical-align:.08em;white-space:nowrap}
.brand.light .brand-en{color:#d5ee9e}
.desktop-header-actions button{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07);box-shadow:none}
.desktop-header-actions button:hover{background:rgba(255,255,255,.14);transform:translateY(-1px)}
.app>aside{background:#123525;padding:22px 14px 32px;border-right:1px solid rgba(255,255,255,.04)}
.nav-group-label{padding:19px 10px 6px;color:#68a182;font-size:10px;font-weight:700;letter-spacing:.07em}
.nav-group-label:first-child{padding-top:0}
nav{gap:4px}
nav button{min-height:44px;padding:10px 11px;border-radius:10px;color:#bfd2c6;font-size:13px;gap:10px;transition:background .18s var(--ease),color .18s var(--ease),transform .18s var(--ease)}
nav button:hover{background:rgba(255,255,255,.07);color:#fff;transform:translateX(2px)}
nav button.active{position:relative;background:#26965c;color:#fff;box-shadow:0 9px 20px rgba(21,108,65,.24)}
nav button.active:before{display:none}
.app>main{max-width:1320px;padding:28px clamp(28px,4vw,58px) 70px;margin:0 auto}
main>header{min-height:58px;margin-bottom:18px}
main>header .eyebrow{display:none}
main header h1{margin:0;font-family:inherit;font-size:24px;line-height:1.25;font-weight:800;letter-spacing:-.025em}
.status{border:1px solid #cfe4d5;background:#edf8f0;color:#347050}
.learning-summary{margin:-61px 0 26px;gap:8px}
.learning-summary span,.learning-summary button{min-height:34px;display:inline-flex;align-items:center;border-color:#d4e4d8;background:#f4faf5;color:#547061;box-shadow:none}
.learning-summary button{background:var(--brand);color:#fff;box-shadow:0 7px 15px rgba(36,148,91,.18)}
.module-intro{margin-bottom:18px}
.module-intro span{font-size:22px;font-weight:800;letter-spacing:-.02em}
.module-intro p{font-size:13px;line-height:1.7}
.page{animation:theme-page-in .22s var(--ease)}
@keyframes theme-page-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.page{animation:none}*{scroll-behavior:auto!important;transition:none!important}}

/* Shared surfaces */
.work-card,.chat-card,.table-card,.result,.hub-card,.practice-shell,.plan-progress,.learning-path-card,.profile-survey,.planner-empty,.commerce-progress,.history-list,.history-detail,.admin-card,.stat-card{
  border:1px solid var(--line);border-radius:var(--radius-md);background:#fff;box-shadow:var(--shadow-low)
}
.work-card,.chat-card,.table-card,.result{padding:22px}
.hub-card,.practice-shell,.plan-progress,.learning-path-card{border-radius:var(--radius-md);box-shadow:var(--shadow-low)}
.hero-card,.hub-hero,.profile-result-head{border:1px solid #d4e3d3;border-radius:var(--radius-lg);background:linear-gradient(120deg,#e1f0e5,#eff3da);box-shadow:none}
.hero-card h2,.hub-hero h2,.profile-result-head h2{font-family:inherit;font-weight:800;letter-spacing:-.025em}
.hub-hero h2{font-size:29px}
.hub-kicker,.card-title span,.task-card>span,.word-card>span,.diagnosis>span,.practice-top span{color:#4f8068;letter-spacing:.11em}
.hub-action,.primary,.send,.diagnosis button{border-radius:10px;background:var(--brand);box-shadow:0 6px 14px rgba(36,148,91,.16);transition:background .18s var(--ease),transform .18s var(--ease),box-shadow .18s var(--ease)}
.hub-action:hover,.primary:hover,.send:hover,.diagnosis button:hover{background:var(--brand-dark);transform:translateY(-1px);box-shadow:0 9px 20px rgba(23,100,62,.22)}
.secondary,.ghost-button,.history-button,.filter-row button{border-color:var(--line);background:#fff;color:var(--brand-dark)}
.secondary:hover,.ghost-button:hover,.history-button:hover,.filter-row button:hover{border-color:#9fc7ad;background:#f3f8f4}
input,textarea,select{border-color:var(--line);border-radius:var(--radius-sm);background:#fff}
input:focus,textarea:focus,select:focus{border-color:#58a979;box-shadow:0 0 0 3px rgba(67,163,105,.13);outline:0}
.result{color:#405249}
.result.loading{background:#f6f9f6}
.pill{background:var(--brand-soft);color:var(--brand-dark)}

/* Guide and learning modules */
#guide>.guide-card{border-left-color:#3fa66e;border-radius:0 var(--radius-lg) var(--radius-lg) 0;box-shadow:var(--shadow-medium)}
#guide .course-map button{box-shadow:0 7px 14px rgba(40,91,61,.15)}
#guide .starter-steps button,.vocab-libraries details,.game-grid article,.resource-card,.level-path article{border-color:var(--line);border-radius:var(--radius-md);box-shadow:none}
.quick-terms button,.vocab-preview button{border-color:var(--line);background:#edf2e9}
.quick-terms button:hover,.vocab-preview button:hover{border-color:#94bea2;background:#e5efe6;transform:translateY(-1px)}
.vocab-libraries details[open] summary{background:#edf5ef}
.game-grid article:hover,.resource-card:hover{border-color:#8dbb9c;box-shadow:var(--shadow-medium)}
.checkin-card{background:#267b54;border:0}
.support-notice{border:1px solid #cce1d2;background:#edf6ef}
.metric-grid article,.personal-overview article{border-color:var(--line);border-radius:12px;box-shadow:none}
.filter-row button.active{background:var(--brand);border-color:var(--brand);color:#fff}

/* Product modules */
.module-tools{margin-bottom:14px}
.speaking-scene-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px}.speaking-scene-intro span{color:#4f8068;font-size:11px;font-weight:900;letter-spacing:.13em}.speaking-scene-intro h2{margin:5px 0 2px;color:var(--ink);font-size:25px}.speaking-scene-intro p{margin:0;color:var(--muted)}.speaking-scene-intro>strong{padding:7px 12px;border-radius:999px;background:#e7f4eb;color:#347252;font-size:11px}
.speaking-scene-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:19px}.speaking-scene-grid button{display:flex;min-width:0;align-items:center;gap:9px;padding:12px 10px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .18s var(--ease),background .18s var(--ease),transform .18s var(--ease)}.speaking-scene-grid button>b{font-size:21px}.speaking-scene-grid button span{display:grid;min-width:0}.speaking-scene-grid button strong{font-size:13px;white-space:nowrap}.speaking-scene-grid button small{overflow:hidden;color:#7c8c82;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.speaking-scene-grid button:hover{border-color:#8fc0a0;transform:translateY(-1px)}.speaking-scene-grid button.active{border-color:#2d9560;background:#e8f5ec;box-shadow:0 0 0 2px rgba(45,149,96,.1)}
.chat{scrollbar-color:#b9cbbc transparent}
.bubble{border-radius:12px}
.bubble.ai{background:#edf2ee;color:#27392f}
.bubble.me{background:#236e4d}
.mic{background:#e1f1e7;color:#155b3b}
.suggestions button{border-color:var(--line);background:#f7faf7;color:#486356}
.suggestions button:hover{background:#eaf3ed;border-color:#aacbb4}
.score-head strong{color:var(--brand-dark)}
.dimension{background:#edf3ee}
.history-item:hover,.history-item.active{background:#e8f2eb}
.history-sheet{background:var(--paper)}

/* Login follows the same DNA without changing its content. */
.login-shell{background:linear-gradient(145deg,#123525 0 52%,#eaf0e6 52%)}
.login-copy h1{font-family:inherit;font-weight:800;letter-spacing:-.04em}
.login-card{border:1px solid rgba(215,225,214,.9);border-radius:20px;box-shadow:0 28px 75px rgba(20,57,39,.16)}
.login-card h2{font-family:inherit;font-weight:800}
.login-card button{background:var(--brand)}

@media(max-width:1000px){.app>main{padding-left:30px;padding-right:30px}}
@media(max-width:800px){
  body{font-size:14px}
  .system-topbar{height:58px}
  .app>aside{background:rgba(18,53,37,.98);border:0}
  .app>main{padding:18px 16px calc(92px + env(safe-area-inset-bottom))}
  main header h1{font-size:25px}
  .learning-summary{margin:0 0 18px}
  .hero-card,.hub-hero{border-radius:16px}
  .hub-hero h2{font-size:24px}
  .work-card,.chat-card,.table-card,.result,.hub-card,.practice-shell,.plan-progress{box-shadow:none}
  nav button.active:before{display:none}
  .speaking-scene-intro{align-items:flex-start;flex-direction:column;gap:8px}.speaking-scene-intro h2{font-size:22px}.speaking-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.speaking-scene-grid button{padding:10px 9px}.speaking-scene-grid button:hover{transform:none}
}

/* Vocabulary workshop */
.vocab-page-intro span{font-size:28px}
.vocabulary-workshop{overflow:hidden;border:0;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.vocabulary-workshop>summary{display:flex;align-items:center;justify-content:space-between;padding:24px 28px;cursor:pointer;list-style:none}
.vocabulary-workshop>summary::-webkit-details-marker{display:none}
.vocabulary-workshop>summary span{font-size:20px;color:var(--ink)}
.vocabulary-workshop>summary small{color:var(--muted)}
.vocabulary-workshop-body{padding:0 28px 28px}
.vocab-meta{margin:0 0 16px;color:var(--muted)}
.vocab-meta b{color:var(--ink)}
.vocab-import{display:flex;align-items:center;gap:14px;margin-bottom:15px}
.vocab-import button{min-height:45px;padding:0 18px;border:2px solid #35a66b;border-radius:11px;background:#fff;color:#237a4e;font-weight:800;cursor:pointer}
.vocab-import button:hover{background:#edf8f1}
.vocab-import span{color:var(--muted);font-size:12px}
.vocab-theme-tabs{display:flex;gap:8px;overflow-x:auto;padding:1px 0 14px}
.vocab-theme-tabs button{flex:0 0 auto;min-width:62px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#627268;cursor:pointer}
.vocab-theme-tabs button.active{border-color:#bcdcf2;background:#e8f3fc;color:#2f83c4;font-weight:800}
.vocabulary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.vocabulary-card{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(35,72,48,.045)}
.vocabulary-card-head{display:flex;justify-content:space-between;align-items:center}
.vocabulary-card-head>span{padding:4px 8px;border-radius:12px;background:#edf5ef;color:#4b7962;font-size:10px;font-weight:800}
.vocabulary-card-head button,.vocabulary-details button{border:1px solid #cde5d5;background:#e7f5ec;color:#257950;border-radius:9px;cursor:pointer}
.vocabulary-card-head button{width:38px;height:38px}
.vocabulary-card h3{margin:5px 0 0;font-size:21px;color:var(--ink)}
.vocabulary-card>em{display:block;color:#667a6f;font-weight:700}
.vocabulary-card>strong{display:block;margin-top:9px;font-size:16px;font-weight:500}
.vocabulary-details{margin-top:13px;padding-top:11px;border-top:1px dashed #dbe4dc}
.vocabulary-details p{display:flex;align-items:flex-start;gap:9px;margin:6px 0;color:var(--muted);font-size:12px;line-height:1.55}
.vocabulary-details p>b{flex:0 0 34px;color:#75877d}
.vocabulary-details button{flex:0 0 29px;width:29px;height:29px;margin-left:auto}
.vocabulary-card>i{display:block;height:7px;margin:14px 0 10px;border-radius:8px;background:#e8eee9;overflow:hidden}
.vocabulary-card>i b{display:block;height:100%;border-radius:inherit;background:#51aa73;transition:width .2s var(--ease)}
.vocabulary-card-actions{display:flex;align-items:center;gap:8px}
.vocabulary-card-actions>button{min-height:35px;padding:0 11px;border:1px solid #8fc3a1;border-radius:9px;background:#fff;color:#23804f;font-weight:800;cursor:pointer;white-space:nowrap}
.vocabulary-card-actions>button:first-child:hover{background:#edf8f1}
.vocab-book-button{border:0!important;background:transparent!important;color:#259359;font-weight:800;cursor:pointer;padding:4px}
.vocab-book-button.saved{color:#61746a}
.vocab-list-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.vocab-list-footer button{border:1px solid #a8ccb4;border-radius:9px;background:#edf7f0;color:#24794e;padding:9px 14px;font-weight:800;cursor:pointer}
@media(max-width:1050px){.vocabulary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.vocab-page-intro span{font-size:23px}.vocabulary-workshop{border-left-width:4px}.vocabulary-workshop>summary{padding:18px}.vocabulary-workshop>summary small{display:none}.vocabulary-workshop-body{padding:0 14px 18px}.vocab-import{align-items:flex-start;flex-direction:column}.vocab-import button{width:100%}.vocabulary-grid{grid-template-columns:1fr}.vocab-list-footer{align-items:flex-start;gap:12px;flex-direction:column}.vocab-list-footer button{width:100%}.vocabulary-card-actions{align-items:flex-start;flex-direction:column}.vocabulary-card-actions>button{width:100%}}

/* Sentence library */
.sentence-page-intro span{font-size:28px}
.sentence-library{padding:26px 28px 30px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.sentence-library-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}
.sentence-library-head h2{margin:0;font-size:20px}
.sentence-library-head span{color:var(--muted);font-size:12px}
.sentence-theme-tabs{display:flex;gap:8px;overflow-x:auto;padding:1px 0 18px}
.sentence-theme-tabs button{flex:0 0 auto;min-width:62px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#627268;cursor:pointer}
.sentence-theme-tabs button.active{border-color:#bcdcf2;background:#e8f3fc;color:#2f83c4;font-weight:800}
.sentence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.sentence-card{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 6px 18px rgba(35,72,48,.045)}
.sentence-card>span{display:inline-block;padding:4px 8px;border-radius:12px;background:#edf5ef;color:#4b7962;font-size:10px;font-weight:800}
.sentence-card h3{min-height:48px;margin:13px 0 8px;font-size:17px;line-height:1.55}
.sentence-card>p{display:flex;align-items:center;min-height:48px;margin:0;color:#29a261;font-size:16px;line-height:1.5}
.sentence-card>p button{flex:0 0 32px;width:32px;height:32px;margin-left:8px;border:1px solid #cde5d5;border-radius:9px;background:#e7f5ec;cursor:pointer}
.sentence-keywords{display:flex;gap:7px;min-height:57px;margin-top:13px;padding-top:13px;border-top:1px dashed #dbe4dc;flex-wrap:wrap;align-content:flex-start}
.sentence-keywords button{height:31px;padding:0 12px;border:1px solid #c9def0;border-radius:999px;background:#eaf4fc;color:#3782bd;font-weight:700;cursor:pointer}
.sentence-card-actions{display:flex;gap:9px;margin-top:13px}
.sentence-card-actions button{min-height:39px;padding:0 15px;border:2px solid #36a368;border-radius:10px;background:#fff;color:#23804f;font-weight:800;cursor:pointer}
.sentence-card-actions button:hover{background:#edf8f1}
.sentence-list-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding:15px 2px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.sentence-list-footer button{min-height:39px;padding:0 15px;border:1px solid #92c2a1;border-radius:9px;background:#edf7f0;color:#237a4d;font-weight:900;cursor:pointer}
.sentence-practice-panel{margin-top:18px;padding:24px;border:1px solid var(--line);border-left:6px solid #3fa66e;border-radius:0 16px 16px 0;background:#fff;box-shadow:var(--shadow-medium)}
.sentence-practice-head{display:flex;justify-content:space-between;gap:18px}
.sentence-practice-head span{color:#4f8068;font-size:11px;font-weight:900;letter-spacing:.1em}
.sentence-practice-head h3{margin:6px 0 17px;font-size:19px}
.sentence-practice-head>button{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:21px;cursor:pointer}
.sentence-practice-panel textarea{min-height:105px;padding:14px;border:1px solid var(--line)}
.sentence-practice-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:12px}
.sentence-practice-actions button{min-height:42px;padding:0 17px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--brand-dark);font-weight:800;cursor:pointer}
.sentence-practice-actions button:last-child{border-color:var(--brand);background:var(--brand);color:#fff}
.sentence-practice-feedback{margin-top:13px;padding:14px;border-radius:10px;background:#edf5ef;color:#486356}
.sentence-practice-feedback p{margin:5px 0}.sentence-practice-feedback small{color:var(--muted)}.sentence-practice-feedback .correct{color:#23804f}
@media(max-width:1050px){.sentence-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sentence-page-intro span{font-size:23px}.sentence-library{padding:18px 14px;border-left-width:4px}.sentence-grid{grid-template-columns:1fr}.sentence-card h3{min-height:0}.sentence-card>p{min-height:0}.sentence-keywords{min-height:0}.sentence-card-actions button{flex:1}.sentence-practice-panel{padding:18px 14px;border-left-width:4px}.sentence-practice-actions{display:grid;grid-template-columns:1fr 1fr}.sentence-practice-actions button{padding:0 8px}}

/* Writing six-dimension report */
.assessment-radar{margin:18px 0;padding:16px;border:1px solid #dce8df;border-radius:14px;background:#f7faf8}
.assessment-radar h4{margin:0 0 4px!important;color:#244d3d;font-size:15px}
.assessment-radar svg{display:block;width:min(100%,360px);margin:0 auto;overflow:visible}
.assessment-radar .radar-grid polygon,.assessment-radar .radar-grid line{fill:none;stroke:#cbded1;stroke-width:1}
.assessment-radar .radar-value{fill:rgba(47,155,95,.25);stroke:#258555;stroke-width:2;filter:drop-shadow(0 4px 5px rgba(37,133,85,.12))}
.assessment-radar text{fill:#4e695b;font-size:10px;font-weight:800}
.writing-weak-recommend{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0;padding:14px;border:1px solid #efd7b3;border-radius:12px;background:#fff8ed}
.writing-weak-recommend b,.writing-weak-recommend span{display:block}.writing-weak-recommend b{color:#79501f}.writing-weak-recommend span{margin-top:4px;color:#746858;font-size:11px;line-height:1.5}
.writing-weak-recommend button{flex:0 0 auto;min-height:38px;padding:0 13px;border:1px solid #31875a;border-radius:9px;background:#fff;color:#23764d;font-weight:900;cursor:pointer}
@media(max-width:800px){.sentence-list-footer{align-items:flex-start;flex-direction:column}.sentence-list-footer button{width:100%}.writing-weak-recommend{align-items:flex-start;flex-direction:column}.writing-weak-recommend button{width:100%}.assessment-radar{padding:12px 6px}.assessment-radar text{font-size:9px}}

/* Learning games */
.game-panel{margin-top:20px;padding:25px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.game-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.game-panel>header span{color:#458266;font-size:11px;font-weight:900;letter-spacing:.12em}
.game-panel>header h2{margin:5px 0 0;color:var(--ink);font-size:23px}
.game-panel>header>button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:23px;cursor:pointer}
.game-status{display:flex;justify-content:space-between;margin:20px 0 12px;padding:10px 14px;border-radius:10px;background:#edf6f0;color:#527060}
.game-status strong{color:#207749}
.game-body{min-height:210px;padding:25px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#f8fbf8,#f2f8ef)}
.game-question{margin:0 0 22px;color:var(--ink);font-size:20px;font-weight:800;line-height:1.5}
.game-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.game-options button,.puzzle-tokens button{min-height:48px;padding:10px 16px;border:1px solid #cdddcf;border-radius:11px;background:#fff;color:#345247;font-size:15px;cursor:pointer;transition:.18s ease}
.game-options button:hover,.puzzle-tokens button:hover{border-color:#58aa77;transform:translateY(-1px)}
.game-options button.selected{border:2px solid #29965c;background:#e5f5ea;color:#176a40;font-weight:800}
.game-audio-button{margin-bottom:18px;padding:11px 18px;border:0;border-radius:999px;background:#1e7650;color:#fff;font-weight:800;cursor:pointer}
.game-answer-input{width:100%;min-height:55px;padding:0 16px;border:2px solid #cbdacf;border-radius:11px;background:#fff;font-size:17px;outline:0}
.game-answer-input:focus{border-color:#3fa66e;box-shadow:0 0 0 4px rgba(63,166,110,.12)}
.puzzle-answer{display:flex;align-items:center;min-height:64px;margin-bottom:16px;padding:14px 16px;border:2px dashed #9fc9ad;border-radius:12px;background:#fff;color:#1e4935;font-size:17px;font-weight:700}
.puzzle-answer span{color:#819087;font-weight:500}
.puzzle-tokens{display:flex;gap:9px;flex-wrap:wrap}
.puzzle-tokens button{min-height:42px}
.puzzle-tokens button:disabled{opacity:.35;transform:none}
.puzzle-reset{margin-top:14px;border:0;background:transparent;color:#267c50;font-weight:800;cursor:pointer}
.game-feedback{margin-top:13px;padding:14px 16px;border-radius:11px;font-weight:800}
.game-feedback.correct{background:#e5f6eb;color:#1b7b47}.game-feedback.error{background:#fff1ed;color:#a14832}
.game-feedback small{display:block;margin-top:4px;font-weight:500}
.game-panel>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.game-panel>footer button{min-height:43px;padding:0 18px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#17613f;font-weight:800;cursor:pointer}
.game-panel>footer #checkGameAnswer,.game-panel>footer #nextGameQuestion{border-color:#1f8051;background:#1f8051;color:#fff}
.game-result{display:flex;min-height:180px;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.game-result b{color:#19824d;font-size:62px;line-height:1}.game-result span{margin-top:9px;color:#5d7367}.game-result p{margin:16px 0 0;font-weight:800}
.game-grid article{position:relative;isolation:isolate;overflow:hidden;transition:transform .22s var(--ease),border-color .22s var(--ease),box-shadow .22s var(--ease)}
.game-grid article::after{content:"";position:absolute;z-index:-1;right:-34px;bottom:-44px;width:116px;height:116px;border-radius:50%;background:radial-gradient(circle,#dff3e5 0 38%,transparent 40%);opacity:.72;transition:transform .28s var(--ease)}
.game-grid article:nth-child(2n)::after{background:radial-gradient(circle,#fff0d2 0 38%,transparent 40%)}
.game-grid article:nth-child(3n)::after{background:radial-gradient(circle,#e3effa 0 38%,transparent 40%)}
.game-grid article:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(31,91,57,.12)}
.game-grid article:hover::after{transform:scale(1.22)}
.game-grid article>b{display:inline-grid;width:54px;height:54px;place-content:center;border-radius:15px;background:#ecf7ef;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.game-grid article:hover>b{transform:rotate(-6deg) scale(1.1)}
.game-grid article button{transition:transform .16s ease,background .16s ease,color .16s ease}
.game-grid article button:hover{background:#1f8051;color:#fff}.game-grid article button:active{transform:scale(.97)}
.game-panel{position:relative;isolation:isolate;overflow:hidden}
.game-panel::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(circle at 92% 8%,rgba(90,181,112,.12),transparent 25%),radial-gradient(circle at 7% 94%,rgba(236,177,67,.1),transparent 22%);pointer-events:none}
.game-panel-enter{animation:gamePanelIn .42s cubic-bezier(.2,.8,.2,1) both}
.game-status{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:14px}
.game-status>i{height:8px;border-radius:999px;background:#dceae0;overflow:hidden}
.game-status>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2fa567,#74b94f);transition:width .42s cubic-bezier(.2,.8,.2,1)}
.game-body{position:relative;overflow:hidden}
.question-enter{animation:gameQuestionIn .34s cubic-bezier(.2,.8,.2,1) both}
.game-options button,.puzzle-tokens button{position:relative;overflow:hidden;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.game-options button:active,.puzzle-tokens button:active{transform:scale(.98)}
.game-options button.correct-answer{border-color:#29965c;background:#dff5e6;color:#176a40;box-shadow:0 0 0 4px rgba(41,150,92,.11);animation:correctPulse .46s ease both}
.game-options button.wrong-answer{border-color:#d78670;background:#fff0eb;color:#9c422f}
.choice-pop{animation:choicePop .24s ease both}.answer-pop{animation:choicePop .22s ease both}.answer-shake{animation:answerShake .34s ease both}
.score-pop{animation:scorePop .5s cubic-bezier(.2,.8,.2,1) both}
.game-feedback{animation:feedbackIn .3s cubic-bezier(.2,.8,.2,1) both}
.game-audio-button{position:relative;box-shadow:0 7px 17px rgba(30,118,80,.17);transition:transform .16s ease,box-shadow .16s ease}
.game-audio-button:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(30,118,80,.22)}
.game-audio-button:active{transform:scale(.97)}
.game-result b{position:relative;animation:resultScoreIn .64s cubic-bezier(.16,1,.3,1) both}
.game-result b::after{content:"分";position:absolute;left:100%;bottom:5px;margin-left:5px;color:#71867a;font-size:14px}
.game-celebration{position:absolute;z-index:5;inset:0;overflow:hidden;pointer-events:none}
.game-celebration i{position:absolute;top:46%;left:var(--x);width:8px;height:14px;border-radius:2px;background:var(--color);opacity:0;transform:translate(-50%,-50%)}
.game-celebration.celebrate i,.game-celebration.celebrate-full i{animation:confettiBurst .78s cubic-bezier(.2,.7,.2,1) var(--delay) both}
.game-celebration.celebrate-full i{animation-duration:1.2s}
@keyframes gamePanelIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes gameQuestionIn{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:none}}
@keyframes choicePop{0%{transform:scale(.97)}60%{transform:scale(1.025)}100%{transform:scale(1)}}
@keyframes correctPulse{0%{transform:scale(.98)}55%{transform:scale(1.025)}100%{transform:scale(1)}}
@keyframes answerShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-7px)}50%{transform:translateX(6px)}75%{transform:translateX(-3px)}}
@keyframes scorePop{0%{transform:scale(1)}45%{transform:scale(1.28);color:#e69c1e}100%{transform:scale(1)}}
@keyframes feedbackIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes resultScoreIn{from{opacity:0;transform:scale(.45) rotate(-8deg)}70%{transform:scale(1.12) rotate(2deg)}to{opacity:1;transform:scale(1)}}
@keyframes confettiBurst{0%{opacity:0;transform:translate(-50%,-50%) scale(.5) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--dx)),calc(-50% + 180px)) rotate(var(--spin))}}
@media(max-width:800px){.game-panel{padding:18px 14px;border-left-width:4px}.game-body{min-height:190px;padding:18px 14px}.game-question{font-size:18px}.game-options{grid-template-columns:1fr}.game-panel>footer{display:grid;grid-template-columns:1fr 1fr}.game-panel>footer button{padding:0 8px}.game-result b{font-size:50px}.game-status{grid-template-columns:auto auto}.game-status>i{grid-column:1/-1;grid-row:2}.game-grid article:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.game-grid article,.game-grid article::after,.game-grid article>b,.game-grid article button,.game-status>i>b,.game-options button,.puzzle-tokens button,.game-audio-button{transition:none}.game-panel-enter,.question-enter,.choice-pop,.answer-pop,.answer-shake,.score-pop,.game-feedback,.game-result b,.game-celebration i{animation:none!important}.game-grid article:hover,.game-grid article:hover>b,.game-audio-button:hover{transform:none}}

/* Grammar clinic practice */
.grammar-page-intro{margin-bottom:22px}.grammar-page-intro span{color:var(--ink);font-size:28px}.grammar-page-intro p{max-width:1120px;font-size:14px;line-height:1.75}
.grammar-clinic-panel{box-sizing:border-box;max-width:100%;margin-top:22px;padding:27px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.grammar-clinic-panel h2{margin:0;color:var(--ink);font-size:20px;letter-spacing:-.02em}.grammar-clinic-panel>p{margin:14px 0 18px;color:var(--muted);line-height:1.7}
.grammar-health-meter{position:relative;margin:19px 0 16px}.grammar-health-meter>i{display:block;height:34px;overflow:hidden;border-radius:999px;background:linear-gradient(90deg,#edf1ed,#e8f0e9)}.grammar-health-meter>i>b{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b9dfc4,#82c69b);transition:width .45s var(--ease)}.grammar-health-meter>strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#283b31;font-size:14px}
.grammar-health-panel>p{margin:0 0 12px;color:#627469}.grammar-health-panel>small,.grammar-frequency-content>small{display:block;color:#829087;line-height:1.7}
.grammar-case-card{box-sizing:border-box;max-width:100%;min-width:0;padding:20px;border:1px solid #dfe7df;border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(33,77,48,.07)}
.grammar-case-meta{display:flex;align-items:center;gap:11px;margin-bottom:15px;color:#708078}.grammar-case-meta span:last-child{padding:4px 12px;border-radius:999px;background:#fff0dc;color:#c97819;font-size:12px;font-weight:800}
.grammar-case-original{padding:15px 17px;border:1px dashed #dfa59d;border-radius:11px;background:#fff7f5;color:#6a3c36}.grammar-case-original b{margin-left:6px;color:#542923;font-size:16px}
.grammar-case-options{display:grid;min-width:0;gap:10px;margin-top:15px}.grammar-case-options button{box-sizing:border-box;display:flex;gap:10px;align-items:flex-start;width:100%;min-width:0;min-height:48px;padding:12px 16px;border:1px solid #dfe5df;border-radius:10px;background:#fff;color:#26382e;font-size:15px;line-height:1.5;text-align:left;overflow-wrap:anywhere;white-space:normal;cursor:pointer;transition:border-color .18s var(--ease),background .18s var(--ease),transform .18s var(--ease)}.grammar-case-options button:hover{border-color:#86bd9a;background:#f7fbf8;transform:translateX(2px)}.grammar-case-options button span{flex:0 0 auto;font-weight:800}.grammar-case-options button.correct{border-color:#53a978;background:#e9f7ed;color:#17653e}.grammar-case-options button.wrong{border-color:#d99182;background:#fff0ed;color:#984431}
.grammar-case-feedback{margin-top:14px;padding:13px 15px;border-radius:10px}.grammar-case-feedback.correct{background:#e6f5eb;color:#1c7446}.grammar-case-feedback.error{background:#fff0ec;color:#9b4532}.grammar-case-feedback p{margin:4px 0 0;color:#576c60}
.grammar-case-actions{display:flex;gap:10px;margin-top:16px}.grammar-case-actions button{min-height:43px;padding:0 17px;border:1px solid #398b5d;border-radius:10px;background:#fff;color:#207047;font-weight:800;cursor:pointer}.grammar-case-actions button:last-child{background:#f0faf3}.grammar-case-actions button:hover{background:#e4f3e9}
.grammar-frequency-content>p{margin:14px 0 8px;color:#708078}.grammar-frequency-list{display:grid;gap:11px;margin:18px 0}.grammar-frequency-list article{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:15px}.grammar-frequency-list span{display:flex;justify-content:space-between;gap:8px;color:#365344}.grammar-frequency-list span small{color:#89968e}.grammar-frequency-list article>i{height:9px;border-radius:999px;background:#e6eee8;overflow:hidden}.grammar-frequency-list article>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#43aa70,#8bc99f)}
.grammar-practice{margin-top:20px;padding:25px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.grammar-practice>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.grammar-practice>header span{color:#458266;font-size:11px;font-weight:900;letter-spacing:.12em}
.grammar-practice>header h2{margin:5px 0 0;color:var(--ink);font-size:23px}
.grammar-practice>header>button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:23px;cursor:pointer}
.grammar-progress{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;margin:20px 0 13px;color:#527060}
.grammar-progress i{height:8px;border-radius:8px;background:#e7eee9;overflow:hidden}.grammar-progress i b{display:block;height:100%;border-radius:inherit;background:#41a86f;transition:width .25s ease}
.grammar-progress strong{color:#207749}
.grammar-question-card{padding:27px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#f8fbf8,#f2f8ef)}
.grammar-question-card>span{display:inline-block;padding:5px 10px;border-radius:999px;background:#e5f4e9;color:#327756;font-size:11px;font-weight:800}
.grammar-question-card h3{margin:18px 0 22px;color:var(--ink);font-size:21px;line-height:1.55}
.grammar-question-card h3 strong{color:#21955a;font-size:40px}
.grammar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.grammar-options>button{min-height:51px;padding:10px 16px;border:1px solid #cdddcf;border-radius:11px;background:#fff;color:#345247;font-size:16px;cursor:pointer;transition:.18s ease}
.grammar-options>button:hover{border-color:#58aa77;transform:translateY(-1px)}
.grammar-options>button.selected{border:2px solid #29965c;background:#e5f5ea;color:#176a40;font-weight:800}
.grammar-options>button.correct{border-color:#29965c;background:#dff3e6;color:#176a40}.grammar-options>button.wrong{border-color:#d78670;background:#fff0eb;color:#9c422f}
.grammar-feedback{margin-top:15px;padding:14px 16px;border-radius:11px}.grammar-feedback.correct{background:#e5f6eb;color:#1b7b47}.grammar-feedback.error{background:#fff1ed;color:#a14832}
.grammar-feedback p{margin:5px 0 0;color:#536b5e}
.grammar-practice>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.grammar-practice>footer button{min-height:43px;padding:0 18px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#17613f;font-weight:800;cursor:pointer}
.grammar-practice>footer #submitGrammarAnswer,.grammar-practice>footer #nextGrammarQuestion{border-color:#1f8051;background:#1f8051;color:#fff}
.grammar-result{grid-column:1/-1;padding:22px;border-radius:13px;background:#e7f4eb;text-align:center}.grammar-result b{color:#1d7849;font-size:22px}.grammar-result p{margin:8px 0 0;color:#5b7165}
@media(max-width:800px){#grammar{min-width:0}.grammar-page-intro span{font-size:24px}.grammar-clinic-panel{padding:20px 15px;border-left-width:4px}.grammar-clinic-panel h2{font-size:18px}.grammar-case-card{padding:15px 12px}.grammar-case-original b{display:block;margin:5px 0 0;overflow-wrap:anywhere}.grammar-case-actions{display:grid;grid-template-columns:1fr 1fr}.grammar-case-actions button{min-width:0;padding:0 8px}.grammar-frequency-list article{grid-template-columns:110px minmax(0,1fr)}.grammar-practice{box-sizing:border-box;max-width:100%;padding:18px 14px;border-left-width:4px}.grammar-progress{grid-template-columns:auto auto}.grammar-progress i{grid-column:1/-1;grid-row:2}.grammar-question-card{padding:20px 14px}.grammar-question-card h3{font-size:18px}.grammar-options{grid-template-columns:1fr}.grammar-practice>footer{display:grid;grid-template-columns:1fr 1fr}.grammar-practice>footer button{padding:0 8px}}
@media(prefers-reduced-motion:reduce){.grammar-health-meter>i>b,.grammar-case-options button{transition:none}.grammar-case-options button:hover{transform:none}}

/* Resource recommendation */
.resource-page-intro{margin-bottom:22px}
.resource-page-intro span{color:var(--ink);font-size:28px}
.resource-page-intro p{max-width:1100px;font-size:14px;line-height:1.75}
.resource-recommendation-board{padding:28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.resource-board-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.resource-board-head h2{margin:0;color:var(--ink);font-size:21px}
.resource-board-head p{max-width:910px;margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.resource-folder{flex:0 0 auto;width:74px;height:74px;border:1px solid #cde1d3;border-radius:17px;background:#eff8f2;box-shadow:none}
.resource-folder strong{font-size:22px}.resource-folder span{font-size:10px}
.resource-track-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:25px}
.resource-track-grid button{display:flex;min-width:0;min-height:172px;align-items:center;justify-content:center;flex-direction:column;padding:19px 14px;border:1px solid #d4e0d6;border-radius:16px;background:#fff;color:var(--ink);font:inherit;text-align:center;cursor:pointer;box-shadow:0 7px 18px rgba(33,77,48,.04);transition:border-color .2s var(--ease),background .2s var(--ease),transform .2s var(--ease)}
.resource-track-grid button:hover{border-color:#86bd9a;transform:translateY(-2px)}
.resource-track-grid button.active{border:2px solid #35a66b;background:#eaf6ee;box-shadow:0 8px 20px rgba(49,150,92,.1)}
.resource-track-grid button>b{font-size:29px;line-height:1}
.resource-track-grid button>strong{margin-top:11px;font-size:18px}
.resource-track-grid button>small{margin-top:8px;color:#718178;font-size:12px}
.resource-track-grid button>span{display:flex;justify-content:center;gap:6px;margin-top:13px;flex-wrap:wrap}
.resource-track-grid button i,.resource-track-heading i{padding:5px 9px;border-radius:999px;background:#e3f4e8;color:#23905a;font-size:10px;font-style:normal;font-weight:800}
.resource-track-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:27px 0 15px}
.resource-track-heading>div{display:flex;align-items:center;gap:11px;min-width:0}
.resource-track-heading>div>b{font-size:22px}.resource-track-heading span strong,.resource-track-heading span small{display:block}
.resource-track-heading span strong{color:var(--ink);font-size:18px}.resource-track-heading span small{margin-top:4px;color:var(--muted);font-size:11px}
.resource-track-heading>div:last-child{justify-content:flex-end;flex-wrap:wrap}
#resources .resource-grid{gap:16px;margin-top:0}
#resources .resource-card{display:flex;min-width:0;min-height:285px;flex-direction:column;padding:22px;border:1px solid #d7e2d8;border-left:5px solid #3da66d;border-radius:0 16px 16px 0;background:#fff;box-shadow:0 7px 20px rgba(35,72,48,.055)}
#resources .resource-card:hover{border-color:#8dbb9c;box-shadow:var(--shadow-medium)}
.resource-card-badges{display:flex!important;align-items:center;justify-content:space-between!important;gap:8px}
.resource-card-badges span,.resource-card-badges em{padding:5px 10px;border-radius:999px;font-size:10px;font-style:normal;font-weight:900}
.resource-card-badges span{background:#e5f5ea;color:#248552}.resource-card-badges em{background:#fff2dd;color:#bd791c}
#resources .resource-card h3{margin:18px 0 8px;font-size:18px;line-height:1.45}
#resources .resource-card>small{display:flex;align-items:center;gap:8px;color:#728279;font-size:11px}
#resources .resource-card>small i{width:3px;height:3px;border-radius:50%;background:#92a198}
#resources .resource-card>p{min-height:44px;margin:15px 0 0;color:#65766d;font-size:12px;line-height:1.7}
.resource-card-actions{display:grid!important;grid-template-columns:.8fr 1.2fr;gap:8px;margin-top:auto;padding-top:20px}
#resources .resource-card-actions button{min-height:41px;margin:0;padding:0 10px;border:1px solid #9dc9aa;border-radius:10px;background:#fff;color:#237d4e;font-size:12px;font-weight:900;cursor:pointer}
#resources .resource-card-actions button:last-child{background:#eef8f1}
#resources .resource-card-actions button.saved{border-color:#248552;background:#248552;color:#fff}
.resource-detail{margin-top:20px;padding:26px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.resource-detail>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.resource-detail>header span{color:#458266;font-size:11px;font-weight:900;letter-spacing:.12em}
.resource-detail>header h2{margin:6px 0 0;color:var(--ink);font-size:24px}
.resource-detail>header>button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:23px;cursor:pointer}
.resource-detail-meta{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 12px}
.resource-detail-meta span{padding:6px 10px;border-radius:999px;background:#e8f3eb;color:#367558;font-size:11px;font-weight:800}
.resource-detail>p{margin:0;color:#60756a;line-height:1.7}
.resource-detail section{margin-top:18px;padding:20px;border-radius:14px;background:#f4f8f5}
.resource-detail section h3{margin:0 0 13px;font-size:17px}
.resource-detail ol{display:grid;gap:11px;margin:0;padding-left:24px;color:#405c4e}
.resource-detail li{padding-left:5px;line-height:1.55}
.resource-detail>footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.resource-detail>footer button{min-height:44px;padding:0 18px;border:1px solid #9ec6aa;border-radius:10px;background:#fff;color:#20794b;font-weight:800;cursor:pointer}
.resource-detail>footer button:last-child,.resource-detail>footer button.saved{border-color:#218252;background:#218252;color:#fff}
.resource-learning{margin-top:24px;padding-top:24px;border-top:1px solid #d8e5db}
.resource-learning-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.resource-learning-head span{color:#3b8061;font-size:10px;font-weight:900;letter-spacing:.12em}
.resource-learning-head h3{margin:5px 0 0;font-size:22px}
.resource-learning-head>strong{padding:7px 11px;border-radius:999px;background:#e8f4eb;color:#337756;font-size:11px;white-space:nowrap}
.resource-detail .resource-learning article{margin-top:12px;padding:20px;border:1px solid #dbe6dd;border-radius:14px;background:#fbfdfb}
.resource-detail .resource-learning article h4{margin:0 0 12px;color:#1d5539;font-size:15px}
.resource-detail .resource-learning article p{margin:0;color:#536b5e;line-height:1.85}
.resource-keywords{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.resource-keywords button{display:flex;min-width:0;align-items:flex-start;flex-direction:column;padding:12px;border:1px solid #cfe1d4;border-radius:10px;background:#f0f8f2;color:#236e48;text-align:left;cursor:pointer}
.resource-keywords button b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-keywords button span{margin-top:5px;color:#789085;font-size:10px}
.resource-keywords button:hover{border-color:#70b087;background:#e7f5eb}
.resource-learning-tasks{display:grid;gap:9px}
.resource-learning-tasks label{display:flex;align-items:flex-start;gap:11px;padding:11px 12px;border-radius:10px;background:#f1f6f2;color:#496255;cursor:pointer}
.resource-learning-tasks input{flex:0 0 auto;width:18px;height:18px;margin-top:1px;accent-color:#258555}
.resource-learning-tasks span{line-height:1.55}.resource-learning-tasks span b{margin-right:8px;color:#27734d}
.resource-learning-tasks label:has(input:checked){background:#e2f3e7;color:#6b7f73;text-decoration:line-through}
.resource-quiz-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.resource-quiz-head h4{margin-bottom:3px!important}.resource-quiz-head p{font-size:12px}.resource-quiz-head>strong{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#e8f4eb;color:#26734c;font-size:12px}
.resource-quiz-questions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.resource-quiz-questions fieldset{min-width:0;margin:0;padding:14px;border:1px solid #dbe5dd;border-radius:11px;background:#fff}.resource-quiz-questions legend{padding:0 5px;color:#263b2f;font-weight:800;line-height:1.55}.resource-quiz-questions legend span{display:inline-block;margin-right:7px;padding:2px 7px;border-radius:999px;background:#e9f4ec;color:#347756;font-size:10px}.resource-quiz-questions fieldset:nth-child(n+6) legend span{background:#fff0dc;color:#bd701c}.resource-quiz-questions label{display:flex;align-items:flex-start;gap:8px;margin-top:8px;padding:8px 9px;border-radius:8px;background:#f5f8f5;color:#52675b;cursor:pointer}.resource-quiz-questions input{flex:0 0 auto;margin-top:4px;accent-color:#258555}.resource-quiz-questions label.answer{background:#e2f3e7;color:#1d6c43;font-weight:700}.resource-quiz-questions fieldset.wrong{border-color:#e1aaa0}.resource-quiz-questions fieldset.unanswered{border-style:dashed}.resource-quiz-explanation{margin-top:10px!important;padding:10px;border-radius:8px;background:#f1f6f2;font-size:12px!important}.resource-quiz-explanation b{display:block;margin-bottom:3px;color:#24734b}.resource-quiz>button{display:block;min-height:42px;margin:16px 0 0 auto;padding:0 18px;border:1px solid #238153;border-radius:9px;background:#238153;color:#fff;font-weight:800;cursor:pointer}
.resource-notes{display:block;margin-top:15px;color:#315f47;font-size:12px;font-weight:900}
.resource-notes textarea{min-height:100px;margin-top:8px;padding:13px;border:1px solid #cfe0d3;border-radius:11px;background:#fff;font:inherit;font-weight:400;line-height:1.6;resize:vertical}
.resource-complete{display:block;min-height:44px;margin:14px 0 0 auto;padding:0 18px;border:1px solid #218252;border-radius:10px;background:#218252;color:#fff;font-weight:900;cursor:pointer}
.resource-complete.completed{background:#e7f4eb;color:#20794b}
.resource-empty{grid-column:1/-1;padding:40px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center}
@media(max-width:1050px){.resource-track-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.resource-page-intro span{font-size:23px}.resource-recommendation-board{padding:19px 14px;border-left-width:4px}.resource-board-head{gap:14px}.resource-board-head h2{font-size:19px}.resource-folder{width:64px;height:64px}.resource-track-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 1px 10px}.resource-track-grid button{flex:0 0 225px;min-height:158px;scroll-snap-align:start}.resource-track-heading{align-items:flex-start;flex-direction:column}.resource-track-heading>div:last-child{justify-content:flex-start}.resource-detail{padding:19px 14px;border-left-width:4px}.resource-detail>footer{display:grid;grid-template-columns:1fr 1fr}.resource-detail>footer button{padding:0 8px}.resource-keywords{grid-template-columns:1fr 1fr}.resource-learning-head{align-items:flex-start;flex-direction:column}.resource-learning-head h3{font-size:19px}.resource-quiz-head{flex-direction:column}.resource-quiz-questions{grid-template-columns:1fr}.resource-quiz>button,.resource-complete{width:100%}}
@media(max-width:520px){.resource-board-head p{font-size:12px}.resource-folder{width:58px;height:58px}.resource-folder strong{font-size:18px}#resources .resource-card{min-height:0}.resource-card-actions{grid-template-columns:1fr}.resource-card-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.resource-track-grid button{transition:none}.resource-track-grid button:hover{transform:none}}

/* Cross-border agricultural livestream practice */
.livestream-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:34px 38px;border:1px solid #cfe0d3;border-left:6px solid #d75b3e;border-radius:0 20px 20px 0;background:linear-gradient(125deg,#fff9f5,#edf6eb);box-shadow:var(--shadow-medium)}.livestream-hero>div:first-child>span,.livestream-builder header span,.livestream-practice header span,.livestream-secondary section>span{color:#bd5037;font-size:10px;font-weight:900;letter-spacing:.13em}.livestream-hero h2{margin:7px 0 10px;font-size:32px}.livestream-hero p{max-width:800px;margin:0;color:var(--muted);line-height:1.75}.livestream-hero>div:first-child>div{margin-top:15px;color:#49665a;font-size:12px}.livestream-hero>div:first-child>div b{padding:5px 9px;border-radius:999px;background:#ffe9df;color:#b64a31}.livestream-camera{position:relative;display:grid;place-items:center;flex:0 0 105px;height:105px;border-radius:28px;background:#fff;color:#173f2c;font-size:48px;box-shadow:0 10px 30px rgba(55,75,54,.1)}.livestream-camera i{position:absolute;right:-6px;top:-6px;padding:5px 8px;border-radius:999px;background:#d94d38;color:#fff;font-size:9px;font-style:normal;letter-spacing:.08em}.live-quick-answer,.live-vocabulary-panel,.livestream-builder,.livestream-practice,.livestream-phrases,.livestream-secondary section,.live-action-panel{margin-top:18px;padding:24px;border:1px solid #d7e3d8;border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(35,72,48,.05)}.live-quick-answer header,.live-vocabulary-panel>header,.livestream-builder>header,.livestream-practice>header,.livestream-phrases>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.live-quick-answer header>div,.live-vocabulary-panel>header>div{display:flex;align-items:center;gap:9px}.live-quick-answer h3,.live-vocabulary-panel h3,.livestream-builder h3,.livestream-practice h3,.livestream-phrases h3{margin:0}.live-quick-answer header p,.live-vocabulary-panel>header p,.livestream-phrases>header p{margin:0;color:var(--muted);font-size:12px}.live-quick-input{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:20px}.live-quick-input input{min-width:0;padding:13px 15px;border:1px solid #d3dfd4;border-radius:11px;font:inherit}.live-quick-input button{padding:0 20px;border:0;border-radius:11px;background:#25955f;color:#fff;font-weight:900}.live-quick-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.live-quick-suggestions button{padding:8px 12px;border:1px solid #d6e1d7;border-radius:999px;background:#fff;color:#586c61;font-weight:700;cursor:pointer}.live-quick-result{margin-top:14px;padding:14px;border-radius:11px;background:#eff8f1}.live-quick-result p{margin:7px 0;line-height:1.7}.live-quick-result button{border:0;background:transparent;color:#258052;font-weight:800;cursor:pointer}.live-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:18px}.live-module-grid button{position:relative;display:flex;align-items:center;gap:13px;min-height:112px;padding:18px;border:1px solid #d7e0d7;border-radius:16px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:.2s ease}.live-module-grid button:hover,.live-module-grid button.active{border-color:#df6c51;background:#fff9f6;transform:translateY(-2px)}.live-module-grid button>b{font-size:25px}.live-module-grid button span,.live-module-grid button small{display:block}.live-module-grid button span{font-weight:900}.live-module-grid button small{margin-top:6px;color:var(--muted);font-weight:600}.live-module-grid button>i{position:absolute;right:12px;top:10px;color:#aaa39e;font-size:11px;font-style:normal}.live-vocabulary-panel>header small{color:#64766c;font-size:14px}.live-vocab-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.live-vocab-filters button{padding:9px 13px;border:1px solid #d6e0d5;border-radius:999px;background:#eff4ed;color:#68796f;font-weight:800;cursor:pointer}.live-vocab-filters button.active{border-color:#d7583d;background:#d7583d;color:#fff}.live-vocab-tools{display:flex;align-items:center;gap:9px;margin:17px 0}.live-vocab-tools button{padding:9px 13px;border:1px solid #24915b;border-radius:9px;background:#fff;color:#218152;font-weight:800;cursor:pointer}.live-vocab-tools span{color:var(--muted);font-size:12px}.live-vocab-groups{display:grid;gap:10px}.live-vocab-group{border:1px solid #e0e5df;border-radius:13px;background:#fffaf8;overflow:hidden}.live-vocab-group summary{display:grid;grid-template-columns:1fr auto auto;gap:14px;align-items:center;padding:15px 18px;cursor:pointer;list-style:none}.live-vocab-group summary::-webkit-details-marker{display:none}.live-vocab-group summary span{font-weight:900}.live-vocab-group summary span:before{content:"▶";margin-right:10px;color:#d7583d}.live-vocab-group[open] summary span:before{content:"▼"}.live-vocab-group summary em,.live-vocab-group summary b{color:#6d7771;font-size:12px;font-style:normal}.live-vocab-group summary b{color:#c05238}.live-vocab-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 16px 16px}.live-vocab-group article{min-width:0;padding:16px;border:1px solid #e5e6e2;border-left:4px solid #d85a3d;border-radius:12px;background:#fff}.live-vocab-group article header{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-vocab-group article h4{margin:0;font-size:16px}.live-vocab-group article h4 small{margin-left:5px;color:#737e77;font-size:11px;font-style:italic}.live-vocab-group article header button{border:0;background:transparent;cursor:pointer}.live-vocab-group article>strong{display:block;margin-top:8px;color:#278252}.live-vocab-group article>p{min-height:54px;margin:11px 0;padding:10px;border-radius:8px;background:#fff7f4;color:#42564a;line-height:1.55}.live-vocab-group article footer{display:flex;gap:7px}.live-vocab-group article footer button{padding:8px 10px;border:1px solid #29915d;border-radius:8px;background:#fff;color:#207b4e;font-weight:800;cursor:pointer}.live-vocab-group article footer button.saved{background:#e6f4ea}.livestream-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.livestream-overview article{padding:17px;border:1px solid #dce5dd;border-radius:14px;background:#fff}.livestream-overview span,.livestream-overview small{display:block;color:var(--muted);font-size:11px}.livestream-overview strong{display:block;margin:5px 0;color:#d55338;font-size:27px}.livestream-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.livestream-builder header em{color:var(--muted);font-size:11px;font-style:normal}.livestream-builder form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.livestream-builder label{font-size:12px;font-weight:800}.livestream-builder input,.livestream-builder select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #d6e1d8;border-radius:9px;background:#fff;font:inherit}.livestream-builder form .primary{grid-column:1/-1}.live-script-result{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.live-script-result.empty{display:block;padding:25px;border:1px dashed #cad8ce;border-radius:11px;color:var(--muted);text-align:center}.live-script-result article{padding:13px;border-radius:10px;background:#f3f8f4}.live-script-result article b{color:#c45137;font-size:11px}.live-script-result article p{margin:7px 0 0;font-size:12px;line-height:1.65}.livestream-practice>header strong{padding:6px 10px;border-radius:999px;background:#eef6f0;color:#26784d}.livestream-practice>div{display:grid;gap:8px;margin-top:16px}.livestream-practice label{display:flex;gap:10px;padding:11px;border-radius:10px;background:#f5f8f5;cursor:pointer}.livestream-practice input{accent-color:#278456}.livestream-practice label span,.livestream-practice label small{display:block}.livestream-practice label small{margin-top:4px;color:var(--muted)}.livestream-practice>button{margin-top:12px;border:0;background:transparent;color:#287a50;font-weight:800;cursor:pointer}.livestream-phrases>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.livestream-phrases>div button{display:flex;flex-direction:column;align-items:flex-start;padding:15px;border:1px solid #d9e3db;border-radius:11px;background:#f8fbf8;color:var(--ink);text-align:left;cursor:pointer}.livestream-phrases button b{color:#c25037}.livestream-phrases button span{margin:8px 0;line-height:1.55}.livestream-phrases button small{color:var(--muted)}.livestream-secondary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.livestream-secondary section{min-width:0}.livestream-secondary h3{margin:7px 0}.livestream-secondary p{min-height:65px;color:var(--muted);font-size:12px;line-height:1.6}.livestream-secondary button{border:0;background:#edf6ef;color:#22784b;padding:9px 11px;border-radius:8px;font-weight:800;cursor:pointer}.live-action-panel header{display:flex;justify-content:space-between;align-items:center}.live-action-panel header h3{margin:0}.live-action-panel header button{width:34px;height:34px;border:1px solid #d8e1da;border-radius:9px;background:#fff;cursor:pointer}.live-action-panel p{line-height:1.9;color:#50675a}
@media(max-width:1050px){.live-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.live-vocab-group>div{grid-template-columns:1fr 1fr}.livestream-layout{grid-template-columns:1fr}.livestream-secondary{grid-template-columns:1fr 1fr}}
@media(max-width:800px){#livestream{min-width:0;max-width:100%;overflow:hidden}#livestream>*{min-width:0;max-width:100%;box-sizing:border-box}.livestream-hero{padding:23px 18px;border-left-width:4px}.livestream-hero h2{font-size:25px}.livestream-camera{display:none}.live-quick-answer,.live-vocabulary-panel,.livestream-builder,.livestream-practice,.livestream-phrases,.livestream-secondary section,.live-action-panel{padding:17px 14px}.live-quick-answer header,.live-vocabulary-panel>header,.livestream-builder>header,.livestream-practice>header,.livestream-phrases>header{flex-direction:column}.live-quick-input{grid-template-columns:minmax(0,1fr)}.live-quick-input button{min-height:44px}.live-module-grid{display:flex;width:100%;min-width:0;max-width:100%;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}.live-module-grid button{flex:0 0 215px;scroll-snap-align:start}.live-vocab-filters{width:100%;min-width:0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.live-vocab-filters button{flex:0 0 auto}.live-vocab-tools{align-items:stretch;flex-wrap:wrap}.live-vocab-tools button{flex:1}.live-vocab-tools span{width:100%}.live-vocab-group>div{grid-template-columns:1fr}.livestream-overview{grid-template-columns:1fr 1fr}.livestream-builder form{grid-template-columns:1fr}.livestream-builder form .primary{grid-column:1}.live-script-result,.livestream-phrases>div,.livestream-secondary{grid-template-columns:1fr}.live-vocab-group article footer{display:grid;grid-template-columns:1fr 1fr}.live-vocab-group article footer button{padding:8px 5px}}

/* Litchi export project workshop */
.commerce-page-intro{margin-bottom:22px}
.commerce-page-intro span{font-size:28px;color:var(--ink)}
.commerce-page-intro p{max-width:1040px;font-size:14px;line-height:1.75}
.export-flow-card{padding:27px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.export-flow-card h3{margin:0 0 20px;font-size:20px}
.export-flow{display:flex;align-items:center;gap:10px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin}
.export-flow button{flex:0 0 auto;min-height:48px;padding:0 22px;border:0;border-radius:999px;color:#fff;font-weight:900;white-space:nowrap;cursor:pointer;box-shadow:0 7px 15px rgba(37,106,70,.14);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.export-flow button:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(37,106,70,.2)}
.export-flow button:active{transform:translateY(0)}
.export-flow button:nth-of-type(1){background:#247f50}.export-flow button:nth-of-type(2){background:#a86600}.export-flow button:nth-of-type(3){background:#286f9f}.export-flow button:nth-of-type(4){background:#a84e29}.export-flow button:nth-of-type(5){background:#14796e}.export-flow button:nth-of-type(6){background:#7440ad}
.export-flow i{flex:0 0 auto;color:#809489;font-style:normal;font-size:18px}
.export-flow-card>p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.65}
.project-workbench{margin-top:22px;padding:27px 28px;border:1px solid #b9dfc8;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:linear-gradient(145deg,#f1faf4,#fbfdfb);box-shadow:var(--shadow-low)}
.project-workbench>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}
.project-workbench>header span{padding:7px 13px;border-radius:999px;background:#dff2e6;color:#218153;font-size:12px;font-weight:900}
.project-workbench>header strong{color:#63776c;font-size:13px}
.project-progress-line{height:8px;margin-bottom:20px;border-radius:8px;background:#e1ebe4;overflow:hidden}
.project-progress-line b{display:block;height:100%;border-radius:inherit;background:#35a66b;transition:width .25s var(--ease)}
.project-workbench .commerce-steps{display:grid;grid-template-columns:1fr;gap:11px;margin:0}
.project-workbench .project-stages article{display:grid;grid-template-columns:44px minmax(220px,1fr) auto;align-items:center;gap:15px;padding:16px 18px;border:1px solid #d7e4d9;border-left:5px solid #2da368;border-radius:12px;background:#fff;box-shadow:none;transition:border-color .2s var(--ease),transform .2s var(--ease)}
.project-workbench .project-stages article:hover{border-color:#9fc9ad;transform:translateY(-1px)}
.project-workbench .project-stages article>b{width:38px;height:38px;display:grid;place-content:center;border-radius:50%;background:#2da368;color:#fff;font-size:17px}
.project-stage-copy>span{font-size:9px;letter-spacing:.12em;color:#739081;font-weight:900}
.project-stage-copy h3{margin:3px 0 4px;font-size:17px}
.project-stage-copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}
.project-workbench .project-actions{grid-column:auto;display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.project-workbench .project-actions button{min-height:32px;padding:0 11px;border:0;border-radius:999px;background:#fff3e3;color:#d5831f;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}
.project-workbench .project-actions button:hover{background:#ffe8c7}
.project-workbench .project-actions .project-practice-button{border:1px solid #58a878;background:#e5f5ea;color:#20774a}
.project-workbench .project-actions .project-practice-button:hover{background:#d7efdf}
.project-workbench .project-actions .project-status{border:1px solid #c7d8cd;background:#fff;color:#72857a}
.project-workbench .project-stages article.stage-done{border-color:#87c7a0;background:#edf8f1}
.project-workbench .project-stages article.stage-done .project-status{border-color:#2f9360;background:#2f9360;color:#fff}
#commerce .exam-preview{margin-top:18px;border-left:6px solid #3fa66e;border-radius:0 16px 16px 0}
.project-training{margin-top:20px;padding:26px 28px;border-left:6px solid #3fa66e;border-radius:0 18px 18px 0;background:#fff;box-shadow:var(--shadow-medium)}
.project-training>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.project-training>header span{color:#438063;font-size:10px;font-weight:900;letter-spacing:.12em}.project-training>header h2{margin:5px 0 0;font-size:23px}
.project-training>header>button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:23px;cursor:pointer}
.project-training-progress{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:14px;margin:20px 0 14px;color:#567063}
.project-training-progress>i{height:8px;border-radius:999px;background:#e0ebe3;overflow:hidden}.project-training-progress>i>b{display:block;height:100%;border-radius:inherit;background:#35a66b;transition:width .25s ease}.project-training-progress>strong{color:#207749}
.project-question-card{padding:25px;border:1px solid #d8e5da;border-radius:15px;background:linear-gradient(145deg,#f7fbf8,#f0f7f2)}
.project-question-card>span{display:inline-block;padding:5px 10px;border-radius:999px;background:#dfefe4;color:#347456;font-size:11px;font-weight:900}
.project-question-card>h3{margin:18px 0 20px;font-size:20px;line-height:1.55}
.project-question-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.project-question-options>button{min-height:50px;padding:10px 14px;border:1px solid #cbdccf;border-radius:11px;background:#fff;color:#365648;font-size:14px;text-align:left;cursor:pointer}
.project-question-options>button:hover{border-color:#68ad80}.project-question-options>button.selected{border:2px solid #29965c;background:#e5f5ea;color:#176a40;font-weight:800}.project-question-options>button.correct{border-color:#29965c;background:#dff3e6;color:#176a40}.project-question-options>button.wrong{border-color:#d78670;background:#fff0eb;color:#9c422f}
.project-question-feedback{margin-top:14px;padding:14px 16px;border-radius:11px}.project-question-feedback.correct{background:#e3f5e9;color:#1c7947}.project-question-feedback.error{background:#fff0eb;color:#9e4631}.project-question-feedback p{margin:5px 0 0;color:#536b5e}
.project-training>footer{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.project-training>footer button{min-height:43px;padding:0 17px;border:1px solid #a7c9b1;border-radius:10px;background:#fff;color:#207649;font-weight:900;cursor:pointer}.project-training>footer #submitProjectAnswer,.project-training>footer #nextProjectQuestion{border-color:#218252;background:#218252;color:#fff}
.project-training-result{grid-column:1/-1;padding:25px;border-radius:13px;background:#e6f4ea;text-align:center}.project-training-result b{color:#20784a;font-size:23px}.project-training-result p{margin:8px 0 0;color:#60756a}
@media(max-width:1050px){.project-workbench .project-stages article{grid-template-columns:44px 1fr}.project-workbench .project-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:800px){.commerce-page-intro span{font-size:23px}.export-flow-card,.project-workbench,.project-training{padding:19px 14px;border-left-width:4px}.export-flow{scroll-snap-type:x proximity}.export-flow button{scroll-snap-align:start;min-height:44px;padding:0 17px}.project-workbench>header{align-items:flex-start;flex-direction:column}.project-workbench .project-stages article{grid-template-columns:38px 1fr;padding:15px 12px}.project-workbench .project-stages article>b{width:34px;height:34px}.project-workbench .project-actions{grid-column:1/-1;justify-content:flex-start;padding-left:53px}.project-stage-copy p{font-size:12px}#commerce .exam-preview{display:grid}.project-training-progress{grid-template-columns:auto auto}.project-training-progress>i{grid-column:1/-1;grid-row:2}.project-question-card{padding:19px 14px}.project-question-options{grid-template-columns:1fr}.project-training>footer{display:grid;grid-template-columns:1fr 1fr}.project-training>footer button{padding:0 8px}}
@media(prefers-reduced-motion:reduce){.export-flow button,.project-workbench .project-stages article{transition:none}.export-flow button:hover,.project-workbench .project-stages article:hover{transform:none}}

/* Keep long bilingual host phrases inside their cards on narrow desktop layouts. */
.livestream-phrases>div{grid-template-columns:repeat(2,minmax(0,1fr))}
.livestream-phrases>div button{min-width:0;max-width:100%;white-space:normal;overflow:hidden}
.livestream-phrases button span,.livestream-phrases button small{display:block;width:100%;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.live-quick-input{grid-template-columns:minmax(0,1fr) auto auto}.live-quick-mic{border:1px solid #cfe0d3!important;background:#edf6f0!important;color:#176b42!important;white-space:nowrap}.live-quick-mic.recording{border-color:#b54b39!important;background:#b54b39!important;color:#fff!important}.live-quick-mic:disabled{opacity:.65}.live-quick-voice-status{min-height:20px;margin-top:7px;color:var(--muted);font-size:12px}
@media(max-width:800px){.live-quick-input{grid-template-columns:1fr 1fr}.live-quick-input input{grid-column:1/-1}.live-quick-input button{padding:0 10px}.live-quick-voice-status{margin-top:8px}}

/* Reference-aligned cross-border livestream sub-pages. */
.live-tab-panel{display:none;margin-top:18px;padding:24px;border:1px solid #d7e3d8;border-radius:17px;background:#fff;box-shadow:0 7px 24px rgba(35,72,48,.05)}.live-tab-panel.active{display:block;animation:livePanelIn .22s ease}@keyframes livePanelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.live-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.live-panel-heading>div{display:flex;align-items:center;gap:10px}.live-panel-heading h3,.live-panel-heading p{margin:0}.live-panel-heading h3 small{display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:600}.live-panel-heading p{max-width:480px;color:var(--muted);font-size:12px;line-height:1.7}.live-panel-heading>strong{padding:6px 10px;border-radius:999px;background:#eff6f1;color:#22784b}
.live-phrase-stages{display:grid;gap:11px}.live-phrase-stage{overflow:hidden;border:1px solid #e2e6e1;border-radius:13px;background:#fff}.live-phrase-stage summary{display:flex;align-items:center;gap:11px;padding:14px 16px;background:#fff8f5;cursor:pointer;list-style:none}.live-phrase-stage summary::-webkit-details-marker{display:none}.live-phrase-stage summary>b{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:#d75b3e;color:#fff}.live-phrase-stage summary span{font-weight:900}.live-phrase-stage summary em{margin-left:auto;color:var(--muted);font-size:12px;font-style:normal}.live-phrase-stage>div{padding:5px 16px 10px}.live-phrase-stage>div button{display:grid;width:100%;grid-template-columns:25px minmax(0,1fr) auto;gap:11px;align-items:flex-start;padding:12px 8px;border:0;border-top:1px dashed #dfe5df;background:#fff;text-align:left;white-space:normal;cursor:pointer}.live-phrase-stage>div button:first-child{border-top:0}.live-phrase-stage>div button>i{display:grid;place-items:center;width:23px;height:23px;border-radius:999px;background:#fff0ea;color:#c65137;font-style:normal}.live-phrase-stage>div button span,.live-phrase-stage>div button small{display:block;overflow-wrap:anywhere}.live-phrase-stage>div button small{margin-top:4px;color:var(--muted);font-weight:500}
.live-sim-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:16px}.live-sim-stage{padding:22px;border-radius:15px;background:#18261e;color:#eef6f1}.live-sim-stage header{display:flex;align-items:center;gap:8px;color:#9eb3a6;font-size:12px}.live-sim-stage header i{width:9px;height:9px;border-radius:50%;background:#d75b3e;animation:liveBlink 1.2s infinite}.live-sim-stage header b{margin-left:auto}.live-sim-stage h4{margin:28px 0 8px;color:#fff}.live-sim-stage p{font-size:17px;line-height:1.65}.live-sim-stage small{color:#9eb3a6;line-height:1.7}@keyframes liveBlink{50%{opacity:.25}}#liveSimForm{display:flex;flex-direction:column;gap:12px}#liveSimForm label{font-weight:800}#liveSimAnswer{display:block;width:100%;min-height:145px;margin-top:8px;padding:14px;border:1px solid #d8e1da;border-radius:12px;font:inherit;resize:vertical}#liveSimForm>div{display:flex;justify-content:flex-end;gap:9px}#liveSimForm button,.live-sim-feedback button{padding:10px 14px;border:1px solid #b8cdbd;border-radius:9px;background:#fff;color:#21784b;font-weight:800;cursor:pointer}.live-sim-feedback{grid-column:1/-1;padding:15px;border-radius:12px;background:#edf7f0}.live-sim-feedback p{margin:5px 0 9px}
.live-compliance-list{display:grid;gap:10px}.live-compliance-list article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:13px;padding:15px;border-left:4px solid #2f9e63;border-radius:10px;background:#f7faf8}.live-compliance-list article.warning{border-color:#e0922f;background:#fffaf0}.live-compliance-list article.danger{border-color:#d2553c;background:#fff5f2}.live-compliance-list article>b{align-self:start;padding:5px 8px;border-radius:7px;background:#e5f4ea;color:#237a4d;text-align:center}.live-compliance-list article.warning>b{background:#fff0d5;color:#a76a12}.live-compliance-list article.danger>b{background:#fbe2dc;color:#b34530}.live-compliance-list h4,.live-compliance-list p{margin:0}.live-compliance-list p{margin-top:4px;color:var(--muted);line-height:1.7}
.live-metric-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.live-metric-cards article{padding:16px;border:1px solid #dde5de;border-radius:12px;background:#f8fbf8}.live-metric-cards article b,.live-metric-cards article span,.live-metric-cards article small{display:block}.live-metric-cards article b{color:#c65239}.live-metric-cards article span{margin:5px 0;font-weight:800}.live-metric-cards article small{color:var(--muted)}.live-debrief-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:10px;align-items:end;margin-top:17px}.live-debrief-form label{font-size:12px;font-weight:800}.live-debrief-form input{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #d7e1d9;border-radius:9px}.live-debrief-result{margin-top:14px;padding:16px;border-radius:12px;background:#eef7f0}.live-debrief-result p{margin:6px 0 0;line-height:1.7}
.live-job-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.live-job-cards article{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:16px;border:1px solid #dce5dd;border-radius:12px}.live-job-cards article>b{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e6f4ea;color:#1f7b4b}.live-job-cards h4,.live-job-cards p{margin:0}.live-job-cards p{margin-top:4px;color:#4f6659}.live-job-cards small{display:block;margin-top:7px;color:var(--muted)}.live-practice-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:16px}.live-practice-list label{display:flex;gap:8px;padding:13px;border-radius:10px;background:#f5f8f5;cursor:pointer}.live-practice-list span,.live-practice-list small{display:block}.live-practice-list small{margin-top:4px;color:var(--muted)}.live-reset-button{margin-top:12px;border:0;background:transparent;color:#287a50;font-weight:800;cursor:pointer}
.live-quiz-card{padding:20px;border:1px solid #dce5dd;border-radius:14px;background:#fafcfa}.live-quiz-card>span{color:#c5533a;font-size:12px;font-weight:900}.live-quiz-card>h3{margin:10px 0 18px}.live-quiz-card>div:nth-of-type(1){display:grid;grid-template-columns:1fr 1fr;gap:9px}.live-quiz-card [data-live-quiz-option]{padding:13px;border:1px solid #d5e0d7;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.live-quiz-card [data-live-quiz-option].selected{border-color:#24915b;background:#e7f5ec;color:#176d42;font-weight:800}#liveQuizInput{width:100%;padding:13px;border:1px solid #d5e0d7;border-radius:10px}#liveQuizFeedback{margin-top:13px;padding:13px;border-radius:10px}#liveQuizFeedback.correct{background:#e5f5ea;color:#176d42}#liveQuizFeedback.wrong{background:#fff0eb;color:#9d422e}.live-quiz-card footer{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}.live-quiz-card footer button{padding:10px 14px;border:1px solid #b8cdbd;border-radius:9px;background:#fff;color:#21784b;font-weight:800;cursor:pointer}.live-quiz-card footer #liveQuizSubmit,.live-quiz-card footer #liveQuizNext{background:#248a56;color:#fff}
@media(max-width:1050px){.live-debrief-form{grid-template-columns:1fr 1fr}.live-debrief-form button{grid-column:1/-1}.live-practice-list{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:800px){.live-tab-panel{padding:17px 14px}.live-panel-heading{flex-direction:column}.live-sim-layout,.live-job-cards{grid-template-columns:1fr}.live-metric-cards{grid-template-columns:1fr 1fr}.live-practice-list{grid-template-columns:1fr}.live-quiz-card>div:nth-of-type(1){grid-template-columns:1fr}.live-compliance-list article{grid-template-columns:58px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.live-tab-panel.active{animation:none}.live-sim-stage header i{animation:none}}

/* Keep the livestream vocabulary filters aligned as equal-size navigation tiles. */
.live-vocab-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;overflow:visible;padding:0}
.live-vocab-filters button{display:flex;align-items:center;justify-content:center;width:100%;height:62px;min-width:0;padding:8px 12px;border-radius:14px;line-height:1.35;text-align:center;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1050px){.live-vocab-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.live-vocab-filters{grid-template-columns:1fr}.live-vocab-filters button{height:56px}}
@media(max-width:420px){.system-topbar .brand.light{font-size:16px}.brand .brand-en{margin-left:5px;font-size:.68em;letter-spacing:.035em}}

/* Automatic bilingual field feedback for the livestream script composer. */
.live-field-translation{display:block;min-height:18px;margin-top:7px;color:#278052;font-size:11px;font-weight:700;line-height:1.45}.live-field-translation.loading{color:#7a7469}.live-field-translation.error,.live-translation-error{color:#a44232}.live-script-result article>small{display:block;margin-top:9px;padding-top:9px;border-top:1px dashed #d5e1d8;color:#5d7165;font-size:11px;line-height:1.65}.livestream-builder form button:disabled{cursor:wait;opacity:.7}

/* Translation standards */
.translation-criteria{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:14px 0 20px;padding:18px 22px;border:1px solid #c9ded0;border-left:5px solid #23945e;border-radius:18px;background:linear-gradient(120deg,#f7fbf8 0%,#edf7ef 58%,#f8f4e8 100%);box-shadow:0 10px 28px rgba(31,91,64,.07)}
.translation-criteria>div{display:grid;gap:4px}.translation-criteria-kicker{color:#27805a;font-size:12px;font-weight:800;letter-spacing:.12em}.translation-criteria strong{color:#173c2d;font-size:19px}.translation-criteria ul{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0;padding:0;list-style:none}.translation-criteria li{position:relative;padding:9px 14px 9px 30px;border:1px solid rgba(35,148,94,.18);border-radius:999px;background:rgba(255,255,255,.82);color:#285745;font-size:14px;font-weight:750;white-space:nowrap}.translation-criteria li::before{content:"✓";position:absolute;left:12px;color:#23945e;font-weight:900}
@media(max-width:700px){.translation-criteria{align-items:flex-start;flex-direction:column;padding:16px}.translation-criteria ul{justify-content:flex-start}.translation-criteria strong{font-size:17px}.translation-criteria li{font-size:13px}}
.live-speech-control{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.live-speech-control label{display:flex;align-items:center;gap:6px;color:#365f4b;font-weight:800}.live-speech-control select{padding:7px 9px;border:1px solid #cddbd0;border-radius:9px;background:#fff;color:#245c40;font:inherit;font-weight:800}@media(max-width:800px){.live-speech-control{width:100%;justify-content:space-between}}

/* Immersive simulated cross-border live room. */
.live-room-statusbar{display:flex;align-items:center;gap:16px;margin-bottom:14px;padding:10px 14px;border-radius:11px;background:#eef5f0;color:#52695c;font-size:12px}.live-room-statusbar span{display:flex;align-items:center;gap:7px;color:#c54b37;font-weight:900}.live-room-statusbar span i{width:8px;height:8px;border-radius:50%;background:#e6533c;box-shadow:0 0 0 5px rgba(230,83,60,.12);animation:liveBlink 1.2s infinite}.live-room-statusbar b{color:#244e39}.live-room-statusbar em{margin-left:auto;font-style:normal}.live-sim-stage{display:flex;min-height:510px;flex-direction:column;padding:20px}.live-sim-buyer{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;margin-top:20px}.live-sim-buyer>strong{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#d9f1df,#8cc8a1);color:#173f2c;font-size:18px}.live-sim-buyer h4{margin:0;color:#fff;font-size:15px}.live-sim-buyer small{display:block;margin-top:3px;color:#9eb3a6}.live-sim-buyer em{padding:4px 8px;border-radius:999px;background:#d9533c;color:#fff;font-size:10px;font-style:normal}.live-sim-question{margin-top:18px;padding:15px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055)}.live-sim-question>span{color:#e8866f;font-size:9px;font-weight:900;letter-spacing:.14em}.live-sim-question p{margin:7px 0 6px;color:#fff;font-size:19px;line-height:1.5}.live-sim-question small{color:#aabdb1;line-height:1.6}.live-sim-comments{display:grid;gap:5px;margin-top:14px}.live-sim-comments p{margin:0;color:#b9c9bf;font-size:11px;line-height:1.5}.live-sim-comments i{display:inline-block;width:5px;height:5px;margin-right:7px;border-radius:50%;background:#58b67d;vertical-align:middle}.live-sim-product-card{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;margin-top:auto;padding:11px;border-radius:11px;background:#f6faf7;color:#173f2c}.live-sim-product-card>span{font-size:22px}.live-sim-product-card b,.live-sim-product-card small{display:block}.live-sim-product-card small{margin-top:2px;color:#6e7f75;font-size:10px}.live-sim-product-card>strong{color:#c75338;font-size:13px}.live-sim-form-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.live-sim-form-heading b,.live-sim-form-heading small{display:block}.live-sim-form-heading small{margin-top:4px;color:var(--muted);font-size:11px}.live-sim-form-heading label{display:flex;align-items:center;gap:7px;font-size:11px}.live-sim-form-heading select{padding:7px;border:1px solid #cfddd2;border-radius:8px;background:#fff}.live-sim-answer-label{margin-top:2px}.live-sim-voice-row{display:flex;align-items:center;gap:10px}.live-sim-voice-row button{min-width:122px}.live-sim-voice-row button.recording{border-color:#bd4e3b!important;background:#bd4e3b!important;color:#fff!important}.live-sim-voice-row span{color:var(--muted);font-size:11px}.live-sim-form-actions{margin-top:auto}.live-sim-feedback>div{display:flex;align-items:center;justify-content:space-between}.live-sim-feedback>div span{color:#5d7265;font-size:11px}.live-sim-feedback p{line-height:1.7}.live-sim-feedback>button{float:right}.live-sim-form-actions .primary:disabled{opacity:.65;cursor:wait}@media(max-width:800px){.live-room-statusbar{flex-wrap:wrap}.live-room-statusbar em{width:100%;margin-left:0}.live-sim-stage{min-height:480px}.live-sim-form-heading{flex-direction:column}.live-sim-voice-row{align-items:stretch;flex-direction:column}.live-sim-voice-row button{width:100%;min-height:44px}.live-sim-form-actions{display:grid!important;grid-template-columns:1fr 1fr}.live-sim-form-actions button{min-height:44px;padding:8px!important}.live-sim-feedback>button{float:none;width:100%}}
.live-sim-sample{position:relative;padding:15px 16px;border:1px solid #c9ddcf;border-left:4px solid #2a9961;border-radius:12px;background:linear-gradient(135deg,#f3faf5,#edf7f1);box-shadow:0 8px 22px rgba(30,92,58,.07)}.live-sim-sample header{display:flex;align-items:center;justify-content:space-between;gap:12px}.live-sim-sample header>span{color:#1d7549;font-size:12px;font-weight:900;letter-spacing:.08em}.live-sim-sample header>div{display:flex;align-items:center;gap:7px}.live-sim-sample header button{display:grid!important;place-items:center;width:28px;height:28px;padding:0!important;border:0!important;border-radius:50%!important;background:#dfeee4!important;color:#326347!important;font-size:18px!important;line-height:1}.live-sim-sample header button.copy{display:flex!important;width:auto;min-width:66px;padding:0 11px!important;border:1px solid #bbd7c4!important;border-radius:999px!important;background:#fff!important;color:#1c7548!important;font-size:11px!important;font-weight:850!important}.live-sim-sample p{margin:9px 0 7px;color:#173f2c;font-size:14px;font-weight:750;line-height:1.7}.live-sim-sample small{display:block;color:#667a6e;font-size:10px;line-height:1.55}.live-sim-sample.hidden{display:none!important}@media(max-width:800px){.live-sim-sample header button{min-height:36px}.live-sim-sample header button.copy{min-width:74px}}

/* Three-dimension score board for simulated live-room presentation. */
.live-sim-feedback{padding:20px;background:#f5f9f6}.live-score-summary{display:grid!important;grid-template-columns:1fr auto auto;gap:18px;align-items:center;padding-bottom:16px;border-bottom:1px solid #d9e5dc}.live-score-summary>span{color:#284d39;font-size:15px;font-weight:900}.live-score-summary>strong{color:#143f2d;font-size:44px;line-height:1}.live-score-summary>strong small,.live-score-grid article>strong small{margin-left:3px;font-size:13px}.live-score-summary>em{color:#60756a;font-size:12px;font-style:normal}.live-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.live-score-grid article{position:relative;min-width:0;padding:16px;border:1px solid;border-radius:13px;background:#fff}.live-score-grid article header{display:flex;align-items:center;justify-content:space-between;gap:8px}.live-score-grid article header span{font-weight:900}.live-score-grid article header b{padding:3px 7px;border-radius:999px;background:#a85b20;color:#fff;font-size:9px}.live-score-grid article>strong{display:block;margin:13px 0 9px;font-size:38px;line-height:1}.live-score-grid article p{min-height:42px;margin:0;color:#52675c;font-size:11px;line-height:1.6}.live-score-grid .fluency{border-color:#9ed6b1;color:#188451;background:#f0faf4}.live-score-grid .terminology{border-color:#9ec7e8;color:#2879b7;background:#f1f7fc}.live-score-grid .completeness{border-color:#f0c28f;color:#c46d17;background:#fff8ef}.live-score-grid article.weakest{box-shadow:0 0 0 3px currentColor inset}.live-training-advice{margin-top:15px;padding:13px 15px;border-left:4px solid #d77925;border-radius:8px;background:#fff7ec}.live-training-advice b{color:#9b5516}.live-training-advice p,.live-score-translation{margin:6px 0 0!important;color:#53685c;font-size:12px;line-height:1.65}.live-score-reference{margin-top:12px;padding:11px 13px;border:1px solid #d9e4db;border-radius:9px;background:#fff}.live-score-reference summary{color:#267a4e;font-weight:800;cursor:pointer}.live-score-reference p{margin:8px 0 0}.live-score-actions{display:flex!important;justify-content:flex-end!important;gap:9px;margin-top:14px}.live-score-actions button:last-child{border-color:#247e50;background:#247e50;color:#fff}
@media(max-width:800px){.live-score-summary{grid-template-columns:1fr auto}.live-score-summary>em{grid-column:1/-1}.live-score-grid{grid-template-columns:1fr}.live-score-grid article p{min-height:0}.live-score-actions{display:grid!important;grid-template-columns:1fr 1fr}.live-score-actions button{min-height:44px;padding:8px!important}}

/* Shadowing analysis and personal mistake review. */
.live-shadow-feedback{margin:18px 0;padding:18px;border:1px solid #cfe0d3;border-radius:14px;background:#f6faf7}.live-shadow-feedback>header{display:flex;align-items:center;justify-content:space-between;gap:18px}.live-shadow-feedback header span{color:#337d57;font-size:11px;font-weight:900;letter-spacing:.08em}.live-shadow-feedback h3{margin:4px 0 0;font-size:20px}.live-shadow-feedback header>strong{font-size:42px;line-height:1}.live-shadow-feedback header>strong small{margin-left:3px;font-size:12px}.live-shadow-feedback header>strong.excellent{color:#178552}.live-shadow-feedback header>strong.progressing{color:#c9781f}.live-shadow-feedback header>strong.practice{color:#c24e3c}.live-shadow-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.live-shadow-metrics article{padding:11px 13px;border-radius:10px;background:#fff}.live-shadow-metrics span,.live-shadow-metrics b{display:block}.live-shadow-metrics span{color:#687b70;font-size:10px}.live-shadow-metrics b{margin-top:4px;color:#214f38;font-size:17px}.live-shadow-feedback>p{margin:7px 0;color:#4e6558;font-size:12px;line-height:1.6}.live-shadow-feedback>aside{margin-top:11px;padding:10px 12px;border-left:3px solid #e08a36;background:#fff8ef;color:#83531f;font-size:12px;line-height:1.65}.live-mistake-vocabulary{margin:18px 0 20px;padding:18px;border:1px solid #edd9bd;border-radius:15px;background:#fffaf2}.live-mistake-vocabulary>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.live-mistake-vocabulary header span{color:#b46b20;font-size:10px;font-weight:900;letter-spacing:.1em}.live-mistake-vocabulary h3{margin:4px 0 0;font-size:20px}.live-mistake-vocabulary header>strong{color:#a75c18;font-size:12px}.live-mistake-vocabulary>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.live-mistake-vocabulary article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px;border:1px solid #eadbc5;border-radius:11px;background:#fff}.live-mistake-vocabulary h4{margin:0;color:#253f31;font-size:16px}.live-mistake-vocabulary article small{display:block;margin-top:2px;color:#7b857e}.live-mistake-vocabulary article p{margin:6px 0 0;color:#397154;font-weight:700}.live-mistake-vocabulary dl{display:grid;grid-template-columns:auto auto;gap:2px 7px;margin:0;font-size:10px}.live-mistake-vocabulary dt{color:#8a948d}.live-mistake-vocabulary dd{margin:0;color:#3f594a;font-weight:900}.live-mistake-vocabulary footer{display:flex;grid-column:1/-1;gap:7px}.live-mistake-vocabulary footer button{padding:7px 9px;border:1px solid #d5dfd6;border-radius:8px;background:#fff;color:#337450;font-size:10px;font-weight:800;cursor:pointer}.live-mistake-vocabulary footer button:nth-child(2){border-color:#d48231;background:#fff6ea;color:#a85c19}.live-mistake-vocabulary footer button:last-child{margin-left:auto;color:#9a5043}.live-mistake-empty{margin:14px 0 0;padding:14px;border:1px dashed #e3cfb2;border-radius:10px;color:#7c7163;font-size:12px;line-height:1.65}
@media(max-width:800px){.live-shadow-metrics{grid-template-columns:1fr 1fr 1fr}.live-mistake-vocabulary>div{grid-template-columns:1fr}}@media(max-width:480px){.live-shadow-feedback>header{align-items:flex-start}.live-shadow-metrics{grid-template-columns:1fr}.live-mistake-vocabulary{padding:14px}.live-mistake-vocabulary footer{display:grid;grid-template-columns:1fr 1fr}.live-mistake-vocabulary footer button:last-child{grid-column:1/-1;margin-left:0}}

/* One-click export quotation and pricing analysis. */
.live-quote-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:18px;border:1px solid #dbe6dd;border-radius:14px;background:#f8fbf8}.live-quote-form label{position:relative;color:#254735;font-size:12px;font-weight:900}.live-quote-form input,.live-quote-form select{display:block;width:100%;height:44px;margin-top:7px;padding:0 12px;border:1px solid #cfddd2;border-radius:10px;background:#fff;color:#203f30;font:inherit;font-size:13px}.live-quote-form label small{position:absolute;right:12px;bottom:13px;color:#6d8175}.live-quote-form button{grid-column:1/-1;min-height:48px;border:0;border-radius:10px;background:#248f59;color:#fff;font:inherit;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(36,143,89,.16)}.live-quote-result{margin-top:18px}.live-quote-result.empty{display:grid;min-height:120px;place-items:center;border:1px dashed #cddbd0;border-radius:13px;color:var(--muted)}.live-quote-result>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}.live-quote-result>header span{color:#c65339;font-size:10px;font-weight:900;letter-spacing:.12em}.live-quote-result>header h3{margin:4px 0 0;font-size:20px}.live-quote-result>header>b{max-width:360px;padding:8px 11px;border-radius:9px;background:#fff4e9;color:#a85d1d;font-size:12px;text-align:right}.live-quote-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.live-quote-summary article{padding:15px;border:1px solid #d9e4db;border-radius:12px;background:#fff}.live-quote-summary span,.live-quote-summary strong,.live-quote-summary small{display:block}.live-quote-summary span{color:#607469;font-size:10px}.live-quote-summary strong{margin:7px 0 4px;color:#1e6f47;font-size:23px}.live-quote-summary article:nth-child(2) strong{color:#287db0}.live-quote-summary article:nth-child(3) strong{color:#c06b1b}.live-quote-summary small{color:#7a8b81;font-size:10px}.live-quote-analysis{display:grid;grid-template-columns:1.2fr .8fr;gap:12px;margin-top:12px}.live-quote-analysis>section{padding:16px;border:1px solid #dbe4dc;border-radius:12px;background:#fff}.live-quote-analysis h4{margin:0 0 13px}.live-cost-row{display:grid;grid-template-columns:70px minmax(60px,1fr) 120px;gap:10px;align-items:center;margin:9px 0;font-size:11px}.live-cost-row>i{overflow:hidden;height:7px;border-radius:99px;background:#edf1ed}.live-cost-row>i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#35a66b,#8bc99f)}.live-cost-row>strong{text-align:right}.live-quote-analysis footer{display:flex;justify-content:space-between;margin-top:13px;padding-top:12px;border-top:1px dashed #d6e0d7;color:#234d36}.live-quote-risks p{display:flex;gap:9px;align-items:flex-start;margin:8px 0;padding:9px;border-radius:9px;background:#fff8ee;color:#765025;font-size:11px;line-height:1.55}.live-quote-risks p.primary{background:#edf7f0;color:#286446}.live-quote-risks p b{flex:none;padding:2px 5px;border-radius:5px;background:#ffe6bf;color:#9b5b13;font-size:9px}.live-quote-risks p.primary b{background:#d9efe0;color:#217248}.live-bilingual-quote{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.live-bilingual-quote article{padding:15px;border:1px solid #dbe4dc;border-radius:12px;background:#f8faf8}.live-bilingual-quote header{display:flex;align-items:center;justify-content:space-between;gap:10px}.live-bilingual-quote button{padding:6px 9px;border:1px solid #bcd1c1;border-radius:7px;background:#fff;color:#26784d;font-size:10px;font-weight:800;cursor:pointer}.live-bilingual-quote p{margin:11px 0 0;color:#3d5648;font-size:12px;line-height:1.75}
@media(max-width:1050px){.live-quote-form{grid-template-columns:repeat(2,minmax(0,1fr))}.live-quote-summary{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.live-quote-form,.live-quote-summary,.live-quote-analysis,.live-bilingual-quote{grid-template-columns:1fr}.live-quote-result>header{flex-direction:column}.live-quote-result>header>b{max-width:none;text-align:left}.live-cost-row{grid-template-columns:65px minmax(45px,1fr) 105px}.live-quote-summary strong{font-size:21px}}

/* Present shadowing analysis as a focused modal dialog. */
body.live-modal-open{overflow:hidden}.live-shadow-feedback{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;margin:0;padding:24px;background:rgba(11,35,24,.58);backdrop-filter:blur(4px)}.live-shadow-feedback.hidden{display:none}.live-shadow-dialog{position:relative;width:min(620px,100%);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:26px;border:1px solid #cfe0d3;border-radius:18px;background:#f6faf7;box-shadow:0 24px 70px rgba(5,28,17,.28);animation:liveShadowDialogIn .2s ease}.live-shadow-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:38px}.live-shadow-dialog header span{color:#337d57;font-size:11px;font-weight:900;letter-spacing:.08em}.live-shadow-dialog h3{margin:4px 0 0;font-size:24px}.live-shadow-dialog header>strong{font-size:46px;line-height:1}.live-shadow-dialog header>strong small{margin-left:3px;font-size:12px}.live-shadow-dialog header>strong.excellent{color:#178552}.live-shadow-dialog header>strong.progressing{color:#c9781f}.live-shadow-dialog header>strong.practice{color:#c24e3c}.live-shadow-dialog>p{margin:9px 0;color:#4e6558;font-size:13px;line-height:1.65}.live-shadow-dialog>aside{margin-top:13px;padding:12px 14px;border-left:3px solid #e08a36;border-radius:7px;background:#fff8ef;color:#83531f;font-size:13px;line-height:1.65}.live-shadow-close{position:absolute;top:16px;right:16px;display:grid;width:34px;height:34px;place-items:center;border:1px solid #d3dfd5;border-radius:50%;background:#fff;color:#365c47;font-size:23px;line-height:1;cursor:pointer}.live-shadow-dialog>footer{display:flex;justify-content:flex-end;margin-top:18px}.live-shadow-confirm{padding:10px 18px;border:0;border-radius:9px;background:#268a56;color:#fff;font-weight:900;cursor:pointer}@keyframes liveShadowDialogIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.live-shadow-feedback{padding:14px}.live-shadow-dialog{max-height:calc(100vh - 28px);padding:20px 16px}.live-shadow-dialog>header{align-items:flex-start;padding-right:34px}.live-shadow-dialog header>strong{font-size:38px}.live-shadow-dialog>footer,.live-shadow-confirm{width:100%}.live-shadow-confirm{min-height:44px}}
@media(prefers-reduced-motion:reduce){.live-shadow-dialog{animation:none}}

/* Clean, equal-height vocabulary cards across all 19 livestream groups. */
.live-vocab-group{border-color:#d9e3db;background:#fbf8f5;box-shadow:0 3px 12px rgba(35,72,48,.035)}.live-vocab-group summary{min-height:58px;padding:15px 19px}.live-vocab-group summary span{font-size:14px;letter-spacing:.01em}.live-vocab-group summary em{min-width:48px;text-align:right}.live-vocab-group>div{align-items:stretch;gap:14px;padding:2px 18px 18px}.live-vocab-group article{position:relative;display:flex;min-height:258px;flex-direction:column;padding:18px 16px 16px;border-color:#dce4dd;border-left-width:4px;box-shadow:0 5px 15px rgba(44,73,53,.04);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.live-vocab-group article:hover{border-color:#c8d8cb;border-left-color:#d85a3d;box-shadow:0 9px 22px rgba(44,73,53,.08);transform:translateY(-2px)}.live-vocab-index{position:absolute;right:14px;top:13px;color:#c9d2cc;font-size:10px;font-style:normal;font-weight:900;letter-spacing:.06em}.live-vocab-group article header{min-height:46px;align-items:flex-start;padding-right:25px}.live-vocab-group article h4{display:flex;min-width:0;flex-direction:column;gap:4px;padding-right:4px;line-height:1.2}.live-vocab-group article h4 span{overflow-wrap:anywhere}.live-vocab-group article h4 small{min-height:15px;margin-left:0;overflow-wrap:anywhere;line-height:1.35}.live-vocab-group article header button{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:1px solid #d4e4d8;border-radius:9px;background:#eef7f0;transition:.18s ease}.live-vocab-group article header button:hover{border-color:#78b58e;background:#dff1e5;transform:scale(1.04)}.live-vocab-group article>strong{min-height:24px;margin-top:7px;font-size:14px}.live-vocab-group article>p{display:flex;min-height:68px;flex:1;align-items:flex-start;margin:10px 0 14px;padding:12px;overflow-wrap:anywhere;font-size:12px;line-height:1.65}.live-vocab-group article footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.live-vocab-group article footer button{display:flex;min-width:0;min-height:40px;align-items:center;justify-content:center;padding:8px;border-radius:9px;font-size:11px;line-height:1.3;text-align:center;white-space:normal}.live-vocab-group article footer button.saved{border-color:#8fc5a1;background:#e6f4ea;color:#176f44}
@media(max-width:1050px){.live-vocab-group article{min-height:250px}}
@media(max-width:800px){.live-vocab-group summary{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;padding:14px}.live-vocab-group>div{padding:2px 12px 12px}.live-vocab-group article{min-height:0;padding:16px 14px}.live-vocab-group article>p{min-height:0}.live-vocab-group article:hover{transform:none}}
@media(max-width:380px){.live-vocab-group article footer{grid-template-columns:1fr}.live-vocab-group article footer button{min-height:42px}}

/* Three-level phrase upgrade coach: pass, job-ready, deal-ready. */
.live-phrase-coach{margin-bottom:18px;padding:20px;border:1px solid #cfe0d3;border-radius:15px;background:linear-gradient(135deg,#f7fbf8,#fffaf5)}.live-phrase-coach>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.live-phrase-coach>header span{color:#c35239;font-size:10px;font-weight:900;letter-spacing:.12em}.live-phrase-coach>header h3{margin:5px 0 0;font-size:21px}.live-phrase-coach>header p{max-width:470px;margin:0;color:#64776c;font-size:12px;line-height:1.65}.live-phrase-coach form{margin-top:16px}.live-phrase-coach form>label{display:block;margin-bottom:7px;color:#284c39;font-size:12px;font-weight:900}.live-phrase-coach form>div{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px}.live-phrase-coach textarea{width:100%;min-height:82px;padding:12px 14px;border:1px solid #cfdcd2;border-radius:10px;background:#fff;color:#253e31;font:inherit;line-height:1.6;resize:vertical}.live-phrase-coach form button{border:0;border-radius:10px;background:#258c58;color:#fff;font-weight:900;cursor:pointer;box-shadow:0 7px 17px rgba(37,140,88,.16)}.live-phrase-coach-result:empty{display:none}.live-coach-context{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.live-coach-context span{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d5e2d8;border-radius:999px;background:#fff;color:#486153;font-size:11px}.live-coach-context b{color:#25784d}.live-coach-tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:12px}.live-coach-tiers article{display:flex;min-width:0;min-height:285px;flex-direction:column;padding:15px;border:1px solid #d9e3db;border-top:4px solid #7aab8c;border-radius:12px;background:#fff}.live-coach-tiers article.tier-2{border-top-color:#3c87bf}.live-coach-tiers article.tier-3{border-top-color:#d46a3f;background:#fffdfb}.live-coach-tiers article>header{display:flex;align-items:center;gap:9px}.live-coach-tiers article>header i{display:grid;width:31px;height:31px;place-items:center;border-radius:9px;background:#e6f3ea;color:#23774b;font-size:11px;font-style:normal;font-weight:900}.live-coach-tiers .tier-2>header i{background:#e7f1f9;color:#2875ae}.live-coach-tiers .tier-3>header i{background:#fdebe4;color:#ba4f2f}.live-coach-tiers article>header span,.live-coach-tiers article>header small{display:block}.live-coach-tiers article>header span{font-weight:900}.live-coach-tiers article>header small{margin-top:2px;color:#718278;font-size:9px;letter-spacing:.08em}.live-coach-tiers article>p{flex:1;margin:15px 0 10px;color:#203e2e;font-size:14px;font-weight:800;line-height:1.7}.live-coach-tiers article>aside{min-height:56px;padding:9px;border-radius:8px;background:#f4f7f4;color:#5c6f64;font-size:10px;line-height:1.55}.live-coach-tiers article>footer{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.live-coach-tiers article>footer button{min-height:36px;border:1px solid #c5d8ca;border-radius:8px;background:#fff;color:#26784d;font-size:10px;font-weight:900;cursor:pointer}.live-coach-tiers article>footer button:last-child{border-color:#2a8857;background:#2a8857;color:#fff}.live-coach-path{margin-top:12px;padding:15px;border-radius:12px;background:#183b2a;color:#fff}.live-coach-path header span{color:#88c5a0;font-size:9px;font-weight:900;letter-spacing:.13em}.live-coach-path h4{margin:4px 0 12px;font-size:15px}.live-coach-path>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.live-coach-path>div span{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;background:rgba(255,255,255,.09);font-size:11px}.live-coach-path>div span b{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;background:#66b286;font-size:9px}.live-coach-path>div i{color:#83ab94;font-style:normal}.live-coach-path>p{margin:12px 0 0;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);color:#bcd0c3;font-size:10px;line-height:1.55}
@media(max-width:900px){.live-coach-tiers{grid-template-columns:1fr}.live-coach-tiers article{min-height:0}.live-coach-tiers article>aside{min-height:0}}
@media(max-width:600px){.live-phrase-coach{padding:16px 13px}.live-phrase-coach>header{flex-direction:column;gap:8px}.live-phrase-coach form>div{grid-template-columns:1fr}.live-phrase-coach form button{min-height:45px}.live-coach-tiers article>p{font-size:13px}.live-coach-path>div{align-items:stretch;flex-direction:column}.live-coach-path>div span{width:100%}.live-coach-path>div i{align-self:center;transform:rotate(90deg)}}

/* Stronger emphasis for the personal mistake-review area. */
.live-mistake-vocabulary{position:relative;overflow:hidden;border:2px solid #e5a044;background:linear-gradient(135deg,#fff8eb 0%,#fffdf9 58%,#fff2dc 100%);box-shadow:0 12px 30px rgba(180,103,23,.13)}.live-mistake-vocabulary:before{content:"";position:absolute;left:0;top:0;width:7px;height:100%;background:linear-gradient(180deg,#e47b22,#f0b443)}.live-mistake-vocabulary>header{margin:-18px -18px 16px;padding:18px 22px 16px 26px;border-bottom:1px solid #f0c989;background:linear-gradient(90deg,#fff0d5,#fff8eb)}.live-mistake-vocabulary header span{color:#b64f0f;font-size:11px}.live-mistake-vocabulary h3{color:#71320f;font-size:22px}.live-mistake-vocabulary header>strong{padding:7px 12px;border-radius:999px;background:#d9601b;color:#fff;font-size:12px;box-shadow:0 5px 12px rgba(190,78,14,.2)}.live-mistake-vocabulary article{border-color:#efc27d;border-left:4px solid #e27722;background:#fffefa;box-shadow:0 6px 16px rgba(145,85,25,.07)}.live-mistake-vocabulary h4{color:#70350f}.live-mistake-vocabulary article p{color:#b45818}.live-mistake-vocabulary dd{color:#8b4518}.live-mistake-vocabulary footer button{border-color:#cbdccf}.live-mistake-vocabulary footer button:nth-child(2){border-color:#d9671d;background:#d9671d;color:#fff;box-shadow:0 4px 10px rgba(203,89,20,.16)}.live-mistake-vocabulary footer button:last-child{border-color:#e8c4b7;background:#fff6f1;color:#a7442b}.live-mistake-empty{border-color:#e3aa58;background:rgba(255,255,255,.58);color:#855022}
@media(max-width:480px){.live-mistake-vocabulary>header{margin:-14px -14px 14px;padding:16px 16px 14px 20px}.live-mistake-vocabulary h3{font-size:19px}.live-mistake-vocabulary header>strong{padding:6px 9px;font-size:10px}}

/* Bilingual voice input for the phrase upgrade coach. */
.live-phrase-coach form>.live-coach-input-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px}.live-phrase-coach form>.live-coach-voice-row{display:flex;grid-template-columns:none;align-items:center;gap:10px;margin-top:10px}.live-coach-voice-row label{display:flex;align-items:center;gap:7px;color:#365f4b;font-size:11px;font-weight:900}.live-coach-voice-row select{height:38px;padding:0 10px;border:1px solid #cddbd0;border-radius:8px;background:#fff;color:#245c40;font:inherit;font-weight:800}.live-phrase-coach form .live-coach-voice-row>button{min-width:126px;height:38px;padding:0 13px;border:1px solid #91bea0;border-radius:8px;background:#edf7f0;color:#24784d;font-weight:900;box-shadow:none;cursor:pointer}.live-phrase-coach form .live-coach-voice-row>button.recording{border-color:#c24f39;background:#c24f39;color:#fff}.live-phrase-coach form .live-coach-voice-row>button:disabled{cursor:wait;opacity:.65}.live-coach-voice-row>span{color:#6d7e74;font-size:10px}
@media(max-width:600px){.live-phrase-coach form>.live-coach-input-row{grid-template-columns:1fr}.live-phrase-coach form>.live-coach-voice-row{display:flex;align-items:stretch;flex-wrap:wrap}.live-coach-voice-row label{flex:1}.live-coach-voice-row select{flex:1}.live-phrase-coach form .live-coach-voice-row>button{flex:1;min-height:42px}.live-coach-voice-row>span{width:100%;line-height:1.5}}

/* Progressive visual hierarchy for the three phrase-upgrade levels. */
.live-coach-tiers article.tier-1{border-color:#afd7bd;border-top-color:#53a876;background:linear-gradient(145deg,#f4fbf6 0%,#e9f6ed 100%);box-shadow:0 8px 20px rgba(44,132,79,.08)}.live-coach-tiers article.tier-2{border-color:#aacde7;border-top-color:#3e8fc5;background:linear-gradient(145deg,#f3f9fd 0%,#e4f1fa 100%);box-shadow:0 9px 22px rgba(50,124,177,.1)}.live-coach-tiers article.tier-3{border-color:#efbd83;border-top-color:#dc762f;background:linear-gradient(145deg,#fff9f1 0%,#ffead4 100%);box-shadow:0 10px 24px rgba(190,99,29,.13)}.live-coach-tiers .tier-1>header i{background:#d5efde;color:#247548}.live-coach-tiers .tier-2>header i{background:#d8ebf8;color:#226fa7}.live-coach-tiers .tier-3>header i{background:#fbd7bf;color:#b74e18}.live-coach-tiers .tier-1>aside{background:rgba(255,255,255,.68);color:#466b53}.live-coach-tiers .tier-2>aside{background:rgba(255,255,255,.7);color:#42657d}.live-coach-tiers .tier-3>aside{background:rgba(255,255,255,.72);color:#80522f}.live-coach-tiers .tier-1>footer button:last-child{border-color:#398d5b;background:#398d5b}.live-coach-tiers .tier-2>footer button:last-child{border-color:#347fad;background:#347fad}.live-coach-tiers .tier-3>footer button:last-child{border-color:#cf6827;background:#cf6827}.live-coach-tiers article:hover{transform:translateY(-3px);transition:transform .18s ease,box-shadow .18s ease}.live-coach-tiers article.tier-1:hover{box-shadow:0 13px 28px rgba(44,132,79,.13)}.live-coach-tiers article.tier-2:hover{box-shadow:0 14px 30px rgba(50,124,177,.15)}.live-coach-tiers article.tier-3:hover{box-shadow:0 15px 32px rgba(190,99,29,.18)}
@media(max-width:600px){.live-coach-tiers article:hover{transform:none}}

/* Refined pastel palette for the eight livestream module cards. */
.live-module-grid button{--module-accent:#3c9662;--module-bg:#f5fbf7;--module-icon:#e0f2e6;border-color:color-mix(in srgb,var(--module-accent) 24%,#d8e2da);background:linear-gradient(145deg,#fff 0%,var(--module-bg) 100%);box-shadow:0 6px 18px rgba(41,75,54,.045)}.live-module-grid button:nth-child(1){--module-accent:#2f9a63;--module-bg:#eef9f2;--module-icon:#d9f1e2}.live-module-grid button:nth-child(2){--module-accent:#497fbd;--module-bg:#f0f6fc;--module-icon:#dceafa}.live-module-grid button:nth-child(3){--module-accent:#8b6db5;--module-bg:#f6f2fb;--module-icon:#eae1f5}.live-module-grid button:nth-child(4){--module-accent:#2d9c9a;--module-bg:#eef9f8;--module-icon:#d8f0ef}.live-module-grid button:nth-child(5){--module-accent:#d08b2c;--module-bg:#fff8ed;--module-icon:#f9e8c9}.live-module-grid button:nth-child(6){--module-accent:#4f85a6;--module-bg:#f1f7fa;--module-icon:#dcebf2}.live-module-grid button:nth-child(7){--module-accent:#db7540;--module-bg:#fff5f0;--module-icon:#f9dfd1}.live-module-grid button:nth-child(8){--module-accent:#a15f91;--module-bg:#faf2f8;--module-icon:#f0deeb}.live-module-grid button>b{display:grid;flex:0 0 50px;width:50px;height:50px;place-items:center;border-radius:14px;background:var(--module-icon);font-size:24px;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--module-accent) 15%,transparent)}.live-module-grid button span{color:#173c2a}.live-module-grid button small{color:#667a6e}.live-module-grid button>i{color:color-mix(in srgb,var(--module-accent) 75%,#777);font-weight:900}.live-module-grid button:hover,.live-module-grid button.active{border-color:var(--module-accent);background:linear-gradient(145deg,#fff 0%,var(--module-bg) 72%,var(--module-icon) 100%);box-shadow:0 12px 26px color-mix(in srgb,var(--module-accent) 18%,transparent);transform:translateY(-3px)}.live-module-grid button.active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:4px;border-radius:4px 4px 0 0;background:var(--module-accent)}.live-module-grid button.active>b{box-shadow:0 5px 13px color-mix(in srgb,var(--module-accent) 19%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--module-accent) 18%,transparent)}
@supports not (color:color-mix(in srgb,#000,#fff)){.live-module-grid button{border-color:#d5e1d7}.live-module-grid button:hover,.live-module-grid button.active{border-color:var(--module-accent);box-shadow:0 12px 26px rgba(35,72,48,.12)}}
@media(max-width:800px){.live-module-grid button>b{flex-basis:44px;width:44px;height:44px;border-radius:12px}.live-module-grid button:hover,.live-module-grid button.active{transform:none}}

/* Match every selected module with one consistent icon badge in its content panel. */
#livestream .live-tab-panel .live-panel-heading>div>span{display:grid;flex:0 0 44px;width:44px;height:44px;place-items:center;border:1px solid #cfe2d5;border-radius:13px;background:#e6f4ea;font-size:21px;line-height:1;box-shadow:0 5px 12px rgba(36,82,51,.07)}#livestream [data-live-panel="vocabulary"] .live-panel-heading>div>span{border-color:#b8dec6;background:#dff2e6}#livestream [data-live-panel="phrases"] .live-panel-heading>div>span{border-color:#bfd4eb;background:#e0ecf9}#livestream [data-live-panel="builder"] .live-panel-heading>div>span{border-color:#d6c7e7;background:#ece3f6}#livestream [data-live-panel="room"] .live-panel-heading>div>span{border-color:#b9dfdd;background:#dcf1f0}#livestream [data-live-panel="compliance"] .live-panel-heading>div>span{border-color:#efd3a4;background:#faebd0}#livestream [data-live-panel="metrics"] .live-panel-heading>div>span{border-color:#c2d8e4;background:#e0edf3}#livestream [data-live-panel="quote"] .live-panel-heading>div>span{border-color:#efc1aa;background:#f9e2d6}#livestream [data-live-panel="quiz"] .live-panel-heading>div>span{border-color:#ddc5d8;background:#f1e1ed}#livestream .live-panel-heading>div{align-items:center}#livestream .live-panel-heading h3{line-height:1.25}
@media(max-width:600px){#livestream .live-tab-panel .live-panel-heading>div>span{flex-basis:40px;width:40px;height:40px;border-radius:11px;font-size:19px}}

/* Keep the speech-rate helper as text; only the leading title mark is an icon badge. */
#livestream .live-tab-panel .live-panel-heading>.live-speech-control>span{display:inline;flex:0 1 auto;width:auto;height:auto;place-items:initial;border:0;border-radius:0;background:transparent;font-size:12px;line-height:1.4;box-shadow:none}
