:root{
  --base-font-size:18px;--chat-font-size:19px;--conv-primary:#183f9f;--conv-blue:#1ea7ff;--conv-bg:#f4f7f9;--conv-teacher-bg:#fff;--conv-student-bg:#dcf8c6;--conv-text:#111b21;
}
.s2e-conv-wrapper{width:min(100%,940px);height:86vh!important;margin:10px auto;background:#fff;border-radius:22px;box-shadow:0 8px 24px rgba(0,0,0,.10);overflow:hidden;font-family:Tahoma,Arial,sans-serif;border:1px solid #e0e0e0;font-size:var(--base-font-size);display:flex;flex-direction:column;position:relative}
.s2e-conv-header{background:linear-gradient(135deg,#183f9f,#1ea7ff);color:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.s2e-btn-back,.s2e-btn-lang{background:rgba(255,255,255,.22);border:none;color:#fff;height:42px;border-radius:22px;cursor:pointer;font-weight:900}
.s2e-btn-back{width:42px;font-size:22px}.s2e-btn-lang{min-width:70px;padding:0 10px;font-size:13px;white-space:nowrap}.s2e-btn-back:hover,.s2e-btn-lang:hover{background:rgba(255,255,255,.35)}
.s2e-header-titles{flex:1;text-align:center;min-width:0}.s2e-title-en{font-size:23px;font-weight:900;direction:ltr;line-height:1.2}.s2e-title-ar{font-size:17px;font-weight:800;direction:rtl;margin-top:4px;opacity:.95}
.s2e-toolbar{background:#f8f9fa;padding:9px;border-bottom:1px solid #eee;display:none;flex-direction:column;gap:8px}.s2e-tool-row{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.s2e-btn-tool{padding:6px 14px;cursor:pointer;border-radius:20px;border:2px solid #183f9f;background:#fff;color:#183f9f;font-weight:900;font-size:14px;line-height:1.2;white-space:nowrap;flex:0 0 auto}.s2e-btn-tool.active,.s2e-btn-tool:hover{background:#183f9f;color:#fff}
.s2e-settings-panel{display:none;background:#fff;border:1px solid #dfe8f2;border-radius:16px;padding:10px;box-shadow:0 4px 14px rgba(0,0,0,.06);direction:rtl}.s2e-settings-panel.active{display:block}.s2e-setting-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 4px;border-bottom:1px solid #eef2f6;font-size:14px;font-weight:900;color:#183f9f}.s2e-setting-row:last-child{border-bottom:none}.s2e-setting-actions{display:flex;gap:6px;flex-wrap:wrap}.s2e-small-option{border:1px solid #183f9f;background:#fff;color:#183f9f;border-radius:14px;padding:4px 10px;font-size:12px;font-weight:900;cursor:pointer}.s2e-small-option.active{background:#183f9f;color:#fff}
.s2e-screen-container{flex:1;overflow-y:auto;background:var(--conv-bg);position:relative;scroll-behavior:smooth}.s2e-screen{display:none;padding:15px}.s2e-screen.active{display:block}
.s2e-card-item{background:#fff;border-radius:16px;padding:15px;margin-bottom:12px;display:flex;align-items:center;gap:14px;cursor:pointer;border:1px solid #eef2f6;box-shadow:0 4px 12px rgba(0,0,0,.035);transition:.2s}.s2e-card-item:hover{border-color:#1ea7ff;transform:translateY(-2px)}.s2e-category-card{min-height:82px}.s2e-icon-box{font-size:34px;width:60px;height:60px;background:#f4f8ff;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.s2e-card-text{flex:1;min-width:0}.s2e-card-en{font-size:21px;font-weight:900;color:#183f9f;direction:ltr;text-align:left;line-height:1.25;margin-bottom:5px}.s2e-card-ar{font-size:16px;font-weight:800;color:#555;direction:rtl;text-align:right;line-height:1.35}
.s2e-topic-header{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;border-bottom:2px solid #dfe8f2;padding:12px 3px 8px;margin:16px 0 10px}.s2e-topic-en{font-size:20px;font-weight:900;color:#183f9f;direction:ltr;text-align:left}.s2e-topic-ar{font-size:16px;font-weight:800;color:#555;direction:rtl;text-align:right}.s2e-lesson-card{border-left:5px solid #1ea7ff;min-height:78px}.s2e-lesson-number{width:36px;height:36px;border-radius:50%;background:#eaf5ff;color:#183f9f;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:900;flex-shrink:0}.s2e-lesson-en{font-size:19px;font-weight:900;color:#111b21;direction:ltr;text-align:left;line-height:1.25;margin-bottom:5px}.s2e-lesson-ar{font-size:15px;font-weight:800;color:#666;direction:rtl;text-align:right;line-height:1.35}
.s2e-tabs{display:flex;background:#fff;border-bottom:2px solid #eee;position:sticky;top:0;z-index:10}.s2e-tab{flex:1;padding:12px 4px;text-align:center;font-weight:900;color:#666;cursor:pointer;border-bottom:3px solid transparent;font-size:14px}.s2e-tab.active{color:#183f9f;border-bottom-color:#183f9f;background:#f8fbff}.s2e-simulator-body{padding:14px}.s2e-tab-content{display:none}.s2e-tab-content.active{display:block}
.s2e-chat-wrapper{display:flex;flex-direction:column;gap:14px;padding-bottom:230px}.s2e-bubble{max-width:82%;padding:12px 14px 34px;border-radius:16px;position:relative;box-shadow:0 1px 3px rgba(0,0,0,.12);cursor:pointer}.s2e-bubble-teacher{background:var(--conv-teacher-bg);align-self:flex-start;border-bottom-left-radius:5px;border:1px solid #ddd}.s2e-bubble-student{background:var(--conv-student-bg);align-self:flex-end;border-bottom-right-radius:5px;border:1px solid #b7e4a3}.s2e-speaker{font-size:12px;color:#777;font-weight:900;margin-bottom:5px}.s2e-bubble-student .s2e-speaker{text-align:right}.s2e-text-en{font-size:var(--chat-font-size);font-weight:900;color:var(--conv-text);line-height:1.35;direction:ltr;text-align:left}.s2e-text-ar{font-size:calc(var(--chat-font-size) - 4px);color:#444;text-align:right;direction:rtl;margin-top:8px;border-top:1px dashed #bbb;padding-top:8px;font-weight:800;line-height:1.45}.s2e-hidden{display:none!important}
.s2e-msg-trans-btn{position:absolute;bottom:5px;left:10px;border:none;background:rgba(24,63,159,.08);color:#183f9f;font-size:12px;font-weight:900;line-height:1.2;border-radius:12px;padding:3px 9px;cursor:pointer;min-width:54px;height:22px}.s2e-msg-trans-btn.active{background:#183f9f;color:#fff}.s2e-tick{position:absolute;bottom:5px;right:11px;font-size:13px;color:#999;font-weight:900;letter-spacing:-2px}.s2e-tick.blue{color:#34b7f1}.s2e-playing{border:2px solid #183f9f!important;box-shadow:0 0 10px rgba(24,63,159,.28)}
.s2e-manual-actions{display:none;position:absolute;left:8px;right:8px;bottom:-34px;gap:8px;justify-content:center;z-index:3}.s2e-bubble.s2e-show-actions{margin-bottom:38px}.s2e-bubble.s2e-show-actions .s2e-manual-actions{display:flex}.s2e-action-mini{border:1px solid #183f9f;background:#fff;color:#183f9f;border-radius:16px;padding:5px 10px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.08)}.s2e-action-mini:hover{background:#183f9f;color:#fff}
.s2e-loading{text-align:center;padding:30px 10px;font-weight:900;font-size:22px;color:#183f9f;direction:rtl}.s2e-coming-soon{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#fff;border-radius:20px;border:2px dashed #1ea7ff;margin:18px;padding:22px;text-align:center}.s2e-coming-en{font-size:32px;font-weight:900;color:#183f9f;direction:ltr}.s2e-coming-ar{font-size:24px;font-weight:900;color:#1ea7ff;direction:rtl}.s2e-missing-path{margin-top:12px;font-size:12px;color:#888;direction:ltr;word-break:break-all;max-width:90%}
@media(max-width:600px){:root{--base-font-size:17px;--chat-font-size:18px}.s2e-conv-wrapper{width:100%;height:82vh!important;margin:6px auto;border-radius:16px}.s2e-screen{padding:11px}.s2e-bubble{max-width:90%}.s2e-tab{font-size:12px;padding:10px 2px}.s2e-btn-tool{font-size:12px;padding:5px 10px}.s2e-setting-row{align-items:flex-start;flex-direction:column}.s2e-chat-wrapper{padding-bottom:250px}}

.s2e-title-ar:empty{display:none}.s2e-title-rtl{direction:rtl!important}.s2e-rtl-title{direction:rtl!important;text-align:right!important}.s2e-btn-gear{min-width:42px!important;width:42px!important;padding-left:0!important;padding-right:0!important;font-size:18px!important}

.s2e-topic-header-stack{display:block!important}
.s2e-title-ar{font-size:15px!important;opacity:.95!important}
.s2e-card-ar,.s2e-topic-ar,.s2e-lesson-ar{display:block;color:#666;font-size:15px;font-weight:800;margin-top:4px;direction:rtl;text-align:right;line-height:1.35}
.s2e-card-en,.s2e-topic-en,.s2e-lesson-en{display:block}


/* daily plan and conversation improvements */
.s2e-conv-header{padding:8px 12px!important;min-height:60px!important;gap:8px!important}.s2e-btn-lang{height:42px!important;min-width:78px!important;font-size:15px!important;padding:0 13px!important;border-radius:24px!important;font-weight:900!important}.s2e-btn-today{background:rgba(255,255,255,.22);border:none;color:#fff;height:38px;border-radius:999px;cursor:pointer;font-weight:900;min-width:42px;padding:0 10px;font-size:18px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.s2e-btn-today:hover{background:rgba(255,255,255,.35)}
.s2e-home-plan-wrap{display:none;background:#f4f7f9;padding:12px 12px 4px;text-align:center}.s2e-home-screen .s2e-home-plan-wrap{display:block}.s2e-home-screen #btnTodayPlan{display:none!important}.s2e-home-plan-btn{display:inline-flex;align-items:center;justify-content:center;width:min(90%,410px);min-height:48px;border:0;border-radius:20px;background:linear-gradient(180deg,#0d1f5c 0%,#002e94 55%,#1e90ff 100%);color:#fff;font-weight:900;font-size:21px;line-height:1;box-shadow:0 10px 20px rgba(13,56,145,.18);cursor:pointer}.s2e-topics-screen #btnTodayPlan,.s2e-lesson-screen #btnTodayPlan{display:inline-flex!important;min-width:40px;width:40px;height:36px;padding:0;font-size:0}.s2e-topics-screen #btnTodayPlan::before,.s2e-lesson-screen #btnTodayPlan::before{content:"📅";font-size:18px}.s2e-lesson-icon{font-size:23px!important}.s2e-screen-container{scroll-behavior:auto!important}
.s2e-lang-en .s2e-settings-panel{direction:ltr!important}.s2e-lang-en .s2e-setting-row{direction:ltr!important;flex-direction:row!important;text-align:left!important}.s2e-lang-en .s2e-setting-actions{justify-content:flex-end!important}.s2e-lang-ar .s2e-settings-panel{direction:rtl!important}.s2e-lang-ar .s2e-setting-row{direction:rtl!important;text-align:right!important}
.s2e-today-panel{display:none;position:fixed;inset:0;z-index:999999;background:rgba(11,22,45,.46);padding:14px;align-items:center;justify-content:center;direction:rtl;border:0}.s2e-today-panel.active{display:flex}.s2e-today-modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:24px;border:2px solid #d9e8fb;box-shadow:0 20px 48px rgba(0,0,0,.20);padding:16px;position:relative}.s2e-today-close{position:sticky;top:0;margin:0 0 10px auto;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:14px;border:none;background:linear-gradient(180deg,#0d1f5c 0%,#002e94 55%,#1e90ff 100%);color:#fff;font-size:24px;font-weight:900;cursor:pointer;z-index:2}.s2e-plan-setup-box{background:#f8fbff;border:1px solid #dbe7f7;border-radius:20px;padding:16px;text-align:center}.s2e-plan-setup-title{font-size:18px;font-weight:900;color:#183f9f;margin-bottom:12px}.s2e-plan-count-options{display:flex;gap:10px;justify-content:center;margin-bottom:14px}.s2e-plan-count-btn{min-width:58px;min-height:46px;border-radius:16px;border:2px solid #183f9f;background:#fff;color:#183f9f;font-size:18px;font-weight:900;cursor:pointer}.s2e-plan-count-btn.active{background:#183f9f;color:#fff}.s2e-create-plan-btn,.s2e-reset-today-plan{border:none;border-radius:17px;background:linear-gradient(180deg,#0d1f5c 0%,#002e94 55%,#1e90ff 100%);color:#fff;font-size:17px;font-weight:900;min-height:50px;padding:10px 18px;cursor:pointer}.s2e-reset-today-plan{margin:12px auto 0;display:flex;background:linear-gradient(180deg,#fff1f1 0%,#ffe7e7 100%);color:#ca2d2d;border:2px solid #f1b6b6}.s2e-today-head{text-align:center;margin-bottom:10px}.s2e-today-title{font-size:22px;font-weight:900;color:#183f9f}.s2e-today-date{font-size:15px;font-weight:800;color:#607ca7;margin-top:4px}.s2e-today-progress{background:#fff;border:1px solid #dbe7f7;border-radius:16px;padding:10px;margin-bottom:10px}.s2e-today-progress-text{text-align:center;font-weight:900;color:#183f9f;font-size:14px}.s2e-today-bar{height:14px;background:#eaf2ff;border-radius:999px;overflow:hidden;margin-top:8px}.s2e-today-bar span{display:block;height:100%;background:linear-gradient(90deg,#183f9f,#1ea7ff);border-radius:999px;transition:.25s}.s2e-today-list{display:flex;flex-direction:column;gap:10px}.s2e-today-item{display:block;background:#fff;border:1px solid #dbe7f7;border-radius:16px;padding:12px}.s2e-today-item.done{background:#f4fbf6;border-color:#bfe7c8}.s2e-today-top{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;margin-bottom:10px}.s2e-today-icon{width:42px;height:42px;border-radius:14px;background:#f4f8ff;display:flex;align-items:center;justify-content:center;font-size:23px}.s2e-today-en{font-weight:900;color:#111b21;direction:ltr;text-align:left;font-size:17px}.s2e-today-ar{font-weight:800;color:#666;direction:rtl;text-align:right;font-size:14px;margin-top:3px}.s2e-today-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.s2e-today-start,.s2e-today-done{width:100%;min-height:44px;border:2px solid #183f9f;background:#fff;color:#183f9f;border-radius:15px;padding:8px 12px;font-size:16px;font-weight:900;cursor:pointer;white-space:nowrap;display:flex;align-items:center;justify-content:center}.s2e-today-start:hover,.s2e-today-done:hover{background:#183f9f;color:#fff}.s2e-today-done.done{background:#1f9d55;color:#fff;border-color:#1f9d55}.s2e-today-empty{text-align:center;font-weight:900;color:#183f9f;background:#fff;border:1px dashed #bad8ff;border-radius:16px;padding:14px}.s2e-reset-options{display:flex;flex-direction:column;gap:10px}.s2e-reset-option{min-height:50px;border-radius:16px;border:2px solid #183f9f;background:#fff;color:#183f9f;font-weight:900;font-size:15px;cursor:pointer}.s2e-reset-option:hover{background:#183f9f;color:#fff}.s2e-reset-option.danger{border-color:#ca2d2d;color:#ca2d2d}.s2e-reset-option.danger:hover{background:#ca2d2d;color:#fff}.s2e-reset-option.muted{border-color:#cfd9e6;color:#607ca7}@media(max-width:600px){.s2e-home-plan-btn{font-size:19px;min-height:46px;width:min(94%,370px)}.s2e-btn-lang{height:40px!important;min-width:70px!important;font-size:14px!important}.s2e-topics-screen #btnTodayPlan,.s2e-lesson-screen #btnTodayPlan{width:38px;min-width:38px;height:34px}.s2e-today-modal{border-radius:20px;padding:12px}.s2e-today-actions{grid-template-columns:1fr 1fr;gap:8px}.s2e-today-start,.s2e-today-done{min-height:42px;font-size:15px}}
:root { 
  --base-font-size: 18px; --chat-font-size: 19px; 
  --conv-primary: #183f9f; --conv-blue: #1ea7ff; --conv-bg: #f4f7f9; 
  --conv-teacher-bg: #fff; --conv-student-bg: #dcf8c6; --conv-text: #111b21;
}
.s2e-conv-wrapper { width: min(100%, 940px); height: 86vh !important; margin: 10px auto; background: #fff; border-radius: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.10); overflow: hidden; font-family: Tahoma, Arial, sans-serif; border: 1px solid #e0e0e0; font-size: var(--base-font-size); display: flex; flex-direction: column; position: relative }
.s2e-conv-header { background: linear-gradient(135deg, #183f9f, #1ea7ff); color: #fff; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px }
.s2e-btn-back, .s2e-btn-lang, .s2e-btn-today { background: rgba(255,255,255,.22); border: none; color: #fff; height: 42px; border-radius: 22px; cursor: pointer; font-weight: 900 }
.s2e-btn-back { width: 42px; font-size: 20px; } .s2e-btn-back:hover { background: rgba(255,255,255,.4) }
.s2e-btn-lang { padding: 0 16px; font-size: 14px; } .s2e-btn-today { padding: 0 14px; font-size: 16px; }
.s2e-header-titles { flex: 1; text-align: center; line-height: 1.2 }
.s2e-title-en { font-size: 22px; font-weight: 900 }
.s2e-title-ar { font-size: 15px; font-weight: bold; opacity: .9 }

.s2e-toolbar { background: #f8f9fa; padding: 10px; display: none; gap: 8px; justify-content: center; border-bottom: 1px solid #eee; flex-wrap: wrap }
.s2e-tool-row { display: flex; gap: 8px; justify-content: center; width: 100%; flex-wrap: wrap; }
.s2e-btn-tool { padding: 6px 14px; cursor: pointer; border-radius: 20px; border: 2px solid #183f9f; background: #fff; color: #183f9f; font-weight: 900; font-size: 14px; transition: .2s; display: flex; align-items: center; gap: 4px; }
.s2e-btn-tool:hover, .s2e-btn-tool.active { background: #183f9f; color: #fff }
.s2e-btn-gear { padding: 6px 10px; border-radius: 50% }

/* خلفية الواتساب المذهلة */
.s2e-wa-bg {
  background-color: #efeae2 !important;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png') !important;
  background-repeat: repeat;
  border-radius: 12px;
}

.s2e-screen-container { flex: 1; overflow-y: auto; background: var(--conv-bg); position: relative; scroll-behavior: smooth; }
.s2e-screen { display: none; padding: 15px; } .s2e-screen.active { display: block; animation: fadeIn .3s }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* الكروت والتصميم */
.s2e-card-item { background: #fff; border-radius: 16px; padding: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 15px; cursor: pointer; border: 1px solid #eef2f6; box-shadow: 0 4px 12px rgba(0,0,0,.02); transition: .2s }
.s2e-card-item:hover { border-color: #1ea7ff; transform: translateY(-2px) }
.s2e-icon-box { font-size: 35px; width: 60px; height: 60px; background: #f4f8ff; border-radius: 12px; display: flex; align-items: center; justify-content: center }
.s2e-card-en { font-size: 20px !important; font-weight: 900 !important; color: #183f9f; direction: ltr; text-align: left }
.s2e-card-ar { font-size: 18px !important; font-weight: 900 !important; color: #333; text-align: right; direction: rtl; margin-top: 4px }
.s2e-topic-en { font-size: 20px; font-weight: 900; color: #183f9f; }
.s2e-topic-ar { font-size: 16px; color: #666; font-weight: bold; }
.s2e-lesson-icon { font-size: 24px; font-weight: 900; color: #183f9f; }
.s2e-lesson-en { font-size: 18px; font-weight: 900; color: #111b21; }
.s2e-lesson-ar { font-size: 15px; color: #555; font-weight: bold; }

/* تبويبات المحاكي */
.s2e-tabs { display: flex; background: #fff; border-bottom: 2px solid #eee; position: sticky; top: 0; z-index: 10 }
.s2e-tab { flex: 1; padding: 12px 0; text-align: center; font-weight: 900; color: #666; cursor: pointer; border-bottom: 3px solid transparent; font-size: 15px; }
.s2e-tab.active { color: #183f9f; border-bottom-color: #183f9f; background: #f8fbff }
.s2e-tab-content { display: none; } .s2e-tab-content.active { display: block }

/* فقاعات الواتساب */
.s2e-chat-wrapper { display: flex; flex-direction: column; gap: 15px; padding-bottom: 50px; }
.s2e-bubble { max-width: 85%; padding: 12px 15px 22px 15px; border-radius: 16px; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,.1); cursor: pointer; animation: popIn .4s ease-out; font-size: var(--chat-font-size); }
@keyframes popIn { 0% { transform: scale(.9) translateY(10px); opacity: 0 } 100% { transform: scale(1) translateY(0); opacity: 1 } }
.s2e-bubble-teacher { background: var(--conv-teacher-bg); align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid #ddd }
.s2e-bubble-student { background: var(--conv-student-bg); align-self: flex-end; border-bottom-right-radius: 4px; border: 1px solid #b7e4a3 }
.s2e-speaker { font-size: 13px; color: #777; font-weight: 900; margin-bottom: 4px }
.s2e-bubble-student .s2e-speaker { text-align: right }
.s2e-text-en { font-weight: 900; color: var(--conv-text); line-height: 1.3 }
.s2e-text-ar { color: #555; text-align: right; direction: rtl; margin-top: 8px; border-top: 1px dashed #ccc; padding-top: 8px; font-weight: bold; font-size: 16px; }
.s2e-hidden { display: none !important; }
.s2e-tick { position: absolute; bottom: 4px; right: 10px; font-size: 13px; color: #999; font-weight: bold; letter-spacing: -2px }
.s2e-tick.blue { color: #34b7f1 }
.s2e-playing { border: 2px solid #183f9f; box-shadow: 0 0 10px rgba(24,63,159,.3); transform: scale(1.01); }

/* أزرار مضمنة (للترجمة والصوت) */
.s2e-inline-btn { background: transparent; border: none; color: #183f9f; cursor: pointer; font-size: 18px; padding: 2px 6px; opacity: 0.6; transition: 0.2s; vertical-align: middle; }
.s2e-inline-btn:hover { opacity: 1; transform: scale(1.2); }

/* قسم الكلمات */
.s2e-vocab-grid { display: grid; grid-template-columns: 1fr; gap: 15px; direction: ltr; }
@media(min-width: 768px) { .s2e-vocab-grid { grid-template-columns: 1fr 1fr; } }
.s2e-vocab-card { background: #fff; border: 2px solid #eef2f6; border-radius: 16px; padding: 18px; box-shadow: 0 4px 10px rgba(0,0,0,.03); transition: .3s; }
.s2e-vocab-card:hover { border-color: #1ea7ff; transform: translateY(-4px); }
.s2e-vocab-header { border-bottom: 2px dashed #eef2f6; padding-bottom: 12px; margin-bottom: 12px; }
.s2e-vocab-word { font-size: 24px; font-weight: 900; color: #183f9f; text-align: left; }
.s2e-vocab-ar { font-size: 20px; font-weight: bold; color: #555; text-align: right; direction: rtl; margin-top: 8px; }
.s2e-vocab-sentence { background: #f4f8ff; padding: 12px 15px; border-radius: 12px; border-left: 4px solid #1ea7ff; font-size: 17px; font-weight: 900; color: #111b21; text-align: left; }
.s2e-vocab-sentence-ar { font-size: 16px; color: #666; margin-top: 8px; direction: rtl; text-align: right; border-top: 1px solid #dae5f5; padding-top: 8px; font-weight: bold; }

/* قسم الممارسة والتسجيل */
.s2e-role-container { text-align: center; padding: 20px 10px; }
.s2e-role-title { font-size: 22px; font-weight: 900; color: #183f9f; margin-bottom: 10px; }
.s2e-role-btn-group { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.s2e-role-btn { padding: 12px 25px; border-radius: 20px; background: #fff; border: 3px solid #183f9f; color: #183f9f; font-size: 18px; font-weight: 900; cursor: pointer; transition: .3s; }
.s2e-role-btn:hover { background: #183f9f; color: #fff; transform: translateY(-2px); }
.s2e-prac-user { border: 2px dashed #1ea7ff !important; background: #f4f8ff !important; transform: scale(1.02); }
.s2e-prac-partner { opacity: 0.8; }
.s2e-prac-badge { font-size: 15px; color: #1ea7ff; font-weight: 900; margin-bottom: 5px; animation: pulse 1.5s infinite; text-align: center; }
@keyframes pulse { 0% { opacity: 0.6 } 50% { opacity: 1 } 100% { opacity: 0.6 } }

/* زر المايكروفون */
.s2e-mic-btn { background: #f44336; color: #fff; border: none; border-radius: 50%; width: 65px; height: 65px; font-size: 28px; cursor: pointer; box-shadow: 0 4px 10px rgba(244,67,54,.4); margin: 15px auto; display: block; transition: 0.3s; }
.s2e-mic-btn.recording { animation: pulse-red 1.5s infinite; }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(244,67,54,.7) } 70% { box-shadow: 0 0 0 15px rgba(244,67,54,0) } 100% { box-shadow: 0 0 0 0 rgba(244,67,54,0) } }
.s2e-action-mini { background: #183f9f; border: none; color: #fff; padding: 6px 12px; border-radius: 15px; font-weight: 900; cursor: pointer; font-size: 14px; margin: 0 5px; }

/* الاختبار */
.s2e-quiz-box { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #eef2f6; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.02); direction: ltr; }
.s2e-quiz-q { font-size: 19px; font-weight: 900; color: #183f9f; margin-bottom: 8px; text-align: left; }
.s2e-quiz-q-ar { font-size: 16px; font-weight: bold; color: #666; margin-bottom: 15px; direction: rtl; text-align: right; }
.s2e-quiz-opt { display: block; padding: 12px 15px; background: #f8f9fa; border: 2px solid #eee; border-radius: 12px; margin-bottom: 8px; cursor: pointer; font-weight: bold; transition: .2s; font-size: 16px; text-align: left; }
.s2e-quiz-opt:hover { background: #eaf5ff; border-color: #1ea7ff; }
.s2e-quiz-opt input { margin-right: 12px; transform: scale(1.2); }
.s2e-quiz-opt.correct { background: #dcf8c6; border-color: #4caf50; color: #111b21; }
.s2e-quiz-opt.wrong { background: #ffebee; border-color: #f44336; color: #111b21; }
.s2e-quiz-submit { background: linear-gradient(135deg, #183f9f, #1ea7ff); color: #fff; border: none; padding: 15px 40px; border-radius: 30px; font-size: 20px; font-weight: 900; cursor: pointer; display: block; margin: 30px auto; transition: .3s; }
.s2e-empty-state { text-align: center; padding: 40px 20px; font-size: 20px; font-weight: 900; color: #888; border: 2px dashed #ccc; border-radius: 20px; margin-top: 20px; }
