@font-face{font-family:Myanmar;src:url('../assets/myanmar.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{color-scheme:light dark;--bg:#f7f8fc;--surface:#fff;--soft:#edf3fc;--ink:#18233e;--muted:#69758d;--line:#e2e8f2;--blue:#1761c5;--teal:#087e82;--sidebar:0px;--reader-scale:1;--header-compact:72px;--header-expanded:268px;--header-collapse-range:196px;--scroll-collapse:0;font-family:Myanmar,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
:root[data-theme=light]{color-scheme:light}
html {
  scroll-behavior: smooth;
}

html,body{overscroll-behavior:none;overscroll-behavior-y:none}*{box-sizing:border-box}html,.detail-info-pane,.curriculum-panel,.lesson-outline,.lesson-reader,.chat-messages,.mobile-drawer,.dialog-panel,.doc-modal-body,.search-sheet-results,.table-scroll,.val-sim-body{scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 42%,transparent) transparent}@supports not (scrollbar-color:auto){html::-webkit-scrollbar,.detail-info-pane::-webkit-scrollbar,.curriculum-panel::-webkit-scrollbar,.lesson-outline::-webkit-scrollbar,.lesson-reader::-webkit-scrollbar,.chat-messages::-webkit-scrollbar,.mobile-drawer::-webkit-scrollbar,.dialog-panel::-webkit-scrollbar,.doc-modal-body::-webkit-scrollbar,.search-sheet-results::-webkit-scrollbar,.table-scroll::-webkit-scrollbar,.val-sim-body::-webkit-scrollbar{width:6px;height:6px}html::-webkit-scrollbar-thumb,.detail-info-pane::-webkit-scrollbar-thumb,.curriculum-panel::-webkit-scrollbar-thumb,.lesson-outline::-webkit-scrollbar-thumb,.lesson-reader::-webkit-scrollbar-thumb,.chat-messages::-webkit-scrollbar-thumb,.mobile-drawer::-webkit-scrollbar-thumb,.dialog-panel::-webkit-scrollbar-thumb,.doc-modal-body::-webkit-scrollbar-thumb,.search-sheet-results::-webkit-scrollbar-thumb,.table-scroll::-webkit-scrollbar-thumb,.val-sim-body::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 42%,transparent);border-radius:999px}}.chips,.course-carousel,.doc-carousel{scrollbar-width:none;-ms-overflow-style:none}.chips::-webkit-scrollbar,.course-carousel::-webkit-scrollbar,.doc-carousel::-webkit-scrollbar{display:none;width:0;height:0}body{margin:0;min-width:320px;font-size:14px;line-height:1.8}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit;border:0}a{color:inherit;text-decoration:none}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #39a1ff;outline-offset:4px}svg{flex-shrink:0;vertical-align:middle}img{display:block;max-width:100%;height:auto}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.7;text-wrap:pretty}h1{font-size:28px}h2{font-size:22px}h3{font-size:16px}p{overflow-wrap:anywhere}small{font-size:12px}input,textarea,select{min-width:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:12px 14px;max-width:100%}textarea{resize:vertical;min-height:110px}input[type=checkbox],input[type=radio]{width:21px;height:21px;flex:0 0 21px;accent-color:var(--blue);padding:0;margin:2px 0}input[type=range]{padding:12px 0;accent-color:var(--blue)}progress{appearance:none;display:block;width:100%;height:5px;border:0;border-radius:20px;overflow:hidden;background:var(--line)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--teal);border-radius:20px}progress::-moz-progress-bar{background:var(--teal)}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0 0 10px;font-weight:700}figure{margin:0}figure img,figure video{border-radius:18px;width:100%;max-height:520px;object-fit:contain}video,audio{max-width:100%;width:100%}figcaption{font-size:12px;color:var(--muted);margin-top:8px}hr{border:0;border-top:1px solid var(--line);margin:18px 0}main:focus{outline:none}.preline{white-space:pre-wrap}.small{font-size:12px}.muted{color:var(--muted)}.positive{color:var(--teal)}.full{width:100%}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:10px;top:-80px;background:var(--surface);padding:14px;z-index:100}.skip-link:focus{top:10px}
.icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;padding:10px;border-radius:50%;background:transparent;flex-shrink:0;transition:transform 90ms ease,background-color .18s ease}.icon-btn:hover{background:#8aabcf18}.icon-btn:active{transform:scale(.9)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:11px 20px;border:1px solid transparent;border-radius:15px;font-weight:650;line-height:1.65;background:transparent;max-width:100%;text-align:center;transition:transform 90ms ease,filter .18s ease,background-color .18s ease}.btn:active:not(:disabled){transform:scale(.97)}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 4px 12px #1761c51a}.btn.primary:hover:not(:disabled){filter:brightness(.94)}.btn.outline{background:var(--surface);border-color:#b9cdec;color:var(--blue)}.btn.outline:hover:not(:disabled){background:var(--soft)}.btn.tonal{background:var(--soft);color:var(--blue)}.btn.text{color:var(--blue);padding:9px}.btn.danger{color:#b32a45;border-color:#eed0d8}.text-link{display:inline-flex;align-items:center;gap:8px;font-weight:650;color:var(--blue)}.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:12px;background:var(--soft);color:var(--blue);font-size:12px;max-width:100%}.eyebrow{font:750 11px system-ui,sans-serif;letter-spacing:1.8px;color:var(--blue)}.row-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:15px;background:var(--soft);color:var(--blue);flex-shrink:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px;margin-bottom:18px}.app-layout{min-height:100dvh}
.sidebar{display:none!important}.brand{display:flex;align-items:center;gap:10px;margin:0 7px 32px}.brand img{width:44px;height:44px;border:1px solid var(--line);border-radius:14px}.brand>span{font:750 20px system-ui,sans-serif;letter-spacing:-.5px}.brand small{display:block;font-weight:450;letter-spacing:.5px;font-size:10px;margin-top:3px;color:var(--muted)}.sidebar-label{font:700 10px system-ui,sans-serif;letter-spacing:1.7px;color:var(--muted);padding:0 17px;margin-bottom:9px}.side-link{display:flex;align-items:center;gap:13px;min-height:51px;padding:11px 15px;margin-bottom:5px;border-radius:14px;color:var(--muted);font-weight:600;font-size:13px;transition:background-color .18s ease,color .18s ease,transform 90ms ease}.side-link:active{transform:scale(.98)}.side-link svg{transition:transform .2s cubic-bezier(.22,1,.36,1)}.side-link i{height:7px;width:7px;border-radius:50%;margin-left:auto;background:var(--blue);opacity:0;transform:scale(.3);transition:opacity .18s ease,transform .22s cubic-bezier(.22,1,.36,1)}.side-link.active{color:var(--blue);background:var(--soft)}.side-link.active svg{transform:scale(1.06)}.side-link.active i{opacity:1;transform:scale(1)}.side-link:hover{background:var(--soft)}.sidebar-divider{height:1px;background:var(--line);margin:18px 14px}.member-mini{position:relative;display:flex;align-items:center;min-height:130px;border:1px solid #dbe3f7;border-radius:20px;background:linear-gradient(110deg,#f6f9ff,#eef2ff);margin-top:auto;padding:17px 14px;overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease}.member-mini.active{border-color:var(--blue);box-shadow:0 0 0 2px #1761c51f}.member-mini>div{position:relative;z-index:1}.member-mini strong{display:block;font-size:23px;line-height:1.3}.member-mini span{font-size:11px;color:var(--blue)}.member-mini small{display:flex;align-items:center;gap:4px;font-size:10px;margin-top:12px;color:var(--muted)}.member-mini img{position:absolute;width:100px;right:-11px;bottom:11px}.sidebar-account{display:flex;align-items:center;gap:10px;margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line)}.sidebar-account>img{width:37px;height:37px;border-radius:50%;object-fit:cover;transition:box-shadow .18s ease}.sidebar-account.active>img{box-shadow:0 0 0 2px var(--blue)}.sidebar-account span{flex:1;min-width:0}.sidebar-account strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .18s ease}.sidebar-account.active strong{color:var(--blue)}.sidebar-account small{font-size:10px;display:block;color:var(--muted)}.main-shell{margin-left:var(--sidebar);min-height:100dvh;padding-bottom:108px;overflow-x:clip}.main-shell.has-advanced-topbar{padding-top:var(--header-compact);min-height:100dvh;transition:padding-top 320ms cubic-bezier(.22,1,.36,1)}.main-shell.has-advanced-topbar:not(.is-header-collapsed){padding-top:var(--header-expanded)}
.topbar{height:var(--header-compact);display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid var(--line);background:var(--surface);position:sticky;top:0;z-index:22;transform:translateZ(0);-webkit-transform:translateZ(0);contain:layout paint;will-change:transform}.topbar.is-scrolled:not(.advanced-topbar){background:var(--surface);box-shadow:0 4px 18px #0f1e3d12}.topbar-row{width:100%;height:var(--header-compact);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:12px;flex-shrink:0;position:relative;z-index:2}.topbar-title{display:flex;align-items:center;gap:11px;min-width:0;flex:1}.topbar-title>strong,.topbar-title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px;font-weight:700;line-height:1.4;cursor:pointer}.topbar.advanced-topbar .topbar-title>strong,.topbar.advanced-topbar .topbar-title-text{flex-shrink:0}.topbar-symbol{display:flex;color:var(--blue);flex-shrink:0}.topbar-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.topbar-avatar{display:grid;place-items:center;width:40px;height:40px;margin-left:10px;overflow:hidden;border-radius:50%;border:2px solid var(--surface);flex-shrink:0}.topbar-avatar img{height:100%;width:100%;object-fit:cover}.notice-dot{position:absolute;width:7px;height:7px;right:11px;top:10px;border-radius:100%;background:#f0636b}.mobile-menu{display:inline-flex}
.topbar.advanced-topbar{position:fixed;top:0;left:var(--sidebar);right:0;height:var(--header-compact);justify-content:flex-start;overflow:hidden;contain:layout paint;color:#fff;background:linear-gradient(112deg,#2e4f91,#146b87 60%,#0d8b83);border-color:#ffffff1c;will-change:height;transition:height 320ms cubic-bezier(.22,1,.36,1),box-shadow 240ms ease}.topbar.advanced-topbar:not(.is-collapsed){height:var(--header-expanded)}.topbar.advanced-topbar.is-animating-collapse{transition:height 320ms cubic-bezier(.22,1,.36,1),box-shadow 240ms ease}.topbar.advanced-topbar::after{content:'';position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:1}.topbar.advanced-topbar.is-collapsed{height:var(--header-compact);box-shadow:0 10px 30px #08132a38}.topbar.advanced-topbar.is-collapsed::after{opacity:.1}.topbar.advanced-topbar.class-topbar{background:linear-gradient(112deg,#4b55d9,#724ea8 58%,#9b4c82)}.topbar.advanced-topbar.news-topbar{background:linear-gradient(112deg,#5143c9,#2b66a8 58%,#147f86)}.on-hero .topbar-symbol{color:inherit}.on-hero .icon-btn:hover{background:#ffffff1f}
.topbar-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--line);overflow:hidden;pointer-events:none}.topbar-progress-bar{display:block;width:100%;height:100%;background:linear-gradient(90deg,var(--blue),var(--teal));transform-origin:0 50%;transform:scaleX(0);will-change:transform;transition:transform .24s cubic-bezier(.22,1,.36,1)}[data-page="lesson"] .topbar-progress-bar{animation:none!important}
.topbar-lesson-title{color:var(--blue);font-weight:700}
.page-content{width:100%;max-width:1460px;margin:0 auto;padding:32px 36px 60px}.page-content.narrow{max-width:850px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:23px}.section-heading p{color:var(--muted);margin-top:5px;font-size:13px}
.profile-hero{position:relative;z-index:2;color:#fff;background:linear-gradient(112deg,#2e4f91,#146b87 60%,#0d8b83);padding:20px 36px 28px}.profile-hero.topbar-hero{height:var(--header-collapse-range);flex-shrink:0;padding:4px 36px 18px;display:flex;flex-direction:column;justify-content:space-between;background:transparent;will-change:transform,opacity;transform-origin:50% 0;opacity:1;transform:translate3d(0,0,0) scale(1);transition:opacity 280ms cubic-bezier(.22,1,.36,1) 40ms,transform 320ms cubic-bezier(.22,1,.36,1)}.topbar.advanced-topbar.is-collapsed .topbar-hero{opacity:0;transform:translate3d(0,-24px,0) scale(.98);pointer-events:none;transition:opacity 160ms cubic-bezier(.22,1,.36,1),transform 260ms cubic-bezier(.22,1,.36,1)}.profile-line{display:flex;align-items:center;gap:15px;max-width:1380px;width:100%;margin:0 auto}.profile-line>div{flex:1;min-width:0}.avatar{width:64px;height:64px;display:block;border-radius:50%;border:3px solid #ffffff44;overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.big{width:76px;height:76px}.news-hero-badge{width:56px;height:56px;border-radius:18px;background:#ffffff1f;border:1px solid #ffffff30;display:grid;place-items:center;flex-shrink:0}.profile-line small{color:#d8e7f9;font-size:11px;font-weight:700;letter-spacing:.4px;display:block}.profile-line h1{font-size:24px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-line p{font-size:12px;color:#deebf5;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#ffffff1b;max-width:1380px;width:100%;margin:auto auto 0;border-radius:20px;padding:10px 8px;border:1px solid #ffffff1a;backdrop-filter:blur(10px)}.profile-stats>a,.profile-stats>.stat-pill{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;column-gap:7px;position:relative}.profile-stats>*+*:before{content:'';position:absolute;left:0;height:24px;width:1px;background:#ffffff24;top:6px}.profile-stats strong{font:650 18px system-ui,sans-serif}.profile-stats span{font-size:11px;grid-column:1/-1;text-align:center;margin-top:2px;color:#e6effc}.profile-stats>a:last-child{grid-template-columns:1fr;justify-items:center}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:42px;padding:8px 18px;border:1px solid var(--line);border-radius:30px;background:var(--surface);font-size:12px;color:var(--muted);font-weight:650;transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform 90ms ease}.chip:active{transform:scale(.95)}.chip.selected{background:var(--blue);color:#fff;border-color:var(--blue)}.search-field{display:flex;align-items:center;gap:8px;color:var(--muted);padding:0 13px;border:1px solid var(--line);background:var(--surface);border-radius:13px;max-width:320px;width:100%}.search-field input{background:transparent;border:0;padding:10px 0;width:100%;border-radius:0;font-size:12px}.search-field input:focus-visible{outline:0}.search-field:focus-within{outline:2px solid var(--blue)}
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:42px}.course-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:23px;overflow:hidden;box-shadow:0 12px 35px #233d6c08;transition:transform .22s cubic-bezier(.22,1,.36,1),border-color .2s,box-shadow .2s}.course-card:hover{transform:translateY(-3px);border-color:#a5c5f0;box-shadow:0 14px 38px #1d4b8418}.course-cover-link{display:block}.course-art{position:relative;aspect-ratio:1.8;overflow:hidden;isolation:isolate;background:#e6eef8}.course-art>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.course-art.large{aspect-ratio:1.85}.art-tier{position:absolute;top:15px;left:15px;font:700 10px system-ui,sans-serif;letter-spacing:1px;background:#ffffffeb;color:#166e76;border-radius:25px;padding:6px 11px}.save-button{position:absolute;right:13px;top:13px;background:#fffffff0;color:var(--ink);height:38px;width:38px;display:grid;place-items:center;border-radius:50%;border:1px solid #ffffff80;z-index:2;transition:transform 120ms cubic-bezier(.22,1,.36,1),background-color .18s ease}.save-button:active{transform:scale(.86)}.save-button.selected{color:var(--blue);background:#e8f0ff}.save-button.selected svg{fill:#1761c51c}.course-card-body{padding:20px}.course-label{font-size:11px;color:var(--teal);display:flex;align-items:center;gap:8px;font-weight:650}.featured-dot{height:5px;width:5px;background:var(--teal);border-radius:50%}.course-card h3{font-size:17px;line-height:1.85;margin:8px 0 18px}.course-card-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.course-card-meta strong{font-size:14px;color:var(--blue)}.course-card-meta strong.free{color:var(--teal)}.course-card-meta>span{display:flex;align-items:center;gap:5px;color:var(--muted)}.course-card-body progress{margin-top:20px}.chatgpt-art{background:linear-gradient(125deg,#0f6368,#073f49);color:white}.plus-art{background:linear-gradient(125deg,#1e3e80,#131e3f)}.art-grid{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(#fff5 1px,transparent 1px),linear-gradient(90deg,#fff5 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000)}.art-symbol{position:absolute;right:12%;top:24%;padding:13px;transform:rotate(-8deg);border:1px solid #ffffff2b;border-radius:26px;background:#ffffff0c;box-shadow:0 15px 30px #001e492b}.art-spark{position:absolute;color:#b8fbdf;right:-10px;top:-10px;font-size:30px}.art-label{position:absolute;left:8%;top:17%;font:650 clamp(16px,1.7vw,26px) system-ui,sans-serif;letter-spacing:-.6px}.art-caption{position:absolute;bottom:16%;left:8%;display:flex;flex-direction:column;gap:6px}.art-caption>span{font:8px system-ui,sans-serif;letter-spacing:2px;color:#b2d7db}.art-caption strong{font:650 clamp(16px,1.9vw,25px) system-ui,sans-serif;letter-spacing:-.4px}.chatgpt-art .art-tier{inset:auto 6% 13% auto;background:#ffffff18;color:#e1faf8;border:1px solid #ffffff28;font-size:8px;padding:5px 8px}.certificate-mark{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;gap:5px;padding:6px 10px;color:#8a6412;background:#fff9dbf5;border:1px solid #e6d29c;border-radius:12px;font-size:10px;z-index:3}
.resume-card{display:flex;align-items:center;gap:18px;border:1px solid var(--line);background:var(--surface);padding:18px 22px;border-radius:23px;margin-bottom:35px;max-width:760px;transition:transform .2s ease,border-color .2s ease}.resume-card:hover{transform:translateY(-2px);border-color:#a5c5f0}.resume-thumb{width:82px;height:90px;border-radius:18px;overflow:hidden;flex-shrink:0}.resume-thumb .course-art{height:100%;aspect-ratio:auto}.resume-thumb .art-label,.resume-thumb .art-tier,.resume-thumb .art-caption{display:none}.resume-thumb .art-symbol{padding:6px;inset:15px 8px auto}.resume-thumb svg{width:46px;height:46px}.resume-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:7px}.resume-copy>small{font-size:11px;color:var(--teal)}.resume-copy>strong{font-size:15px}.resume-copy>span{font-size:11px;color:var(--muted)}.resume-copy progress{margin-top:5px}.resume-cta-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:22px;background:var(--blue);color:#fff;font-size:12px;font-weight:600;flex-shrink:0;transition:transform .15s ease,background-color .15s ease}.resume-card:hover .resume-cta-pill{background:#2364b9;transform:scale(1.03)}.resume-card>svg{color:var(--teal)}.prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.prompt-tile{padding:24px;background:var(--surface);border-radius:22px;border:1px solid var(--line)}.prompt-tile h3{margin:13px 0 8px}.prompt-tile p{color:var(--muted);font-size:12px;margin-bottom:18px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;min-height:350px;padding:38px 24px;grid-column:1/-1}.empty>span{display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:var(--soft);color:var(--blue)}.empty h2{font-size:19px}.empty p{color:var(--muted);font-size:13px;max-width:450px}.empty-art{width:150px}.skeleton-grid{padding:32px 36px;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.skeleton{background:linear-gradient(90deg,var(--line),var(--soft),var(--line));background-size:200% 100%;border-radius:22px;animation:skeleton 1.4s ease infinite}.hero-skeleton{height:185px;grid-column:1/-1}.card-skeleton{height:300px}@keyframes skeleton{to{background-position:-200% 0}}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:36px}.detail-cover{border-radius:26px;overflow:hidden;box-shadow:0 14px 38px #1d4b8418}.detail-cover .course-art{border-radius:26px;overflow:hidden}.course-detail section>*:not(.detail-cover),.course-detail .curriculum-panel{animation:detailContentReveal 240ms cubic-bezier(.2,0,0,1) both}@keyframes detailContentReveal{0%{opacity:0;transform:translate3d(0,14px,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.detail-cover .art-label,.detail-cover .art-caption strong{font-size:32px}.detail-cover .art-symbol{transform:scale(1.25) rotate(-8deg);top:30%}.detail-tags{display:flex;align-items:center;gap:15px;margin:22px 0 14px;font-size:12px}.course-detail h1{font-size:26px}.detail-metrics{display:flex;align-items:center;flex-wrap:wrap;gap:18px;color:var(--muted);font-size:11px;margin:17px 0}.detail-metrics>span{display:flex;align-items:center;gap:5px}.course-description{margin:25px 0;color:var(--muted);font-size:14px;line-height:2.2}.detail-action-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}.detail-action-card small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.course-cta-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.price{font-size:23px;color:var(--teal)}.curriculum-panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px;height:fit-content}.curriculum-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px}.curriculum-title span{font-size:12px;color:var(--muted)}.chapter-list{padding:0;margin:0;list-style:none}.chapter-list li+li{border-top:1px solid var(--line)}.chapter-list a,.chapter-list .chapter-locked-btn{display:flex;align-items:center;gap:12px;padding:18px 0;width:100%;text-align:left;background:transparent;border:0}.chapter-list .chapter-locked-btn{opacity:.82}.chapter-list .chapter-locked-btn:hover{opacity:1}.chapter-number{font:600 12px system-ui;display:grid;place-items:center;color:var(--blue);width:33px;height:37px;background:var(--soft);border-radius:10px;flex-shrink:0}.chapter-number.completed{color:var(--teal);background:#e0f2ed}.chapter-number.current{color:#fff;background:var(--blue);box-shadow:0 2px 10px #2b70c94d}.current-pill{display:inline-flex;align-items:center;padding:2px 8px;background:var(--soft);color:var(--blue);border-radius:10px;font-size:10px;font-weight:600;margin-left:6px;vertical-align:middle}.resume-hint{display:flex;align-items:center;gap:6px;color:var(--teal);font-size:11px;font-weight:600;margin-top:6px}.chapter-list a>span:nth-child(2),.chapter-list .chapter-locked-btn>span:nth-child(2){flex:1;min-width:0}.chapter-list strong{font-size:12px;line-height:1.9;display:block;font-weight:600}.chapter-list small{display:block;color:var(--muted);margin-top:4px;font-size:11px;line-height:1.9}.chapter-list a>svg,.chapter-list .chapter-locked-btn>svg{color:var(--muted)}
.course-fixed-dock{position:fixed;left:var(--sidebar);right:0;bottom:0;z-index:24;pointer-events:none;opacity:0;transform:translate3d(0,100%,0);transition:transform 240ms cubic-bezier(.22,1,.36,1),opacity 200ms ease}.course-fixed-dock.is-visible{opacity:1;transform:translate3d(0,0,0);pointer-events:auto}.course-fixed-dock-veil{height:20px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--surface) 92%,transparent))}.course-fixed-dock-bar{background:var(--surface);border-top:1px solid var(--line);padding:12px 36px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 -10px 30px #0f1e3d12}.course-fixed-dock-bar>div{min-width:0;flex:1}.course-fixed-dock-bar .btn{white-space:nowrap;flex-shrink:0}.course-fixed-dock-bar small{display:block;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.main-shell:is([data-page=course],[data-page=lesson],[data-page=payment],[data-page=login],[data-page=article]){padding-bottom:0!important}
.main-shell:is([data-page=course],[data-page=lesson],[data-page=payment],[data-page=login],[data-page=article]) :is(.bottom-dock,.bottom-dock-veil){display:none!important}
.bottom-dock-veil{display:block;position:fixed;left:0;right:0;bottom:0;height:calc(96px + env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--bg) 82%,transparent) 60%,var(--bg) 100%);pointer-events:none;z-index:28}
.bottom-dock{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(380px,calc(100vw - 48px));height:68px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:linear-gradient(115deg,#2b3962f2 0%,#222b4af2 38%,#252143f2 72%,#171d35f5 100%);border:1px solid #aec8ff45;border-radius:40px;padding:6px 9px;box-shadow:0 14px 40px #0c183045;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);z-index:30;overflow:hidden}
.dock-glint{position:absolute;top:0;left:22px;right:22px;height:1px;background:linear-gradient(90deg,transparent,#ffffff33,transparent);pointer-events:none}
.dock-indicator{position:absolute;top:6px;bottom:6px;left:9px;width:calc((100% - 18px - 12px)/4);transform:translate3d(calc(var(--dock-slot,0) * (100% + 4px)),0,0);transition:transform 280ms cubic-bezier(.22,1,.36,1);display:grid;place-items:center;pointer-events:none;z-index:0;will-change:transform}
.dock-indicator-orb{width:48px;height:48px;border-radius:50%;background:linear-gradient(140deg,#f7fafff5,#b8c6dcdd);border:1px solid #fff;box-shadow:0 2px 12px #ffffff38,inset 0 0 0 4px #ffffff1a}
.bottom-dock>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#d7e2f9;min-width:0;position:relative;z-index:1;text-decoration:none;transition:transform 90ms cubic-bezier(.2,0,0,1),color 180ms ease}
.bottom-dock>a:active{transform:scale(.88)}
.bottom-dock>a>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center}
.bottom-dock small{display:none;font:8px system-ui}
.bottom-dock>a.selected{color:#1d2c4b}
.bottom-dock.is-subpage{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:130px;max-width:180px;height:52px;padding:4px 20px;border-radius:40px;grid-template-columns:none;gap:0}
.dock-close-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:13px;font-weight:650;background:transparent;border:0;cursor:pointer;width:100%;height:100%;padding:0;white-space:nowrap;transition:transform 90ms ease,color .16s ease}
.dock-close-pill:hover{color:#eff5ff}
.dock-close-pill:active{transform:scale(.92)}
.dock-close-pill svg{color:#aec8ff;width:18px;height:18px;transition:transform .18s ease}
.dock-close-pill:hover svg{transform:rotate(90deg)}
@media(min-width:768px){
  body:has(.main-shell:is([data-page="course"],[data-page="lesson"])){overflow:hidden;height:100dvh}
  .main-shell:is([data-page="course"],[data-page="lesson"]){height:100dvh;max-height:100dvh;overflow:hidden;display:flex;flex-direction:column;padding-bottom:0!important}
  .main-shell:is([data-page="course"],[data-page="lesson"]) #content{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}
  .main-shell[data-page="course"] .page-content.course-detail{flex:1;min-height:0;height:100%;max-width:1440px;width:100%;margin:0 auto;padding:20px 32px 24px;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
  .main-shell[data-page="course"] .detail-layout{flex:1;min-height:0;height:100%;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,1fr);gap:32px;align-items:stretch;overflow:hidden}
  .main-shell[data-page="course"] .detail-info-pane{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-right:18px;padding-bottom:120px!important}
  .main-shell[data-page="course"] .curriculum-panel{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:24px 24px 120px!important;box-sizing:border-box}
  .main-shell[data-page="course"] .curriculum-title{position:sticky;top:-24px;margin:-24px -24px 16px;padding:20px 24px 14px;background:var(--surface);border-bottom:1px solid var(--line);border-radius:24px 24px 0 0;z-index:2;display:flex;align-items:center;justify-content:space-between}
  .main-shell[data-page="course"] .detail-action-card{display:none!important}
  .main-shell[data-page="course"] .course-fixed-dock{display:flex!important;position:fixed;left:var(--sidebar,0px);right:0;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:45;pointer-events:auto;opacity:1;transform:translate3d(0,0,0);justify-content:center;padding:0 32px;box-sizing:border-box}
  .main-shell[data-page="course"] .course-fixed-dock-veil{position:fixed;left:var(--sidebar,0px);right:0;bottom:0;height:calc(105px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--bg) 80%,transparent) 50%,var(--bg) 100%);pointer-events:none;z-index:-1}
  .main-shell[data-page="course"] .course-fixed-dock-bar{max-width:1200px;width:100%;margin:0 auto;border-radius:24px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid color-mix(in srgb,var(--line) 72%,var(--blue) 28%);box-shadow:0 12px 36px rgba(15,30,60,.16);padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}
  [data-theme="dark"] .main-shell[data-page="course"] .course-fixed-dock-bar{background:color-mix(in srgb,var(--surface) 88%,transparent);border-color:color-mix(in srgb,var(--line) 65%,var(--blue) 35%);box-shadow:0 14px 40px rgba(0,0,0,.5)}
  .main-shell[data-page="course"] .course-fixed-dock-bar .price{font-size:18px;font-weight:700;color:var(--ink);display:block}
  .main-shell[data-page="course"] .course-fixed-dock-bar small{font-size:12px;color:var(--muted);line-height:1.5;margin-top:2px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:560px}
  .main-shell[data-page="course"] .course-fixed-dock-bar .btn{min-height:50px;border-radius:16px;padding:10px 24px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;box-shadow:0 4px 18px color-mix(in srgb,var(--blue) 35%,transparent)}
  .main-shell[data-page="lesson"] .lesson-layout{flex:1;min-height:0;height:100%;display:grid;grid-template-columns:280px minmax(0,1fr);max-width:1500px;margin:0 auto;width:100%;overflow:hidden}
  .main-shell[data-page="lesson"] .lesson-outline{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-right:1px solid var(--line);padding:24px 18px;position:static}
  .main-shell[data-page="lesson"] .lesson-reader{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:32px 42px calc(110px + env(safe-area-inset-bottom,0px))}
}
@media(min-width:768px) and (max-width:1199px){
  .main-shell[data-page="course"] .page-content.course-detail{padding:16px 20px 20px}
  .main-shell[data-page="course"] .detail-layout{grid-template-columns:minmax(0,1.1fr) minmax(320px,1fr);gap:20px}
  .main-shell[data-page="lesson"] .lesson-layout{grid-template-columns:240px minmax(0,1fr)}
  .main-shell[data-page="lesson"] .lesson-reader{padding:28px 24px calc(105px + env(safe-area-inset-bottom,0px))}
}
.lesson-layout{display:grid;grid-template-columns:260px minmax(0,1fr);max-width:1500px;margin:0 auto}.lesson-outline{border-right:1px solid var(--line);padding:27px 18px;height:calc(100dvh - var(--header-compact));position:sticky;top:var(--header-compact);overflow:auto}.lesson-outline h3{font-size:14px;margin:20px 0}.lesson-outline .text-link{font-size:12px;padding:0;background:none;border:none;cursor:pointer}.lesson-outline ol{padding:0;list-style:none}.lesson-outline li a,.lesson-outline li button{display:flex;align-items:center;gap:11px;font-size:11px;color:var(--muted);padding:9px 10px;border-radius:12px;margin-bottom:4px;width:100%;text-align:left;background:transparent;border:none;cursor:pointer;transition:background-color .16s ease,color .16s ease}.lesson-outline li a:hover,.lesson-outline li button:hover{background:var(--soft);color:var(--ink)}.lesson-outline li.current a,.lesson-outline li.current button{background:var(--soft);color:var(--blue);font-weight:650}.lesson-outline .chapter-badge{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;min-width:24px;border-radius:50%;font-size:11px;font-weight:650;font-family:system-ui;background:var(--soft);color:var(--muted);flex-shrink:0;transition:all .18s ease}.lesson-outline .chapter-badge.current{background:var(--blue);color:#fff}.lesson-outline .chapter-badge.completed{background:#e0f3ea;color:#27826a}.lesson-outline li.completed .chapter-title{color:var(--ink);font-weight:550}.lesson-outline li.current .chapter-title{color:var(--blue);font-weight:650}.lesson-outline .chapter-title{flex:1;min-width:0;line-height:1.6}.lesson-reader{padding:35px 42px calc(110px + env(safe-area-inset-bottom,0px));min-width:0}.document{max-width:780px;margin:0 auto;font-size:calc(15px * var(--reader-scale));line-height:2}.mission-meta{display:flex;justify-content:space-between;align-items:center;color:var(--blue);font-size:11px;margin-bottom:24px;gap:15px}.mission-dots{display:flex;gap:6px}.mission-dots span{display:block;width:23px;height:5px;border-radius:8px;background:var(--line);transition:width .24s cubic-bezier(.22,1,.36,1),background-color .2s ease}.mission-dots .current{background:var(--blue);width:34px}.mission-dots .done{background:var(--teal)}.mission-heading{margin-bottom:25px}.mission-heading h1{font-size:25px;line-height:1.9}.mission-heading p{color:var(--muted);font-size:13px;line-height:2.1;margin-top:10px}.document-blocks{display:flex;flex-direction:column;gap:18px}.document-blocks h2{font-size:22px}.document-blocks p{white-space:pre-wrap}.document pre{overflow:auto;white-space:pre-wrap;background:var(--soft);padding:18px;border-radius:15px;font:13px/1.8 monospace}.document blockquote{margin:0;border-left:3px solid var(--blue);padding:8px 18px;color:var(--muted)}.doc-callout{display:flex;align-items:flex-start;gap:11px;border:1px solid #c9def8;background:var(--soft);padding:18px;border-radius:16px}.doc-callout svg{margin-top:4px;color:var(--blue)}.doc-callout p{font-size:13px}.doc-card{border:1px solid var(--line);border-radius:20px;padding:20px;background:var(--surface);display:flex;flex-direction:column;gap:14px}.doc-row,.doc-button_group{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.doc-row>*{flex:1;min-width:0}.doc-group{display:flex;flex-direction:column;gap:14px}.doc-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.doc-grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.doc-grid[data-columns="1"]{grid-template-columns:1fr}.doc-carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory}.doc-carousel>*{min-width:80%;scroll-snap-align:start}.doc-spacer{height:18px}.document details{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:0 18px}.document summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:13px;min-height:52px;gap:14px;list-style:none}.document details[open]{padding-bottom:18px}.document details[open]>summary{margin-bottom:14px}.document summary::-webkit-details-marker{display:none}.prompt-block{padding:24px;border:1px solid #c5d8f3;background:var(--surface);border-radius:21px}.prompt-block p{font-size:15px;line-height:2.1;color:var(--ink);user-select:text}.prompt-block .btn{margin-top:16px;margin-right:8px}.mission-footer{margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.confirmation{display:flex;align-items:flex-start;gap:12px;padding:15px 16px;border:1px solid var(--line);border-radius:15px;background:var(--surface);cursor:pointer;font-size:13px;line-height:1.9}.confirmation:has(input:checked){border-color:#8eb6ea;background:var(--soft)}.confirmation small{display:block;font-size:10px;line-height:1.9;color:var(--muted);margin-top:5px}.mission-dock-veil{position:fixed;left:0;right:0;bottom:0;height:calc(96px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--bg) 82%,transparent) 55%,var(--bg) 100%);pointer-events:none;z-index:38}.mission-dock{position:fixed;bottom:calc(14px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(540px,calc(100vw - 28px));z-index:45;pointer-events:none;display:flex;justify-content:center}.mission-actions{pointer-events:auto;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid color-mix(in srgb,var(--line) 75%,var(--blue) 25%);border-radius:24px;box-shadow:0 10px 32px rgba(15,30,60,.16);margin:0}[data-theme=dark] .mission-actions{background:color-mix(in srgb,var(--surface) 86%,transparent);border-color:color-mix(in srgb,var(--line) 65%,var(--blue) 35%);box-shadow:0 12px 36px rgba(0,0,0,.45)}.mission-actions .btn{min-height:50px;border-radius:16px;padding:10px 16px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.mission-actions .btn[data-doc-nav="back"]{flex:1;min-width:0;background:color-mix(in srgb,var(--surface) 96%,transparent)}.mission-actions .btn[data-doc-nav="next"]{flex:1.35;min-width:0}.mission-actions .btn[data-doc-nav="next"]:not(:disabled){box-shadow:0 4px 18px color-mix(in srgb,var(--blue) 38%,transparent)}@media(min-width:768px){.mission-dock-veil{left:280px}.mission-dock{left:calc(50% + 140px);width:min(680px,calc(100vw - 360px));bottom:22px}}@media(min-width:768px) and (max-width:1199px){.mission-dock-veil{left:240px}.mission-dock{left:calc(50% + 120px);width:min(640px,calc(100vw - 300px));bottom:20px}}.choice-list{display:flex;flex-direction:column;gap:12px;margin:16px 0}.choice{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border-radius:15px;border:1px solid var(--line);background:var(--surface);font-size:13px;cursor:pointer;line-height:1.9}.choice.selected,.choice:has(input:checked){background:var(--soft);border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.choice small{display:block;color:var(--muted);margin-top:4px}.quiz .btn{margin-top:14px}.feedback{border:1px solid var(--line);background:var(--soft);padding:17px 20px;border-radius:16px;margin-top:18px;font-size:13px}.feedback strong{font:700 24px system-ui;display:block;margin-bottom:12px}.feedback p+p{margin-top:10px}.feedback.positive{border-color:#a3d3cb}.image-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-height:200px;padding:24px;background:var(--surface);border:1.5px dashed #8bb0dd;border-radius:21px;color:var(--blue);cursor:pointer;position:relative;overflow:hidden;font-size:14px;font-weight:600}.image-picker:hover{background:var(--soft)}.image-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.image-picker img{max-height:300px;border-radius:13px;object-fit:contain}.practice>small{display:block;margin:12px 0;font-size:11px}.practice>.confirmation{margin:16px 0}.practice .criteria{margin-top:16px}.practice h3,.practice>p{margin-bottom:14px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:18px}.field>span{font-weight:600}.field input,.field select{min-height:50px;width:100%}.field textarea{width:100%}.field output{float:right;color:var(--blue)}.doc-stat{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;align-items:center;flex-direction:column;gap:5px}.doc-stat>strong{font-size:30px}.doc-stat>span{font-size:12px;color:var(--muted)}.doc-progress{display:flex;flex-direction:column;gap:10px;font-size:12px}.doc-progress progress{height:8px}.timeline{list-style:none;padding:0 0 0 10px}.timeline li{border-left:2px solid var(--line);padding:0 0 22px 20px;position:relative}.timeline li:before{position:absolute;content:'';height:9px;width:9px;background:var(--blue);border:3px solid var(--bg);border-radius:50%;left:-8px;top:4px}.timeline p{color:var(--muted);font-size:13px}.table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:14px}.table-scroll table{border-collapse:collapse;min-width:100%}.table-scroll th,.table-scroll td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:12px}.table-scroll th{background:var(--soft)}.lesson-finished{text-align:center;display:flex;flex-direction:column;gap:20px;align-items:center;padding:70px 15px}.finished-icon{display:grid;place-items:center;width:90px;height:90px;border-radius:30px;background:#e5f3ed;color:var(--teal)}.lesson-finished p{color:var(--muted)}.lesson-finished .finished-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;max-width:400px;margin-top:10px}.lesson-finished .finished-actions .btn{width:100%;justify-content:center}
.news-search{margin-bottom:28px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.news-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:transform .22s cubic-bezier(.22,1,.36,1),border-color .2s,box-shadow .2s}.news-card:hover{transform:translateY(-3px);border-color:#a5c5f0;box-shadow:0 14px 36px #1d4b8414}.news-cover{aspect-ratio:1.8;overflow:hidden;background:var(--soft)}.news-cover img{width:100%;height:100%;object-fit:cover}.news-copy{padding:22px}.news-copy h2{font-size:17px;line-height:1.9;margin:9px 0}.news-copy p{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-copy small{display:block;margin-top:14px;color:var(--muted);font-size:10px}.article-reader{max-width:900px;font-size:calc(16px * var(--reader-scale));padding-bottom:100px}.article-reader h1{font-size:30px;margin:16px 0}.reader-meta{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:24px}.article-cover{width:100%;border-radius:24px;margin-bottom:28px}.prose{line-height:2.2}.prose p,.prose h2{margin-bottom:22px}
.auth-page{display:grid;grid-template-columns:minmax(320px,430px) minmax(0,1fr);max-width:1150px;gap:70px;align-items:center;min-height:calc(100dvh - var(--header-compact))}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:30px;padding:32px}.auth-logo{width:58px;border-radius:18px;margin:0 auto 20px}.auth-card h1{font-size:23px;text-align:center}.auth-card>p{font-size:12px;text-align:center;margin:12px 0 26px}.auth-card .btn.full{margin-top:12px}.auth-note{font-size:10px!important;line-height:2}.form-error{color:#b32a45;font-size:12px}.or{display:flex;align-items:center;gap:15px;margin:22px 0 4px;color:var(--muted);font-size:11px}.or:before,.or:after{content:'';height:1px;flex:1;background:var(--line)}.auth-visual>span{font:700 10px system-ui;letter-spacing:3px;color:var(--teal)}.auth-visual h2{font-size:32px;line-height:2;margin-top:15px}.auth-visual img{width:300px;margin:25px auto}.profile-card{display:flex;align-items:center;gap:20px;padding:25px;background:linear-gradient(110deg,#e7f0ff,#e5f4f1);border:1px solid var(--line);border-radius:24px;margin-bottom:20px}.feathered-profile-card{box-shadow:0 14px 36px #1836680f}.profile-card h2{font-size:21px}.profile-card p{color:var(--muted);font-size:12px}.profile-form{display:flex;align-items:flex-end;gap:14px}.profile-form .field{flex:1;margin:0}.workspace-list{background:var(--surface);border:1px solid var(--line);border-radius:23px;overflow:hidden;margin-bottom:24px}.workspace-row{display:flex;align-items:center;gap:14px;padding:20px 22px;min-width:0;transition:background-color .16s ease}.workspace-row:hover{background:var(--soft)}.workspace-row+.workspace-row{border-top:1px solid var(--line)}.workspace-row>span:nth-child(2){flex:1;min-width:0}.workspace-row strong{display:block;font-size:14px}.workspace-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.workspace-row>svg{color:var(--muted)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px;font-size:13px}.toggle{width:49px;height:29px;padding:3px;border-radius:40px;background:#c8d3e3}.toggle span{height:23px;width:23px;border-radius:50%;background:#fff;display:block;transition:transform .2s cubic-bezier(.22,1,.36,1)}.toggle[aria-checked=true]{background:var(--blue)}.toggle[aria-checked=true] span{transform:translateX(20px)}
.member-hero{display:flex;justify-content:space-between;align-items:center;padding:40px 50px;background:linear-gradient(110deg,#eff4ff,#eef4fa);border:1px solid #dce6f7;border-radius:30px}.member-hero>div{max-width:55%}.member-hero .eyebrow{letter-spacing:0;font-size:16px}.member-hero h1{font:700 54px/1.2 system-ui;letter-spacing:-2px;margin:5px 0 20px}.member-hero p{color:var(--muted);font-size:14px}.member-hero>img{width:210px;cursor:pointer;transform-origin:50% 85%}.member-hero .badge{margin-top:18px}.member-companion-dock{width:42px;height:42px;padding:3px;border-radius:50%;background:var(--soft);border:1px solid var(--line);display:grid;place-items:center;opacity:0;transform:scale(.6);pointer-events:none}.member-companion-dock img{width:100%;height:100%;object-fit:contain}.main-shell[data-companion-docked="true"] .member-companion-hero{opacity:0;transform:scale(.82);pointer-events:none}.main-shell[data-companion-docked="true"] .member-companion-dock{opacity:1;transform:scale(1);pointer-events:auto}.main-shell[data-companion-flying="true"] .member-companion-hero,.main-shell[data-companion-flying="true"] .member-companion-dock{opacity:0!important}.member-companion-flyer{position:fixed;left:0;top:0;z-index:85;pointer-events:none;object-fit:contain;will-change:transform,width,height;max-width:240px;max-height:240px;transform-origin:center center}@keyframes companion-wave{0%{transform:rotate(0deg)}35%{transform:rotate(-6deg) scale(1.04)}70%{transform:rotate(3deg)}100%{transform:rotate(0deg)}}.is-waving{animation:companion-wave 520ms cubic-bezier(.22,1,.36,1)}
.membership-page{max-width:1100px}.membership-benefits{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:32px 0}.membership-benefits>div{padding:22px}.membership-benefits svg{color:var(--blue)}.membership-benefits h3{margin:12px 0}.membership-benefits p{color:var(--muted);font-size:13px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}.plan-card{display:flex;flex-direction:column;gap:14px;padding:25px;background:var(--surface);border:1px solid var(--line);border-radius:23px;transition:transform .2s ease,border-color .2s ease}.plan-card:hover{transform:translateY(-2px);border-color:#a5c5f0}.plan-card>span{font-size:15px;font-weight:650;color:var(--muted)}.plan-card>strong{font-size:23px}.plan-card .btn{margin-top:10px}.certificate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.certificate-card{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:32px;border:1px solid #e2d8be;border-radius:25px;background:var(--surface)}.certificate-card img{height:115px;object-fit:contain}.certificate-card h2{font-size:20px}.certificate-card>small{color:var(--muted)}.notification-list{display:flex;flex-direction:column;gap:16px}.notice{display:flex;align-items:flex-start;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px 24px;text-align:left;box-shadow:0 4px 18px #0f1e3d06;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;cursor:pointer}.notice:hover{border-color:#a5c5f0;box-shadow:0 8px 24px #1d4b8414}.notice>span:nth-child(2){flex:1;min-width:0}.notice strong{font-size:16px;color:var(--ink);font-weight:700;line-height:1.4}.notice .notice-body{font-size:13px;color:var(--muted);margin:8px 0 12px;line-height:2.1;word-break:break-word}.notice .notice-body strong{color:var(--ink);font-weight:700}.notice .notice-step{display:inline-block;font-weight:700;color:var(--teal);margin-top:4px}.notice small{font-size:11px;color:var(--muted);display:block}.notice.unread{background:linear-gradient(115deg,#f4f7fe,#f0f5fd);border-color:#bed5f7}[data-theme=dark] .notice.unread{background:linear-gradient(115deg,#1c2840,#1e273b);border-color:#2a3d60}.unread-dot{width:8px;height:8px;flex-shrink:0;background:var(--blue);border-radius:50%;margin-top:8px}.summary-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.summary-stats>div{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px}.summary-stats strong{display:block;font-size:27px}.summary-stats span{font-size:12px;color:var(--muted)}.group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.group-card h2{font-size:18px;margin:15px 0}.group-card p{color:var(--muted);font-size:12px;margin-bottom:20px}.group-card .text-link{font-size:12px}.payment-page{max-width:650px}.payment-card{text-align:center;padding:35px;border:1px solid var(--line);background:var(--surface);border-radius:28px}.mmqr-logo{max-height:50px;max-width:170px;object-fit:contain;margin:0 auto 25px}.payment-card h1{font-size:20px}.payment-price{font-size:30px;display:block;margin:20px 0;color:var(--teal)}#payment-qr{width:280px!important;height:280px!important;max-width:100%;border:1px solid var(--line);padding:10px;border-radius:18px}.payment-status{margin:25px 0}.payment-status>svg{color:var(--teal)}.payment-status h2{font-size:18px;margin:14px 0}.payment-status p{font-size:12px;color:var(--muted)}.payment-card>.btn{display:flex;width:100%;margin-top:12px}
.chat-workspace{height:calc(100dvh - var(--header-compact));max-width:1100px;margin:0 auto;display:flex;flex-direction:column}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 30px;flex-shrink:0}.segmented{display:flex;gap:4px;background:var(--soft);padding:4px;border-radius:15px}.segmented button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 20px;border-radius:11px;font-size:12px;background:transparent;color:var(--muted);transition:background-color .18s ease,color .18s ease}.segmented button[aria-pressed=true],.segmented button[aria-selected=true]{background:var(--surface);box-shadow:0 2px 5px #16386d0a;color:var(--blue);font-weight:650}.chat-messages{flex:1;min-height:0;overflow:auto;padding:20px 40px;overscroll-behavior:contain}.chat-empty{min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;text-align:center}.chat-brand{width:85px;height:85px;background:var(--soft);display:grid;place-items:center;color:var(--blue);border-radius:28px}.chat-empty h2{font-size:23px}.quick-prompts{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;max-width:600px;margin-top:10px}.quick-prompts .btn{font-size:11px}.message{display:flex;flex-direction:column;align-items:flex-start;max-width:85%;margin-bottom:22px;gap:6px}.message>div{background:var(--surface);border:1px solid var(--line);border-radius:19px 19px 19px 5px;padding:15px 18px;font-size:14px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.message img{max-height:260px;border-radius:12px;margin-bottom:10px;object-fit:contain}.message small{color:var(--muted);font-size:10px;margin:0 4px}.message.outgoing{margin-left:auto;align-items:flex-end}.message.outgoing>div{background:var(--blue);border-color:var(--blue);color:white;border-radius:19px 19px 5px 19px}.chat-composer{padding:15px 30px 28px}.composer-input{display:flex;align-items:flex-end;gap:8px;background:var(--surface);border:1px solid #c8d6e9;border-radius:24px;padding:8px}.composer-input textarea{width:100%;min-height:45px;max-height:140px;border:0;padding:10px 4px;background:transparent;font-size:13px;resize:none}.composer-input textarea:focus-visible{outline:0}.attachment-input{position:relative;overflow:hidden;color:var(--muted)}.attachment-input input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.send-btn{display:grid;place-items:center;height:46px;width:46px;min-width:46px;border-radius:16px;background:var(--blue);color:#fff}.attachment-preview{display:flex;align-items:center;gap:10px;margin-bottom:10px}.attachment-preview img{height:80px;border-radius:12px}.typing{display:flex;gap:5px;padding:10px}.typing span{width:5px;height:5px;background:var(--muted);border-radius:50%}.chat-failed{padding:12px;background:var(--soft);border-radius:14px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.spinner{display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.offline-banner{background:#fff3d3;color:#72520c;font-size:12px;text-align:center;padding:8px}.toast{position:fixed;z-index:100;left:50%;transform:translateX(-50%);bottom:28px;max-width:90vw;padding:13px 21px;color:#fff;background:#18233ef0;border:1px solid #ffffff18;box-shadow:0 8px 25px #0002;border-radius:15px;font-size:13px}
.drawer-backdrop,.dialog-backdrop{position:fixed;inset:0;background:#0d173e60;backdrop-filter:blur(4px);z-index:60;transition:opacity 240ms cubic-bezier(.22,1,.36,1)}.mobile-drawer{position:fixed;inset:0 auto 0 0;z-index:61;width:min(360px,90vw);background:#f8f7fc;overflow-y:auto;overflow-x:hidden;box-shadow:20px 0 80px rgba(0,0,0,.22);animation:drawer-slide 240ms cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;touch-action:pan-y;will-change:transform}@keyframes drawer-slide{from{transform:translateX(-100%)}}.drawer-backdrop.is-dragging,.mobile-drawer.is-dragging{animation:none!important;transition:none!important;will-change:transform,opacity}.drawer-backdrop.is-animating{animation:none!important;transition:opacity 240ms cubic-bezier(.22,1,.36,1)!important}.mobile-drawer.is-animating{animation:none!important;transition:transform 240ms cubic-bezier(.22,1,.36,1)!important;will-change:transform}
.drawer-header-box{background:linear-gradient(120deg,#1f3b6d 0%,#0d6b67 100%);padding:14px 16px 22px;position:relative;overflow:visible}
.drawer-brand-row{display:flex;align-items:center;justify-content:space-between;height:48px;margin-bottom:8px}
.drawer-brand-title{display:flex;align-items:center;gap:10px;color:#fff;font-size:17px;font-weight:700}
.drawer-brand-title img{width:32px;height:32px;border-radius:10px;border:1px solid #ffffff33}
.drawer-brand-title small{font-size:11px;font-weight:500;color:#b8d4f8;margin-left:4px}
.drawer-close-btn{width:42px;height:42px;min-width:42px;color:#fff;border-radius:50%;display:grid;place-items:center;background:#ffffff1f;transition:background-color .15s ease}
.drawer-close-btn:hover{background:#ffffff33}
.drawer-member-hero{display:block;position:relative;margin-top:14px;text-decoration:none}
.drawer-member-card{position:relative;border-radius:24px;padding:16px 18px;background:linear-gradient(135deg,#fffffc,#f4edff 50%,#e9effc);border:1.5px solid #c3b3edb3;box-shadow:0 8px 26px #2017471f;min-height:92px;display:flex;align-items:center;overflow:visible}
.drawer-member-hero.is-verified .drawer-member-card{background:linear-gradient(135deg,#fff9ff,#efe5ff 50%,#ddeeff);border-color:#a5d8d0}
.drawer-member-brand{display:flex;flex-direction:column;gap:1px;position:relative;z-index:1;max-width:170px}
.drawer-member-label{font-size:11px;font-weight:700;letter-spacing:.5px;color:#3e7bea}
.drawer-member-title{font-size:24px;font-weight:800;letter-spacing:-.5px;color:#332552;line-height:1.2}
.drawer-member-action{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:650;color:#6750cc;margin-top:5px}
.drawer-member-mascot{position:absolute;right:-6px;top:-28px;width:125px;height:125px;object-fit:contain;pointer-events:none;z-index:2;filter:drop-shadow(0 6px 14px #6750cc33)}
.drawer-body{padding:8px 14px 28px;display:flex;flex-direction:column;gap:4px}
.drawer-group-title{display:block;font-size:11px;font-weight:700;letter-spacing:.5px;color:var(--muted);padding:14px 8px 8px}
.drawer-card{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 4px 16px #0f1e3d08}
.drawer-row{display:flex;align-items:center;gap:14px;padding:13px 16px;text-decoration:none;color:inherit;transition:background-color .15s ease}
.drawer-row:hover{background:#6750cc0a}
.drawer-row:active{background:#6750cc14}
.drawer-row-icon{width:36px;height:36px;min-width:36px;border-radius:12px;background:#6750cc14;color:#6750cc;display:grid;place-items:center;flex-shrink:0}
.drawer-row-text{display:flex;flex-direction:column;flex:1;min-width:0}
.drawer-row-text strong{font-size:14px;font-weight:650;color:var(--ink);line-height:1.35}
.drawer-row-text small{font-size:11px;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.drawer-row-trailing{display:flex;color:var(--muted);flex-shrink:0}
.drawer-row-badge{display:inline-flex;align-items:center;justify-content:center;padding:3px 9px;border-radius:10px;background:#6750cc17;color:#6750cc;font-size:12px;font-weight:700;flex-shrink:0}
.drawer-row-divider{height:1px;background:#f3f0f8;margin-left:66px;margin-right:16px}.dialog-panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 32px));max-height:85dvh;overflow:auto;padding:32px;background:var(--surface);border:1px solid var(--line);border-radius:28px;z-index:70;box-shadow:0 30px 100px #0003}.dialog-panel>h2{padding-right:32px;font-size:22px;margin-bottom:20px}.dialog-panel>p{font-size:13px;margin-bottom:20px;color:var(--muted)}.close-dialog{position:absolute;right:12px;top:12px}.dialog-actions{margin-top:25px;display:flex;justify-content:flex-end}.dialog-panel>.text-link{font-size:12px;margin-top:15px}.dialog-panel .confirmation{margin-bottom:16px}.invite-value{width:100%;margin-bottom:15px}.doc-modal{position:fixed;inset:0;background:#0d173e75;display:grid;place-items:center;z-index:75;padding:20px}.doc-modal-body{position:relative;max-width:600px;width:100%;max-height:85dvh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:30px}.doc-modal-body h2{padding-right:35px;margin-bottom:20px}.modal-open{overflow:hidden}.qr-sheet-content{display:flex;flex-direction:column;gap:12px;margin-top:6px}.qr-action-card{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:20px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;text-align:left;transition:transform 90ms ease,background-color .18s ease,border-color .18s ease}.qr-action-card:hover{background:var(--soft);border-color:#b9cdec}.qr-action-card:active{transform:scale(.98)}.qr-action-card.camera-card{background:linear-gradient(110deg,#f3f6ff,#edf2fe);border-color:#cbd8f5}.qr-action-card.camera-card:hover{border-color:var(--blue)}.qr-action-card.gallery-card{background:linear-gradient(110deg,#f4faf9,#eaf6f4);border-color:#c8e7e1}.qr-action-card.gallery-card:hover{border-color:var(--teal)}.qr-action-icon{display:grid;place-items:center;width:50px;height:50px;min-width:50px;border-radius:16px;background:#fff;box-shadow:0 4px 12px #0f1e3d0d}.camera-card .qr-action-icon{color:var(--blue)}.gallery-card .qr-action-icon{color:var(--teal)}.qr-action-copy strong{display:block;font-size:15px;font-weight:700;line-height:1.4}.qr-action-copy small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.qr-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px;margin:6px 0}.qr-divider:before,.qr-divider:after{content:'';height:1px;flex:1;background:var(--line)}.qr-manual-form .field{margin-bottom:12px}.qr-camera-scanner{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}.qr-camera-viewport{position:relative;width:100%;max-width:380px;aspect-ratio:1;border-radius:24px;overflow:hidden;background:#0a0f1d;box-shadow:0 12px 35px #0a132938}.qr-camera-viewport video{width:100%;height:100%;object-fit:cover;display:block}.qr-scanner-reticle{position:absolute;inset:32px;pointer-events:none;box-shadow:0 0 0 4000px rgba(10,15,29,0.55);border-radius:18px}.reticle-corner{position:absolute;width:24px;height:24px;border:3.5px solid #38bdf8}.reticle-corner.top-left{top:0;left:0;border-right:0;border-bottom:0;border-top-left-radius:16px}.reticle-corner.top-right{top:0;right:0;border-left:0;border-bottom:0;border-top-right-radius:16px}.reticle-corner.bottom-left{bottom:0;left:0;border-right:0;border-top:0;border-bottom-left-radius:16px}.reticle-corner.bottom-right{bottom:0;right:0;border-left:0;border-top:0;border-bottom-right-radius:16px}.qr-scanner-laser{position:absolute;left:6px;right:6px;height:3px;background:linear-gradient(90deg,transparent,#38bdf8,#60a5fa,transparent);box-shadow:0 0 12px #38bdf8;animation:scannerLaser 2s cubic-bezier(.4,0,.2,1) infinite alternate}@keyframes scannerLaser{0%{top:6px}100%{top:calc(100% - 9px)}}.qr-camera-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;background:#0a0f1d;transition:opacity .2s ease}.qr-camera-loading.is-hidden{opacity:0;pointer-events:none}.qr-camera-hint{font-size:13px;color:var(--muted);text-align:center;margin:0}.qr-camera-actions{display:flex;justify-content:center;width:100%}.dialog-panel.search-dialog-panel{display:flex;flex-direction:column}.search-dialog-panel>h2{margin-bottom:14px}.search-sheet{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px}.search-sheet-input-wrap{display:flex;align-items:center;gap:10px;min-height:50px;height:50px;padding:0 16px;background:var(--surface);border:1.5px solid var(--line);border-radius:16px;transition:border-color .18s ease,box-shadow .18s ease;flex-shrink:0}.search-sheet-input-wrap:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 16%,transparent)}.search-sheet-icon{display:flex;color:var(--muted);flex-shrink:0}.search-sheet-input{flex:1;min-width:0;border:none;background:transparent;color:var(--ink);font-size:15px;line-height:1.4;outline:none;font-family:inherit;padding:0}.search-sheet-input::placeholder{color:var(--muted);opacity:.85}.search-sheet-clear{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:none;background:var(--soft);color:var(--muted);cursor:pointer;flex-shrink:0;padding:0;transition:background-color .15s ease,color .15s ease}.search-sheet-clear:hover{background:var(--line);color:var(--ink)}.search-sheet-results{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;max-height:calc(85dvh - 170px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:10px;padding-right:2px}@media(min-width:768px){.search-sheet-results{max-height:440px}}.search-sheet-item{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:var(--soft);color:var(--ink);text-decoration:none;transition:background-color .15s ease,transform .08s ease;cursor:pointer;user-select:none}.search-sheet-item:hover{background:color-mix(in srgb,var(--blue) 8%,var(--soft))}.search-sheet-item:active{transform:scale(.99)}.search-item-art{width:48px;height:48px;min-width:48px;border-radius:12px;overflow:hidden;background:var(--surface);display:grid;place-items:center;flex-shrink:0;box-shadow:0 3px 10px #0f1e3d0a}.search-item-art .course-art,.search-item-art img{width:100%;height:100%;object-fit:cover}.search-item-art.news-art{color:var(--blue);background:color-mix(in srgb,var(--blue) 10%,var(--surface))}.search-item-body{flex:1;min-width:0;display:flex;flex-direction:column}.search-item-body strong{font-size:14px;font-weight:700;line-height:1.35;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-item-body small{font-size:12px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-item-trailing{display:flex;color:var(--muted);flex-shrink:0}.search-sheet-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:40px 20px;color:var(--muted);text-align:center}.search-sheet-empty p{font-size:13.5px;margin:0}
.deferred-section{content-visibility:auto;contain-intrinsic-size:auto 280px}.deferred-card{content-visibility:auto;contain-intrinsic-size:auto 320px}@supports not (content-visibility:auto){.deferred-section,.deferred-card{contain:layout style paint}}
@media (prefers-reduced-motion:no-preference){
.sidebar{view-transition-name:app-sidebar}
.topbar{view-transition-name:app-topbar}
.bottom-dock{view-transition-name:app-dock}
::view-transition-group(app-sidebar),
::view-transition-group(app-topbar),
::view-transition-group(app-dock){animation:none!important}
::view-transition-old(app-sidebar),
::view-transition-new(app-sidebar),
::view-transition-old(app-topbar),
::view-transition-new(app-topbar),
::view-transition-old(app-dock),
::view-transition-new(app-dock){animation:none!important}
::view-transition-group(course-hero){animation-duration:240ms;animation-timing-function:cubic-bezier(.2,0,0,1);overflow:hidden;border-radius:26px;box-shadow:0 16px 40px #18233e24;z-index:90}
::view-transition-old(course-hero),
::view-transition-new(course-hero){animation-duration:240ms;animation-timing-function:cubic-bezier(.2,0,0,1);height:100%;width:100%;object-fit:cover;border-radius:26px}
.is-navigating-back::view-transition-group(course-hero),
.is-navigating-back::view-transition-old(course-hero),
.is-navigating-back::view-transition-new(course-hero){animation-duration:200ms}
::view-transition-old(root){animation-duration:90ms;animation-timing-function:ease-out}
::view-transition-new(root){animation-duration:140ms;animation-timing-function:cubic-bezier(.2,0,0,1)}
@keyframes rightPaneEnter{0%{opacity:0;transform:translate3d(0,-24px,0)}100%{opacity:1;transform:none}}
@keyframes rightPaneEnterUp{0%{opacity:0;transform:translate3d(0,-18px,0)}100%{opacity:1;transform:none}}
@keyframes topbarRowEnter{0%{opacity:.45;transform:translate3d(0,-14px,0)}100%{opacity:1;transform:none}}
.right-pane-enter{animation:rightPaneEnter 220ms cubic-bezier(.22,1,.36,1)}
.right-pane-enter-up{animation:rightPaneEnterUp 180ms cubic-bezier(.22,1,.36,1)}
.topbar-nav-enter .topbar-row{animation:topbarRowEnter 200ms cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}
@keyframes lesson-step-fade{from{opacity:.35;transform:translate3d(0,8px,0)}to{opacity:1;transform:none}}
.document.lesson-step-anim{animation:lesson-step-fade 160ms cubic-bezier(.22,1,.36,1) both}
@supports ((animation-timeline:scroll()) and (animation-range:0% 100%)){
@keyframes fill-reading-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.main-shell[data-page="article"] .topbar-progress-bar{animation:fill-reading-progress auto linear both;animation-timeline:scroll(block root);animation-range:0% 100%}
}
}
[data-theme=dark]{color-scheme:dark;--bg:#101827;--surface:#172235;--soft:#1c2e48;--ink:#e0e9f6;--muted:#a1afc5;--line:#2c3c54;--blue:#73b0ff;--teal:#63c9c2}[data-theme=dark] .btn.primary,[data-theme=dark] .chip.selected,[data-theme=dark] .send-btn,[data-theme=dark] .message.outgoing>div{background:#2469c8;color:#fff}[data-theme=dark] .member-mini,[data-theme=dark] .member-hero,[data-theme=dark] .drawer-member,[data-theme=dark] .profile-card{background:linear-gradient(110deg,#203756,#233548);border-color:var(--line)}[data-theme=dark] .save-button{background:#172235ee;color:var(--ink)}[data-theme=dark] .topbar.advanced-topbar.class-topbar{background:linear-gradient(112deg,#282f79,#49306b 58%,#6a315d)}[data-theme=dark] .topbar.advanced-topbar.news-topbar{background:linear-gradient(112deg,#30266e,#1d4268 58%,#0c5c61)}[data-theme=dark] .chapter-number.current{background:#2563eb;color:#fff}[data-theme=dark] .chapter-number.completed{color:var(--teal);background:#103837}[data-theme=dark] .current-pill{background:#1e3557;color:#93c5fd}
@media(min-width:1600px){.course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-line h1{font-size:27px}}
@media(max-width:1199px){:root{--sidebar:0px;--header-compact:68px;--header-expanded:260px;--header-collapse-range:192px}.sidebar{padding:24px 13px}.brand{margin:0 auto 25px}.brand img{width:43px;height:43px}.brand>span,.sidebar-label,.sidebar .side-link>span,.sidebar .side-link i,.member-mini,.sidebar-account>span,.sidebar-account>svg{display:none}.side-link{justify-content:center;padding:13px;min-height:53px}.sidebar-divider{margin:17px 5px}.sidebar-account{justify-content:center;margin-top:auto;padding-top:20px}.topbar-row{padding:0 26px}.page-content{padding:28px 26px 45px}.profile-hero.topbar-hero{padding-left:26px;padding-right:26px}.course-grid,.news-grid,.group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.detail-layout{grid-template-columns:minmax(0,1.1fr) minmax(270px,1fr);gap:24px}.detail-action-card{flex-direction:column;align-items:stretch}.detail-action-card .btn{width:100%}.course-fixed-dock-bar{padding-left:26px;padding-right:26px}.course-detail h1{font-size:23px}.lesson-layout{grid-template-columns:210px minmax(0,1fr)}.lesson-reader{padding:30px 26px 60px}.lesson-outline{padding-left:12px;padding-right:12px}.lesson-outline h3{font-size:12px}.auth-page{gap:30px}.auth-visual h2{font-size:25px}.auth-visual img{width:230px}.plan-card{padding:20px}.plan-card>strong{font-size:20px}}
@media(max-width:767px){:root{--sidebar:0px;--header-compact:64px;--header-expanded:256px;--header-collapse-range:192px}.sidebar{display:none}.main-shell{margin-left:0;padding-bottom:108px}.topbar-row{padding:0 14px;gap:8px}.topbar-title{gap:8px}.topbar-title>strong,.topbar-title-text{font-size:15px}.topbar-symbol{display:flex}.topbar-title .icon-btn{width:42px;min-width:42px}.mobile-menu{display:inline-flex}.topbar-actions{gap:1px}.topbar-actions .icon-btn{width:42px;min-width:42px}.topbar-avatar{display:none}.page-content{padding:26px 20px 34px}.profile-hero.topbar-hero{padding:4px 18px 14px}.profile-line{gap:13px}.profile-line .avatar,.news-hero-badge{width:54px;height:54px}.profile-line small{font-size:10px}.profile-line h1{font-size:17px;line-height:1.45}.profile-line p{font-size:11px;line-height:1.5}.profile-stats{padding:9px 4px;border-radius:18px;margin-top:auto}.profile-stats strong{font-size:17px}.profile-stats span{font-size:10px}.profile-stats>a,.profile-stats>.stat-pill{column-gap:4px}.profile-stats>a>svg{width:16px}.profile-stats>a:last-child>svg{width:22px}.section-heading{margin-bottom:18px;gap:10px}.section-heading h2{font-size:22px}.section-heading p{font-size:11px;line-height:2}.filter-bar{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:20px}.search-field{max-width:none;min-height:45px}.chip{padding:8px 17px;min-height:40px;font-size:11px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:32px}.course-card{border-radius:19px}.course-card-body{padding:15px 13px}.course-card h3{font-size:13px;margin:8px 0 14px;line-height:1.95}.course-label{font-size:9px;line-height:1.9}.course-card-meta{font-size:9px;gap:4px;flex-wrap:wrap}.course-card-meta strong{font-size:11px}.course-card-meta svg{width:12px}.course-card-meta>span{font-size:9px}.save-button{height:32px;width:32px;top:8px;right:8px}.save-button svg{width:17px}.art-label{font-size:15px;top:14%;left:8%}.art-caption{bottom:13%;gap:4px}.art-caption>span{font-size:6px;letter-spacing:1.2px}.art-caption strong{font-size:12px}.art-symbol{padding:7px;right:12%;top:27%;border-radius:17px}.art-symbol svg{width:33px;height:33px}.art-spark{font-size:21px}.chatgpt-art .art-tier{display:none}.art-tier{font-size:7px;left:9px;top:9px;padding:4px 8px}.certificate-mark{right:7px;bottom:8px;padding:5px;border-radius:10px}.certificate-mark span{display:none}.certificate-mark svg{width:20px;height:20px}
.bottom-dock-veil{display:block;position:fixed;left:0;right:0;bottom:0;height:calc(92px + env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--bg) 82%,transparent) 60%,var(--bg) 100%);pointer-events:none;z-index:28}
.bottom-dock{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(340px,calc(100vw - 52px));height:68px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:linear-gradient(115deg,#2b3962f2 0%,#222b4af2 38%,#252143f2 72%,#171d35f5 100%);border:1px solid #aec8ff45;border-radius:40px;padding:6px 9px;box-shadow:0 12px 36px #0c183045;backdrop-filter:blur(22px);z-index:30;overflow:hidden}.dock-glint{position:absolute;top:0;left:22px;right:22px;height:1px;background:linear-gradient(90deg,transparent,#ffffff33,transparent);pointer-events:none}.dock-indicator{position:absolute;top:6px;bottom:6px;left:9px;width:calc((100% - 18px - 12px)/4);transform:translate3d(calc(var(--dock-slot,0) * (100% + 4px)),0,0);transition:transform 280ms cubic-bezier(.22,1,.36,1);display:grid;place-items:center;pointer-events:none;z-index:0;will-change:transform}.dock-indicator-orb{width:48px;height:48px;border-radius:50%;background:linear-gradient(140deg,#f7fafff5,#b8c6dcdd);border:1px solid #fff;box-shadow:0 2px 12px #ffffff38,inset 0 0 0 4px #ffffff1a}.bottom-dock>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#d7e2f9;min-width:0;position:relative;z-index:1;transition:transform 90ms cubic-bezier(.2,0,0,1),color 180ms ease}.bottom-dock>a:active{transform:scale(.88)}.bottom-dock>a>span{width:48px;height:48px;border-radius:50%;display:grid;place-items:center}.bottom-dock small{display:none;font:8px system-ui}.bottom-dock>a.selected{color:#1d2c4b}.bottom-dock.is-subpage{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:130px;max-width:180px;height:52px;padding:4px 20px;border-radius:40px;grid-template-columns:none;gap:0}.dock-close-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:13px;font-weight:650;background:transparent;border:0;cursor:pointer;width:100%;height:100%;padding:0;white-space:nowrap;transition:transform 90ms ease,color .16s ease}.dock-close-pill:hover{color:#eff5ff}.dock-close-pill:active{transform:scale(.92)}.dock-close-pill svg{color:#aec8ff;width:18px;height:18px;transition:transform .18s ease}.dock-close-pill:hover svg{transform:rotate(90deg)}
.resume-card{padding:16px;gap:13px;margin-bottom:28px}.resume-copy>strong{font-size:13px}.resume-thumb{width:65px;height:78px}.resume-copy>small{font-size:9px}.prompt-grid{grid-template-columns:1fr}.prompt-tile{padding:20px}.prompt-tile h3{font-size:14px}.prompt-tile p{font-size:11px}.detail-layout{display:flex;flex-direction:column;gap:26px}.detail-cover{border-radius:23px}.detail-cover .art-label{font-size:24px}.detail-cover .art-caption strong{font-size:22px}.detail-cover .art-caption>span{font-size:8px}.detail-cover .art-symbol{transform:rotate(-8deg);padding:13px;top:25%}.detail-cover .art-symbol svg{height:60px;width:60px}.detail-cover .chatgpt-art .art-tier{display:block;inset:auto 20px 20px auto;font-size:8px}.detail-tags{margin-top:20px;font-size:10px;gap:10px}.detail-tags .badge{font-size:10px}.course-detail h1{font-size:24px;line-height:1.9}.course-description{font-size:13px;line-height:2.2;margin:20px 0}.detail-action-card{padding:20px;gap:17px}.detail-action-card .price{font-size:25px}.detail-action-card .course-cta-group{width:100%;display:flex;flex-direction:column;gap:10px}.detail-action-card .course-cta-group .btn{width:100%}.main-shell[data-page="course"] .detail-action-card{display:none!important}.course-fixed-dock{display:flex;position:fixed;left:0;right:0;bottom:calc(12px + env(safe-area-inset-bottom));padding:0 12px;opacity:1;transform:translate3d(0,0,0);pointer-events:auto;z-index:45;justify-content:center}.course-fixed-dock-bar{width:100%;margin:0;border-radius:20px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid color-mix(in srgb,var(--line) 75%,var(--blue) 25%);box-shadow:0 10px 30px rgba(15,30,60,.16);padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.course-fixed-dock-veil{display:block;position:fixed;left:0;right:0;bottom:0;height:calc(96px + env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--bg) 82%,transparent) 50%,var(--bg) 100%);pointer-events:none;z-index:-1}.main-shell[data-page="course"] .page-content.course-detail{padding-bottom:120px!important}.curriculum-panel{padding:21px}.chapter-list a{padding:17px 0}.chapter-list strong{font-size:12px}.chapter-list small{font-size:10px}.lesson-layout{display:block}.lesson-outline{display:none}.lesson-reader{padding:26px 22px calc(115px + env(safe-area-inset-bottom,0px))}.main-shell:is([data-page=course],[data-page=lesson],[data-page=payment],[data-page=login],[data-page=article]){padding-bottom:0}.main-shell:is([data-page=course],[data-page=lesson],[data-page=payment],[data-page=login],[data-page=article]) :is(.bottom-dock,.bottom-dock-veil){display:none}.main-shell[data-page=lesson] .topbar-symbol{display:none}.document{font-size:calc(15px * var(--reader-scale))}.mission-heading h1{font-size:23px}.mission-heading p{font-size:12px}.mission-meta{font-size:10px;margin-bottom:21px}.mission-dots{gap:4px}.mission-dots span{width:17px;height:4px}.mission-dots .current{width:23px}.document-blocks{gap:18px}.document-blocks>.btn{width:100%}.document-blocks p{line-height:2.2}.mission-footer{margin-top:26px;padding-top:23px}.mission-actions{gap:10px;padding:8px 10px}.mission-actions .btn{min-width:0;padding:10px 12px;font-size:12px;min-height:48px}.mission-actions .btn svg{width:18px}.confirmation{font-size:12px;padding:15px 14px}.prompt-block{padding:21px}.prompt-block p{font-size:14px}.prompt-block .btn{width:100%;margin-right:0}.doc-grid[data-columns="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-row>*{flex:1 1 140px}.news-grid{grid-template-columns:1fr}.news-copy h2{font-size:18px}.news-copy .course-label{font-size:10px}.article-reader h1{font-size:25px;line-height:1.9}.article-reader{font-size:calc(15px * var(--reader-scale))}.reader-meta{font-size:10px;gap:10px}.auth-page{display:block;padding:22px;min-height:auto}.auth-card{padding:24px 22px;border-radius:24px}.auth-visual{display:none}.auth-card h1{font-size:21px}.auth-card>p{font-size:11px}.workspace-row{padding:20px 17px;gap:12px}.workspace-row strong{font-size:13px}.workspace-row small{font-size:10px}.workspace-row>.btn{font-size:10px;padding:7px 10px}.profile-card{padding:21px;gap:15px}.profile-card h2{font-size:18px}.profile-card p{font-size:10px}.profile-form{flex-direction:column;align-items:stretch;padding:20px}.profile-form .field{width:100%}.member-hero{padding:25px 22px;border-radius:25px;overflow:hidden;min-height:200px}.member-hero h1{font-size:38px}.member-hero p{font-size:11px;line-height:2}.member-hero>img{width:145px;max-width:45%;margin-right:-16px}.member-hero .eyebrow{font-size:13px}.membership-benefits{gap:15px;margin:22px 0}.membership-benefits>div{padding:10px}.membership-benefits h3{font-size:13px}.membership-benefits p{font-size:11px}.membership-page>.muted{font-size:11px;line-height:2}.plan-grid{grid-template-columns:1fr;gap:13px}.plan-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px 12px}.plan-card>span{font-size:13px}.plan-card>strong{font-size:21px;grid-column:1}.plan-card .btn{grid-column:2;grid-row:1/3;margin:0;font-size:12px}.certificate-grid{grid-template-columns:1fr}.summary-stats{gap:9px}.summary-stats>div{padding:17px 14px;border-radius:17px}.summary-stats strong{font-size:25px}.summary-stats span{font-size:10px}.group-grid{grid-template-columns:1fr}.payment-page{padding:24px 20px}.payment-card{padding:25px 20px}.payment-card h1{font-size:18px}.payment-price{font-size:27px}.payment-status h2{font-size:17px}.payment-status p{font-size:11px}
.chat-workspace{height:calc(100dvh - var(--header-compact) - 100px);max-width:none}.chat-toolbar{padding:15px 17px}.segmented button{padding:8px 15px;font-size:11px}.chat-messages{padding:15px 20px}.chat-empty{gap:18px}.chat-empty h2{font-size:22px}.chat-brand{width:70px;height:70px;border-radius:24px}.quick-prompts{flex-direction:column;align-items:stretch;gap:10px}.message{max-width:90%;margin-bottom:18px}.message>div{padding:13px 16px;font-size:13px}.message small{font-size:9px}.chat-composer{padding:10px 15px}.composer-input{border-radius:22px}.composer-input textarea{font-size:12px;padding:11px 2px}.composer-input .icon-btn{width:41px;min-width:41px}.send-btn{width:43px;min-width:43px;height:43px}.chat-workspace .attachment-preview img{height:60px}.toast{bottom:calc(100px + env(safe-area-inset-bottom));font-size:12px}.dialog-panel{top:auto;bottom:0;left:0;transform:none;width:100%;max-height:88dvh;padding:30px 24px calc(27px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0}.dialog-panel>h2{font-size:20px}.skeleton-grid{padding:24px 20px;grid-template-columns:1fr 1fr;gap:15px}.hero-skeleton{height:185px}.card-skeleton{height:230px}.card-skeleton:last-child{display:none}.doc-modal{align-items:end;padding:0}.doc-modal-body{border-radius:26px 26px 0 0;padding:30px 24px;max-height:85dvh}}
@media(max-width:374px){.page-content{padding-left:16px;padding-right:16px}.profile-hero.topbar-hero{padding-left:14px;padding-right:14px}.topbar-row{padding-left:8px;padding-right:8px}.topbar-title{gap:4px}.topbar-title>strong{font-size:14px}.topbar-actions .icon-btn{width:37px;min-width:37px}.course-grid{gap:10px}.course-card h3{font-size:12px}.art-symbol{right:8%}.art-caption strong{font-size:11px}.course-card-body{padding:13px 11px}.lesson-reader{padding-left:18px;padding-right:18px;padding-bottom:calc(115px + env(safe-area-inset-bottom,0px))}.mission-heading h1{font-size:21px}}
.course-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,calc((100% - 44px)/3));grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;overscroll-behavior-x:contain}.course-carousel>.course-card{scroll-snap-align:start}.final-form h2{font-size:20px;margin:26px 0 15px}.final-form>p{margin-bottom:25px}.review-answers blockquote{white-space:pre-wrap;padding:15px;background:var(--soft);border-radius:12px;margin:14px 0}#google-signin{display:flex;justify-content:center;min-height:44px;margin:18px 0 12px}.auth-options{display:flex;flex-direction:column;margin:10px 0 16px}.auth-options .or{margin:16px 0 8px}.group-card:hover{border-color:#a5c5f0}
@media(max-width:1199px){.course-carousel{grid-auto-columns:minmax(260px,calc((100% - 20px)/2))}}
@media(max-width:767px){.course-carousel{display:grid;grid-auto-columns:84%;grid-template-columns:none;gap:16px;overflow-x:auto;margin-right:-20px;padding-right:20px}.course-carousel .course-card-body{padding:20px}.course-carousel .course-card h3{font-size:17px;margin:8px 0 20px}.course-carousel .course-label{font-size:11px}.course-carousel .course-card-meta strong{font-size:14px}.course-carousel .course-card-meta>span{font-size:11px}.course-carousel .art-label{font-size:23px}.course-carousel .art-caption strong{font-size:20px}.course-carousel .art-caption>span{font-size:8px}.course-carousel .art-symbol{padding:12px;right:12%;top:25%}.course-carousel .art-symbol svg{width:52px;height:52px}.course-carousel .save-button{width:40px;height:40px;right:12px;top:12px}.course-carousel .art-tier{font-size:9px;padding:5px 9px}.final-form h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}.spinner{border-top-color:currentColor;opacity:.6}}
@media print{.sidebar,.topbar,.bottom-dock,.bottom-dock-veil,.course-fixed-dock,.btn,.toast{display:none!important}.main-shell{margin:0;padding:0!important}.page-content{max-width:none;padding:0}.certificate-card{break-inside:avoid}body{background:white;color:black}}
:root .identity-panel{margin-block:20px}
.identity-method{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--line)}
.identity-method>div{min-width:0;flex:1}.identity-method small{display:block;overflow-wrap:anywhere;margin-top:6px;line-height:1.7;color:var(--muted,#68758b)}
.identity-status{font-size:.82rem;color:var(--blue);white-space:nowrap}.identity-method .btn{flex-shrink:0}
@media(max-width:540px){.identity-method{align-items:stretch;flex-direction:column;gap:10px}.identity-method .btn{width:100%}}
.tutor-member-preview{padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}
.tutor-member-preview h3{font-size:17px;margin:12px 0 8px}.tutor-member-preview p{line-height:1.85}.tutor-member-preview small{display:block;color:var(--muted);margin-top:10px;line-height:1.8}
.tutor-preview-actions{display:flex;flex-wrap:wrap;gap:10px}.tutor-preview-actions .btn{min-height:48px;flex:1 1 170px}
button.workspace-row{width:100%;text-align:left;background:transparent;border:none;font:inherit;color:inherit;cursor:pointer}
button.workspace-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.account-group{margin-bottom:22px}
.account-group-title{font-size:12px;font-weight:650;color:var(--muted);margin-bottom:8px;padding-left:6px;letter-spacing:0.01em}
.account-group .workspace-list{margin-bottom:0}
.workspace-row.danger{color:#d94b5d}
.workspace-row.danger:hover{background:#d94b5d0c}
.workspace-row.danger .row-icon,.row-icon.danger{background:#d94b5d14;color:#d94b5d}
.workspace-row.danger strong{color:#d94b5d}
.workspace-row.danger small{color:#a1535e}
.workspace-row.danger>svg{color:#d94b5d}
.account-note{display:flex;align-items:flex-start;gap:8px;padding:12px 20px 16px;font-size:11px;color:var(--muted);line-height:1.85}
.account-note svg{color:var(--blue);flex-shrink:0;margin-top:2px}
.account-avatar-wrapper{position:relative;display:inline-block;cursor:pointer;flex-shrink:0}
.account-avatar-wrapper .avatar.big{width:86px;height:86px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,0.08);display:block}
.account-avatar-badge{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,0.15);transition:transform .15s ease}
.account-avatar-wrapper:hover .account-avatar-badge{transform:scale(1.08)}
.profile-card-details{min-width:0;flex:1}
.btn.danger-filled,.btn.danger:not(.outline){background:#d94b5d;color:#fff;border-color:#d94b5d;box-shadow:0 4px 12px #d94b5d26}
.btn.danger-filled:hover:not(:disabled),.btn.danger:not(.outline):hover:not(:disabled){filter:brightness(.92)}
.btn.danger:disabled,.btn.danger-filled:disabled{opacity:0.45;cursor:not-allowed}
.badge.positive{background:#eaf7f2;color:#158055}
[data-theme=dark] .badge.positive{background:#153327;color:#5ce1a6}
.dialog-desc{font-size:13px;line-height:1.85;color:var(--muted);margin:8px 0 18px}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.checkout-methods{display:flex;flex-direction:column;gap:10px;margin:16px 0}
.checkout-method-option{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border-radius:18px;border:1.5px solid var(--line);background:var(--surface);cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease;user-select:none}
.checkout-method-option:hover{background:var(--soft);border-color:#b9cdec}
.checkout-method-option.selected,.checkout-method-option:has(input:checked){background:color-mix(in srgb,var(--blue) 8%,var(--surface));border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.checkout-method-option input[type="radio"]{margin-top:3px;accent-color:var(--blue);width:18px;height:18px;cursor:pointer}
.method-info{flex:1;min-width:0}
.method-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.method-title{font-size:14.5px;font-weight:700;color:var(--ink)}
.method-badges{font-size:11px;font-weight:600;padding:2px 8px;border-radius:8px;background:var(--soft);color:var(--blue);border:1px solid color-mix(in srgb,var(--blue) 25%,transparent)}
.method-desc{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
.card-payment-logo{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 20px}
.card-payment-logo .badge{font-size:14px;padding:6px 14px;border-radius:12px}

/* ============================================================
   ChatGPT Course Prompt Assessment & Validation System
   ============================================================ */
.prompt-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.prompt-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 650;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, transparent);
  padding: 6px 14px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--blue) 20%, transparent);
}

.prompt-hint {
  font-size: 11.5px;
  color: var(--muted);
}

.prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.prompt-actions .btn {
  margin: 0;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.prompt-actions .btn.primary {
  background: var(--blue);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--blue) 30%, transparent);
}

.prompt-actions .btn.primary:hover {
  background: #2364b9;
  transform: translateY(-1px);
}

.prompt-actions .btn.outline {
  background: var(--surface);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.prompt-actions .btn.outline:hover {
  background: var(--soft);
}

.prompt-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.prompt-playground-panel {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid color-mix(in srgb, var(--blue) 25%, var(--line));
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  animation: valFadeIn 0.25s ease;
}

@keyframes valFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.playground-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.playground-field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.playground-field textarea {
  width: 100%;
  min-height: 85px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13.5px;
  line-height: 1.6;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.playground-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent);
}

.playground-run-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.validation-result-container {
  margin-top: 16px;
  animation: valFadeIn 0.25s ease;
}

.val-card {
  border-radius: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.val-card.val-excellent {
  border-color: #10b981;
  background: color-mix(in srgb, #10b981 4%, var(--surface));
}

.val-card.val-good {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 4%, var(--surface));
}

.val-card.val-needs_improvement {
  border-color: #f59e0b;
  background: color-mix(in srgb, #f59e0b 5%, var(--surface));
}

.val-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.val-score-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.val-score-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.val-card.val-excellent .val-score-num { color: #10b981; }
.val-card.val-good .val-score-num { color: var(--blue); }
.val-card.val-needs_improvement .val-score-num { color: #d97706; }
[data-theme=dark] .val-card.val-needs_improvement .val-score-num { color: #fbbf24; }

.val-score-total {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.val-status-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.val-status-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.val-status-info small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

.val-bar-track {
  height: 6px;
  width: 100%;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}

.val-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.35s ease;
}

.val-bar-fill.val-excellent { background: #10b981; }
.val-bar-fill.val-good { background: var(--blue); }
.val-bar-fill.val-needs_improvement { background: #f59e0b; }

.val-section {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.val-section h4 {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.val-list {
  margin: 0;
  padding-left: 20px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
}

.val-list.strengths li {
  color: var(--ink);
}

.val-list.missing li {
  color: #b45309;
  font-weight: 500;
}

[data-theme=dark] .val-list.missing li {
  color: #fbbf24;
}

.val-section.val-correction {
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--blue) 30%, var(--line));
}

.val-correction-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.val-correction-body code {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 11.5px;
  border-radius: 6px;
}

.val-section.val-output {
  background: var(--surface);
  border: 1px solid var(--line);
}

.val-sim-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
  background: var(--soft);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  max-height: 280px;
  overflow-y: auto;
}

.val-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.practice-sub-mode-bar {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  background: var(--soft);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.practice-sub-mode-bar button {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.practice-sub-mode-bar button.selected {
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


/* Modern Step Header Back Icon */
.mission-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission-back-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 0;
}

.mission-back-icon-btn:hover:not(:disabled) {
  background: var(--soft);
  color: var(--blue);
  border-color: color-mix(in srgb, var(--line) 60%, var(--blue) 40%);
  transform: translateX(-2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mission-back-icon-btn:active:not(:disabled) {
  transform: translateX(-1px) scale(0.96);
}

.mission-back-icon-btn:disabled,
.mission-back-icon-btn.is-disabled {
  opacity: 0.32;
  cursor: not-allowed;
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.mission-step-indicator {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* Quiz Question View Enhancements */
.quiz-header-badge {
  margin-bottom: 14px;
}

.quiz-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
}

.quiz-prompt-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 18px;
}

.choice-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 6px;
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all 0.15s ease;
}

.choice.selected .choice-num,
.choice:has(input:checked) .choice-num {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.choice-label {
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
}

.quiz-submit-btn {
  margin-top: 20px;
  min-height: 50px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Quiz Evaluating State (Thrilling Radar Pulse) */
.quiz-evaluating {
  padding: 30px 10px 40px;
  display: flex;
  justify-content: center;
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quiz-evaluating-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #182236 0%, #0f172a 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 24px;
  padding: 44px 28px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.2);
}

.quiz-radar-spinner {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #6366f1;
  opacity: 0;
  animation: radarPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.radar-pulse.delay-1 {
  animation-delay: 0.9s;
}

.radar-core {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.65);
  z-index: 2;
}

@keyframes radarPulse {
  0% {
    transform: scale(0.5);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.evaluating-title {
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 8px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.evaluating-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0 0 24px;
  line-height: 1.5;
}

.evaluating-bar {
  width: 100%;
  max-width: 260px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.evaluating-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  border-radius: 999px;
  animation: shimmerFill 1.3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shimmerFill {
  0% {
    left: -40%;
    width: 40%;
  }
  50% {
    left: 20%;
    width: 65%;
  }
  100% {
    left: 100%;
    width: 40%;
  }
}

/* Quiz Evaluated Screens (Vivid Success / Error Overhauls) */
.quiz-evaluated-screen {
  padding: 10px 0 20px;
}

.quiz-result-card {
  border-radius: 22px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.quiz-result-card.correct-card {
  background: linear-gradient(180deg, color-mix(in srgb, #10b981 9%, var(--surface)) 0%, var(--surface) 100%);
  border: 2px solid #10b981;
  box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.22), 0 0 0 1px rgba(16, 185, 129, 0.15);
}

.quiz-result-card.incorrect-card {
  background: linear-gradient(180deg, color-mix(in srgb, #ef4444 8%, var(--surface)) 0%, var(--surface) 100%);
  border: 2px solid #ef4444;
  box-shadow: 0 16px 36px -10px rgba(239, 68, 68, 0.2), 0 0 0 1px rgba(239, 68, 68, 0.15);
}

.quiz-result-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 10px;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.quiz-badge.success-badge {
  background: #10b981;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.quiz-badge.error-badge {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.quiz-points-pill {
  font-size: 12.5px;
  font-weight: 750;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.quiz-hint-pill {
  font-size: 12px;
  font-weight: 650;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.quiz-result-hero {
  text-align: center;
  margin-bottom: 24px;
}

.quiz-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-icon-circle.success-circle {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.42);
}

.quiz-icon-circle.error-circle {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.42);
}

.cross-icon {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.quiz-result-hero h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.quiz-congrats-sub,
.quiz-encouragement {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.quiz-insight-box {
  background: var(--soft);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
}

.quiz-insight-box.error-insight {
  border-left: 3px solid #ef4444;
}

.correct-card .quiz-insight-box {
  border-left: 3px solid #10b981;
}

.insight-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.insight-icon {
  font-size: 15px;
}

.insight-explanation {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0;
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-continue-btn {
  height: 52px;
  font-size: 15px;
  font-weight: 750;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: none !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.38) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.quiz-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.48) !important;
}

.quiz-retry-btn {
  height: 52px;
  font-size: 15px;
  font-weight: 750;
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: none !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.38) !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.quiz-retry-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.48) !important;
}

/* Animations */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-pop-in {
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shakeIn {
  0% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}

.animate-shake-in {
  animation: popIn 0.25s ease-out, shakeIn 0.42s 0.12s ease-in-out;
}


/* Platform Setup Cards & Recommendations */
.doc-card {
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.doc-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.recommended-platform-card {
  border-color: var(--blue) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 5%, var(--surface)) 0%, var(--surface) 100%) !important;
  box-shadow: 0 8px 24px rgba(23, 97, 197, 0.12) !important;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card-header-row h3 {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.2px;
}

.platform-recommend-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent);
  box-shadow: 0 2px 6px rgba(23, 97, 197, 0.1);
}

.doc-card .btn {
  width: 100%;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.platform-alt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 6px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.platform-alt-row:hover {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  background: color-mix(in srgb, var(--soft) 80%, var(--surface));
}

.platform-alt-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.platform-alt-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.platform-alt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.platform-alt-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.platform-alt-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-alt-btn {
  flex-shrink: 0;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px !important;
  min-height: 48px !important;
  background: var(--blue) !important;
  border: 1px solid var(--blue) !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(23, 97, 197, 0.25);
  transition: all 0.15s ease;
}

.platform-alt-btn:hover {
  background: color-mix(in srgb, var(--blue) 85%, #000) !important;
  border-color: color-mix(in srgb, var(--blue) 85%, #000) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(23, 97, 197, 0.35);
}

/* Course location stays visible above the current task, including on phones. */
.lesson-progress-context{position:sticky;top:var(--header-compact);z-index:20;max-width:780px;margin:0 auto 18px;padding:12px 0 10px;background:var(--bg);border-bottom:1px solid var(--line)}
.lesson-progress-location{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;font-size:12px;line-height:1.9;margin-bottom:8px}
.lesson-progress-leading{display:inline-flex;align-items:center;gap:8px;min-width:0}
.lesson-progress-back{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:28px;padding:0;border-radius:50%;background:color-mix(in srgb,var(--blue) 10%,transparent);color:var(--blue);border:none;cursor:pointer;transition:transform 90ms ease,background-color .15s ease}
.lesson-progress-back:hover:not(:disabled){background:color-mix(in srgb,var(--blue) 20%,transparent);transform:scale(1.06)}
.lesson-progress-back:active:not(:disabled){transform:scale(0.92)}
.lesson-progress-back:disabled,.lesson-progress-back.is-disabled{opacity:0.25;cursor:default;pointer-events:none}
.lesson-progress-location strong{color:var(--blue);font-size:13px;font-weight:700}
.lesson-progress-location>span{color:var(--muted)}
.lesson-progress-context progress{height:4px}
.lesson-progress-context progress::-webkit-progress-value{background:var(--blue)}
.lesson-progress-context progress::-moz-progress-bar{background:var(--blue)}
.lesson-progress-context small{display:block;color:var(--muted);font-size:10px;margin-top:6px}
.lesson-progress-caption{display:flex;justify-content:space-between;gap:4px 12px;flex-wrap:wrap}
.lesson-progress-context+.document .mission-meta{margin-bottom:12px}
@media(min-width:768px){.lesson-progress-context{top:0;padding-top:14px}}
@media(max-width:767px){
  .main-shell[data-page="lesson"] .lesson-reader{padding-top:0!important}
  .lesson-progress-context{
    margin:0 -22px 18px;
    padding:8px 22px 10px;
    background:var(--bg);
    border-bottom:1px solid var(--line);
    box-shadow:0 4px 14px rgba(15,30,60,0.06);
    top:var(--header-compact);
  }
}
@media(max-width:374px){
  .lesson-progress-context{
    margin-left:-18px;
    margin-right:-18px;
    padding-left:18px;
    padding-right:18px;
  }
}

/* Course rating (Google Maps style, rating only) */
.course-rating-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:20px 22px;margin:18px 0;box-shadow:0 6px 24px #0f1e3d0a}
.course-rating-card.review-card-highlight{animation:reviewCardPulse 1.6s ease-in-out;border-color:var(--blue)}
@keyframes reviewCardPulse{0%,100%{box-shadow:0 6px 24px #0f1e3d0a}50%{box-shadow:0 0 0 4px #1761c540}}
.rating-heading{font-size:15px;font-weight:700;margin-bottom:14px}
.rating-summary{display:flex;align-items:center;gap:22px}
.rating-score{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:92px}
.rating-score strong{font-size:46px;line-height:1.15;font-weight:800;color:var(--ink)}
.rating-score-stars{display:flex;gap:1px}
.rating-bars{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.rating-bar-row{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.rating-bar-row>span{width:10px;text-align:right}
.rating-bar-track{flex:1;height:7px;border-radius:99px;background:var(--soft);overflow:hidden}
.rating-bar-fill{height:100%;border-radius:99px;background:#f59e0b;transition:width .4s cubic-bezier(.22,1,.36,1)}
.rating-picker{margin-top:16px;padding-top:16px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.rating-picker-title{font-size:13px;font-weight:650}
.rating-picker-stars{display:flex;gap:6px}
.rating-star{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;cursor:pointer;transition:transform .12s ease,background-color .15s ease}
.rating-star:hover{transform:scale(1.12);background:var(--soft)}
.rating-star:active{transform:scale(.94)}
.rating-star:focus-within{outline:3px solid #39a1ff;outline-offset:2px}
@media(max-width:540px){.rating-summary{gap:14px}.rating-score strong{font-size:40px}.rating-score{min-width:80px}}

/* Dark-mode surfaces that were hard-coded light */
[data-theme=dark] .mobile-drawer{background:var(--bg)}
[data-theme=dark] .drawer-card{background:var(--surface)}
[data-theme=dark] .drawer-row-divider{background:var(--line)}
[data-theme=dark] .drawer-member-card{background:linear-gradient(135deg,#243556,#2a2f5a 50%,#203a4f);border-color:#4a5a8a}
[data-theme=dark] .drawer-member-title{color:#e8e4ff}
[data-theme=dark] .drawer-member-action,[data-theme=dark] .drawer-row-icon,[data-theme=dark] .drawer-row-badge{color:#b7a8ff}
[data-theme=dark] .qr-action-card.camera-card,[data-theme=dark] .qr-action-card.gallery-card{background:var(--soft);border-color:var(--line)}
[data-theme=dark] .qr-action-icon{background:var(--surface)}
[data-theme=dark] .finished-icon{background:#103837}
[data-theme=dark] .doc-callout{border-color:var(--line)}
[data-theme=dark] .certificate-card{border-color:var(--line)}
[data-theme=dark] .lesson-outline .chapter-badge.completed{background:#103837;color:var(--teal)}
[data-theme=dark] .composer-input{border-color:var(--line)}

/* Burmese legibility floor on phones */
@media(max-width:767px){
  .course-label,.course-card-meta>span,.art-tier,.prompt-tile p,.workspace-row small,.message small,.reader-meta,.profile-line small,.chapter-list small,.lesson-progress-context small{font-size:max(11px,1em)}
  .course-card-meta,.mission-meta{font-size:11px}
}

/* Mid-course resume shortcut (revisiting a confirmed step) */
.mission-resume-next-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-left:auto;padding:8px 16px;border-radius:14px;background:var(--blue);color:#fff;font-weight:700;font-size:13px;box-shadow:0 4px 14px color-mix(in srgb,var(--blue) 32%,transparent)}
.confirmation.is-resume{align-items:center}

/* Course options sheet */
.course-options-sheet{display:flex;flex-direction:column;gap:16px}
.course-options-summary{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:20px;background:linear-gradient(115deg,color-mix(in srgb,var(--blue) 10%,var(--surface)),color-mix(in srgb,var(--teal) 8%,var(--surface)));border:1px solid var(--line)}
.course-options-summary>strong{font-size:16px;line-height:1.7}
.course-options-chips{display:flex;flex-wrap:wrap;gap:8px}
.course-options-list{margin:0}
.course-options-list .workspace-row{min-height:56px;padding:14px 18px;justify-content:space-between;width:100%;text-align:left;background:transparent;border:0;color:var(--ink)}
.course-options-list .workspace-row>span:first-child{display:inline-flex;align-items:center;gap:12px;font-weight:650}
.course-options-list .workspace-row svg{color:var(--blue)}

/* Topbar Course Close button */
.topbar-course-close{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 90ms ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  margin-left: 2px;
}
.topbar-course-close:hover{
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--blue) 40%, var(--line));
  color: var(--blue);
}
.topbar-course-close:active{
  transform: scale(.9);
}

/* Home Floating Sticky Continue Course Dock */
.home-floating-course-dock{
  position: fixed;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100vw - 32px));
  z-index: 35;
  pointer-events: auto;
  animation: hfcdSlideUp 260ms cubic-bezier(.16, 1, .3, 1);
}
@keyframes hfcdSlideUp{
  from{
    opacity: 0;
    transform: translate(-50%, 14px) scale(.98);
  }
  to{
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
.hfcd-inner{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 26px;
  background: linear-gradient(115deg, rgba(33, 44, 76, 0.95) 0%, rgba(24, 30, 52, 0.95) 48%, rgba(28, 26, 52, 0.95) 100%);
  border: 1px solid rgba(174, 200, 255, 0.32);
  box-shadow: 0 14px 38px rgba(10, 22, 45, 0.42), 0 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
}
[data-theme="light"] .hfcd-inner{
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.96) 100%);
  border: 1px solid rgba(75, 110, 185, 0.22);
  box-shadow: 0 12px 34px rgba(20, 45, 90, 0.18), 0 2px 6px rgba(0, 0, 0, 0.05);
  color: var(--ink);
}
.hfcd-icon-box{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.35);
  flex-shrink: 0;
}
[data-theme="light"] .hfcd-icon-box{
  background: #e8f0fe;
  color: #1a73e8;
  border-color: #b8d4fe;
}
.hfcd-info{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  cursor: pointer;
}
.hfcd-label{
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #93c5fd;
  line-height: 1.2;
}
[data-theme="light"] .hfcd-label{
  color: #1a73e8;
}
.hfcd-title{
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1f5f9;
}
[data-theme="light"] .hfcd-title{
  color: #0f172a;
}
.hfcd-actions{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hfcd-continue-btn{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
  white-space: nowrap;
  transition: transform 90ms ease, filter 150ms ease;
}
.hfcd-continue-btn:hover{
  filter: brightness(1.08);
}
.hfcd-continue-btn:active{
  transform: scale(.94);
}
.hfcd-continue-btn svg{
  color: #fff;
  stroke-width: 2.2;
}
.hfcd-close-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  cursor: pointer;
  transition: transform 90ms ease, background-color 150ms ease, color 150ms ease;
  flex-shrink: 0;
}
[data-theme="light"] .hfcd-close-btn{
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: #64748b;
}
.hfcd-close-btn:hover{
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.hfcd-close-btn:active{
  transform: scale(.88);
}
@media(max-width: 380px){
  .home-floating-course-dock{
    width: calc(100vw - 20px);
  }
  .hfcd-inner{
    padding: 8px 10px;
    gap: 8px;
  }
  .hfcd-continue-btn span{
    display: none;
  }
  .hfcd-continue-btn{
    padding: 7px 10px;
  }
  .hfcd-continue-btn::after{
    content: 'လေ့လာမည်';
  }
}

/* Document Clickable Image */
.doc-clickable-image{
  cursor: pointer;
  display: block;
  border-radius: inherit;
  transition: opacity .2s ease, transform .15s ease;
}
.doc-clickable-image:hover{
  opacity: .92;
}
.doc-clickable-image:active{
  transform: scale(.99);
}

/* Document Poll Component */
.doc-poll{
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.doc-poll .poll-header{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-poll .poll-badge{
  align-self: flex-start;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
}
.doc-poll .poll-question{
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.doc-poll .poll-options{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc-poll .poll-option{
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  background: var(--surface);
  transition: border-color .2s ease, transform .1s ease;
  user-select: none;
}
.doc-poll .poll-option:hover:not(.has-voted){
  border-color: var(--blue);
}
.doc-poll .poll-option.voted-mine{
  border-color: var(--blue);
}
.doc-poll .poll-bar{
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: color-mix(in srgb, var(--blue) 14%, var(--soft));
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
  border-radius: inherit;
  z-index: 1;
}
.doc-poll .poll-option.voted-mine .poll-bar{
  background: color-mix(in srgb, var(--blue) 22%, transparent);
}
.doc-poll .poll-option-content{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.doc-poll .poll-option-label{
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.doc-poll .poll-option.voted-mine .poll-option-label{
  font-weight: 700;
  color: var(--blue);
}
.doc-poll .poll-option-pct{
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}
.doc-poll .poll-option.voted-mine .poll-option-pct{
  color: var(--blue);
}
.doc-poll .poll-footer{
  margin-top: 2px;
}

/* Document Embed / HTML */
.doc-embed{
  margin: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f172a;
}
.doc-embed iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.course-award{display:grid;gap:18px;text-align:center;padding-top:22px}
.course-award-icon{display:grid;place-items:center;width:104px;height:104px;margin:auto;border-radius:30px;color:var(--blue);background:linear-gradient(140deg,color-mix(in srgb,var(--blue) 18%,var(--surface)),var(--surface));border:1px solid color-mix(in srgb,var(--blue) 24%,var(--line))}
.course-award h3{font-size:22px;color:var(--blue)}
.course-award p{color:var(--muted);line-height:2}
.course-award .dialog-actions{flex-wrap:wrap;justify-content:center;margin-top:8px}

/* ==========================================================================
   PROMPT REELS & ENHANCED CATALOG PARITY (Android Alignment)
   ========================================================================== */

/* Reels Screen Layout */
.reels-view{
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 16px 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reels-filter-bar{
  width: 100%;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.reels-filter-chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.reel-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
}

.reel-chip:hover{
  background: var(--soft);
}

.reel-chip.selected{
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 3px 10px rgba(23, 97, 197, 0.25);
}

.reels-stage{
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reel-card{
  position: relative;
  width: 100%;
  max-width: 420px;
  height: min(640px, calc(100dvh - 230px));
  min-height: 480px;
  border-radius: 28px;
  overflow: hidden;
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  user-select: none;
  touch-action: pan-y;
}

.reel-media-wrapper{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #000;
}

.reel-video-element,
.reel-image-element{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-play-indicator{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
  z-index: 5;
}

.reel-play-indicator.flash{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.reel-mute-btn{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 6;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease;
}

.reel-mute-btn:hover{
  background: rgba(0, 0, 0, 0.7);
}

.reel-mute-btn:active{
  transform: scale(0.9);
}

/* Overlays */
.reel-top-overlay{
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.reel-pill{
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.reel-pill.category{
  background: rgba(23, 97, 197, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reel-pill.model{
  background: rgba(0, 0, 0, 0.6);
  color: #dbe4f3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.reel-counter-badge{
  padding: 4px 9px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Floating Actions Column */
.reel-actions-column{
  position: absolute;
  right: 14px;
  bottom: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 7;
}

.reel-action-circle{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: transform .12s ease;
}

.reel-action-circle:active{
  transform: scale(0.9);
}

.reel-action-icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.reel-action-circle.liked .reel-action-icon{
  background: rgba(235, 64, 94, 0.85);
  border-color: rgba(255, 255, 255, 0.5);
}

.reel-action-circle.liked svg{
  fill: #fff;
}

.reel-action-count{
  font-size: 11px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Bottom Information Overlay */
.reel-bottom-sheet{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 14, 24, 0.76) 24%, rgba(9, 14, 24, 0.96) 100%);
  color: #fff;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reel-headline{
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.reel-subcaption{
  font-size: 11.5px;
  color: #cbd5e1;
  line-height: 1.5;
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.reel-prompt-card{
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 8px 10px;
  backdrop-filter: blur(12px);
}

.reel-prompt-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.reel-prompt-tag{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #a5c5f0;
}

.reel-copy-cta{
  min-height: 28px!important;
  padding: 3px 10px!important;
  font-size: 11px!important;
  border-radius: 8px!important;
}

.reel-prompt-body{
  max-height: 48px;
  overflow-y: auto;
  font-size: 11px;
  line-height: 1.5;
  color: #e2e8f0;
  font-family: monospace, sans-serif;
  scrollbar-width: thin;
}

.reel-launch-row{
  display: flex;
  gap: 8px;
}

.reel-external-btn{
  flex: 1;
  min-height: 32px!important;
  padding: 5px 8px!important;
  font-size: 11px!important;
  border-radius: 10px!important;
  background: rgba(255, 255, 255, 0.08)!important;
  color: #fff!important;
  border-color: rgba(255, 255, 255, 0.22)!important;
}

.reel-external-btn:hover{
  background: rgba(255, 255, 255, 0.18)!important;
}

/* Nav prev/next buttons */
.reel-nav-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all .16s ease;
}

.reel-nav-btn:hover:not(:disabled){
  background: var(--soft);
  transform: scale(1.05);
}

.reel-nav-btn:active:not(:disabled){
  transform: scale(0.92);
}

.reel-nav-btn.prev svg{
  transform: rotate(90deg);
}

.reel-nav-btn.next svg{
  transform: rotate(90deg);
}

.reel-nav-btn.disabled,
.reel-nav-btn:disabled{
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   CLASS TAB EMPTY HUB & ENHANCED CARD STYLING
   ========================================================================== */

.class-empty-hub{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
  gap: 12px;
}

.class-empty-icon-circle{
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(23, 97, 197, 0.09);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.class-empty-hub h2{
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.class-empty-hub p{
  font-size: 14px;
  color: var(--muted);
}

.class-practice-banner {
  margin-top: 28px;
  margin-bottom: 24px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(54, 125, 133, 0.12), rgba(54, 125, 133, 0.05));
  border: 1px solid rgba(54, 125, 133, 0.22);
  border-radius: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.practice-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(54, 125, 133, 0.15);
  color: #367d85;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.class-practice-banner h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.class-practice-banner p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Course Card Enhancements */
.course-card-top-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 8px;
}

.course-pill-tag{
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 650;
  background: rgba(23, 97, 197, 0.08);
  color: var(--blue);
}

.course-pill-tag.owned{
  background: rgba(8, 126, 130, 0.1);
  color: var(--teal);
}

.course-label-row{
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.course-grade-text{
  font-size: 11px;
  font-weight: 650;
  color: var(--blue);
}

.course-card-title{
  font-size: 19px!important;
  font-weight: 750!important;
  line-height: 1.5!important;
  margin: 4px 0 8px!important;
  color: var(--ink);
}

.course-card-desc{
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta-line{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}

.course-card-meta-line span{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.course-meta-bullet{
  opacity: 0.5;
}

.course-metrics-row{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.course-metric-pill{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(23, 97, 197, 0.06);
  color: var(--muted);
  font-size: 11px;
}

.course-card-divider{
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

.course-card-bottom-action{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-price-col{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.course-price-amount{
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}

.course-price-amount.free{
  color: var(--teal);
}

.course-price-sub{
  font-size: 10px;
  color: var(--muted);
}

.course-forward-circle{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .14s ease, background-color .14s ease;
}

.course-card:hover .course-forward-circle{
  transform: translateX(3px);
  background: #124ea3;
}

.course-progress-block{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.course-progress-text{
  font-size: 11px;
  font-weight: 650;
  color: var(--blue);
}

/* ==========================================================================
   FLAGSHIP LANDING PAGE & PRODUCT DIRECTORY STYLES (X TECH SOFTWARE MYANMAR)
   ========================================================================== */

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease, border-color .2s ease;
}

.landing-header-inner {
  width: 100%;
  max-width: 1240px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.landing-brand-logo {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.landing-brand-copy {
  display: flex;
  flex-direction: column;
}

.landing-brand-copy strong {
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.2;
}

.landing-brand-tag {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-item {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all .16s ease;
}

.landing-nav-item:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 60%, var(--line) 40%);
}

.landing-nav-item.nav-pill-item {
  color: var(--blue);
  background: rgba(23, 97, 197, 0.09);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 700;
  border: 1px solid rgba(23, 97, 197, 0.2);
}

.landing-nav-item.nav-pill-item:hover {
  background: rgba(23, 97, 197, 0.16);
  color: var(--blue);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  min-height: 40px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
}

.landing-mobile-menu {
  display: none;
}

/* LANDING HERO */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 85px 24px 75px;
  background: radial-gradient(circle at 50% 20%, rgba(23, 97, 197, 0.09) 0%, transparent 60%);
  text-align: center;
}

.landing-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #3b82f6, #6366f1);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #087e82, #06b6d4);
  bottom: 0;
  right: 15%;
}

.landing-hero-container {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, #3b82f6 20%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}

.badge-company {
  font-weight: 750;
  color: var(--ink);
}

.badge-divider {
  color: var(--muted);
  opacity: .6;
}

.badge-topic {
  color: var(--blue);
  font-weight: 600;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.85); }
}

.landing-hero-headline {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 850;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.headline-lead {
  display: block;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}

.headline-gradient {
  display: inline-block;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(135deg, #1761c5 0%, #8b5cf6 50%, #087e82 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-sub {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.landing-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 52px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}

.landing-cta-btn:hover {
  transform: translateY(-2px);
}

.btn-primary-glow {
  background: linear-gradient(135deg, #1761c5, #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(23, 97, 197, 0.35);
}

.btn-primary-glow:hover {
  box-shadow: 0 12px 30px rgba(23, 97, 197, 0.45);
}

.btn-secondary-glass {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.btn-outline-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.landing-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.trust-item svg {
  color: #10b981;
}

/* STATS SECTION */
.landing-stats-section {
  padding: 30px 24px 60px;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 34px;
  font-weight: 850;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 44px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* PRODUCTS DIRECTORY GRID */
.landing-products-section {
  padding: 60px 24px 80px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

.products-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-portal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(23, 97, 197, 0.35);
}

.product-portal-card.featured-product {
  border: 1.5px solid rgba(23, 97, 197, 0.45);
  box-shadow: 0 8px 32px rgba(23, 97, 197, 0.08);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.product-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}

.pill-blue { background: rgba(23, 97, 197, 0.1); color: #1761c5; }
.pill-purple { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.pill-teal { background: rgba(8, 126, 130, 0.12); color: #087e82; }
.pill-amber { background: rgba(245, 158, 11, 0.14); color: #b45309; }

.product-status-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 12px;
}

.product-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.icon-blue { background: linear-gradient(135deg, rgba(23, 97, 197, 0.15), rgba(37, 99, 235, 0.05)); color: #1761c5; }
.icon-purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(168, 85, 247, 0.05)); color: #7c3aed; }
.icon-teal { background: linear-gradient(135deg, rgba(8, 126, 130, 0.16), rgba(6, 182, 212, 0.05)); color: #087e82; }
.icon-amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(251, 191, 36, 0.05)); color: #b45309; }

.product-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 14px;
  font-weight: 650;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 550;
}

.product-features-list li svg {
  color: #10b981;
  flex-shrink: 0;
}

.full-width-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-dual-btn {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* SHOWCASE SECTION */
.landing-showcase-section {
  padding: 80px 24px;
}

.voice-showcase-bg {
  background: radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.rag-showcase-bg {
  background: radial-gradient(circle at 85% 50%, rgba(8, 126, 130, 0.08) 0%, transparent 60%);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.showcase-layout.reverse-layout {
  grid-template-columns: 0.9fr 1.1fr;
}

.showcase-title {
  font-size: 32px;
  font-weight: 850;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 18px;
}

.purple-highlight { color: #7c3aed; }
.teal-highlight { color: #087e82; }

.showcase-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}

.audio-demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.audio-demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.audio-demo-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 10px #7c3aed;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.audio-demo-title-group {
  display: flex;
  flex-direction: column;
}

.audio-demo-title-group strong {
  font-size: 14px;
  color: var(--ink);
}

.audio-demo-subtitle {
  font-size: 11.5px;
  color: var(--muted);
}

.audio-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.audio-demo-caption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.audio-player-wrapper {
  margin-bottom: 18px;
}

.audio-wave-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 40px;
  padding: 0 14px;
  margin-bottom: 12px;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.14);
}

.wave-bar {
  width: 3.5px;
  background: linear-gradient(180deg, #8b5cf6, #3b82f6);
  border-radius: 3px;
  animation: waveAnim 1.2s ease-in-out infinite alternate;
}

.wave-bar.b1 { height: 10px; animation-delay: .1s; }
.wave-bar.b2 { height: 24px; animation-delay: .3s; }
.wave-bar.b3 { height: 14px; animation-delay: .5s; }
.wave-bar.b4 { height: 30px; animation-delay: .2s; }
.wave-bar.b5 { height: 18px; animation-delay: .4s; }
.wave-bar.b6 { height: 34px; animation-delay: .15s; }
.wave-bar.b7 { height: 22px; animation-delay: .35s; }
.wave-bar.b8 { height: 28px; animation-delay: .25s; }
.wave-bar.b9 { height: 16px; animation-delay: .45s; }
.wave-bar.b10 { height: 26px; animation-delay: .05s; }
.wave-bar.b11 { height: 12px; animation-delay: .3s; }
.wave-bar.b12 { height: 20px; animation-delay: .5s; }

@keyframes waveAnim {
  0% { transform: scaleY(0.35); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 1; }
}

.audio-demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.audio-demo-steps div strong {
  display: block;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 2px;
}

.audio-demo-steps div span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

.showcase-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.visual-glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.visual-caption {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.visual-caption strong {
  font-size: 14px;
  color: var(--ink);
}

.visual-caption small {
  font-size: 12px;
  color: var(--muted);
}

/* RAG PIPELINE CARD */
.rag-pipeline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #087e82;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
}

.pipeline-step strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
}

.pipeline-step small {
  font-size: 11px;
  color: var(--muted);
}

.pipeline-arrow {
  color: var(--muted);
  flex-shrink: 0;
}

/* MOCK CHAT CARD */
.rag-mock-chat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.mock-chat-header {
  padding: 16px 20px;
  background: color-mix(in srgb, var(--surface) 92%, var(--line));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.status-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.mock-chat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-msg {
  max-width: 88%;
}

.mock-user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.mock-ai {
  align-self: flex-start;
  display: flex;
  gap: 10px;
}

.ai-avatar-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1761c5, #087e82);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-response-box {
  background: var(--soft);
  padding: 14px 18px;
  border-radius: 4px 18px 18px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

.source-citation {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* APP HUB CARD */
.landing-app-section {
  padding: 60px 24px;
}

.app-hub-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 96%, #1761c5 4%), var(--surface));
  border: 1px solid color-mix(in srgb, var(--line) 85%, #1761c5 15%);
  border-radius: 32px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.05);
}

.app-hub-title {
  margin-bottom: 16px;
  line-height: 1.3;
}

.app-hub-lead {
  display: block;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 850;
  color: var(--ink);
  letter-spacing: -.02em;
}

.app-hub-sub-title {
  display: block;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 750;
  color: #10b981;
  margin-top: 4px;
}

.app-hub-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

.app-meta-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.meta-badge.verified {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.meta-badge.verified strong {
  color: #059669;
}

.app-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  min-height: 64px;
}

.store-badge-card:hover {
  transform: translateY(-2px);
}

.playstore-card {
  background: #090d16;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.playstore-card:hover {
  background: #020617;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.apk-card {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.3);
}

.apk-card:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(4, 120, 87, 0.42);
}

.store-badge-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.store-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-badge-sub {
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 700;
  opacity: .85;
  text-transform: uppercase;
}

.store-badge-title {
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 6px;
}

.apk-size-pill {
  font-size: 10px;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: .02em;
}

.app-browser-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
}

.fallback-label {
  font-size: 12.5px;
  color: var(--muted);
}

.fallback-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.fallback-link:hover {
  color: var(--ink);
  transform: translateX(2px);
}

/* SMARTPHONE DEVICE MOCKUP */
.app-hub-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.device-phone {
  position: relative;
  width: 100%;
  border-radius: 40px;
  background: #0f172a;
  padding: 8px;
  box-shadow: 
    0 25px 60px -12px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset,
    0 0 0 3px #1e293b;
  overflow: hidden;
}

.device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 16px;
  background: #090d16;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.notch-camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid #0f172a;
}

.notch-speaker {
  width: 28px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
}

.device-screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 18.5;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 32px 32px 0 0;
}

.device-glow {
  position: absolute;
  inset: 10% 5% 5%;
  background: radial-gradient(circle, rgba(23, 97, 197, 0.3), rgba(16, 185, 129, 0.2), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* REELS TEASER */
.landing-reels-teaser {
  padding: 60px 24px 80px;
}

.reels-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reel-preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.reel-model-tag {
  font-size: 11px;
  font-weight: 750;
  color: var(--blue);
  background: rgba(23, 97, 197, 0.08);
  padding: 3px 10px;
  border-radius: 10px;
  align-self: flex-start;
  margin-bottom: 12px;
}

.reel-preview-card h4 {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 8px;
}

.reel-preview-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.small-btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 12px;
  align-self: flex-start;
}

/* LEGAL & CORPORATE FOOTER */
.landing-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 70px 24px 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  display: block;
}

.footer-co-name {
  font-size: 12px;
  color: var(--blue);
  font-weight: 650;
}

.footer-company-mission {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-location-line,
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-contact-line a {
  color: var(--blue);
  text-decoration: underline;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s ease;
}

.footer-links-col a:hover {
  color: var(--ink);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-bar p {
  margin: 0;
}

.main-shell:is([data-page=home],[data-page=voice],[data-page=rag],[data-page=app]) {
  padding-bottom: 0 !important;
  max-width: 100vw;
  overflow-x: hidden;
}

.landing-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-layout,
  .showcase-layout.reverse-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .app-hub-card {
    grid-template-columns: 1fr;
  }
  .app-hub-phone {
    order: -1;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .landing-header-inner {
    padding: 10px 14px;
    gap: 8px;
  }
  .landing-brand {
    min-width: 0;
    flex: 1;
    gap: 8px;
  }
  .landing-brand-copy {
    min-width: 0;
  }
  .landing-brand-copy strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .landing-brand-tag {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .landing-nav-actions {
    flex-shrink: 0;
    gap: 4px;
  }
  .landing-nav-links {
    display: none;
  }
  .landing-nav-cta {
    display: none;
  }
  .landing-mobile-menu {
    display: inline-flex;
  }
  .landing-hero {
    padding: 36px 14px 30px;
  }
  .landing-hero-badge {
    max-width: 100%;
    font-size: 11px;
    padding: 5px 12px;
  }
  .landing-hero-headline {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .headline-lead {
    font-size: clamp(17px, 4.6vw, 22px);
    margin-bottom: 2px;
  }
  .headline-gradient {
    font-size: clamp(19px, 5.2vw, 25px);
  }
  .landing-hero-sub {
    font-size: 13px;
    line-height: 1.65;
  }
  .landing-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 310px;
    margin: 0 auto 24px;
    gap: 10px;
  }
  .landing-hero-ctas .landing-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 12px 16px;
  }
  .landing-trust-strip {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px 0;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stat-card {
    padding: 20px 18px;
  }
  .products-directory-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-portal-card {
    padding: 24px 20px;
  }
  .app-hub-card {
    padding: 28px 18px;
    gap: 28px;
    border-radius: 24px;
  }
  .app-download-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .store-badge-card {
    padding: 12px 18px;
    min-height: 58px;
  }
  .device-mockup-wrapper {
    max-width: 210px;
  }
  .device-phone {
    border-radius: 34px;
    padding: 6px;
  }
  .device-screen {
    border-radius: 28px;
  }
  .device-reflection {
    border-radius: 28px 28px 0 0;
  }
  .app-browser-fallback {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .reels-preview-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .audio-demo-steps {
    grid-template-columns: 1fr;
  }
  .rag-pipeline-card {
    flex-direction: column;
    align-items: stretch;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
