:root{--blue: #1677ff;--blue-dark: #0b5ed7;--blue-light: #60a5fa;--green: #10b981;--green-dark: #059669;--red: #ef4444;--yellow: #f59e0b;--bg: #f7faff;--surface: #ffffff;--card: #ffffff;--text: #102033;--muted: #64748b;--border: #e2e8f0;--soft: #eef5ff;--shadow: 0 10px 35px rgba(22, 119, 255, .08);--header-height: 76px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility}.dark{--bg: #07111f;--surface: #0d1a2b;--card: #0d1a2b;--text: #e8f1ff;--muted: #93a4ba;--border: #1e3048;--soft: #10233c;--shadow: 0 10px 35px rgba(0, 0, 0, .25)}*{box-sizing:border-box}html{width:100%;min-height:100%;scroll-behavior:smooth}body{margin:0;width:100%;min-height:100vh;background:var(--bg);color:var(--text);overflow-x:hidden}#root{width:100%;min-height:100vh}button,input,select,textarea{font:inherit}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}pre,code{font-family:JetBrains Mono,Consolas,Monaco,Courier New,monospace}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#0b1727}::-webkit-scrollbar-thumb{background:#29415c;border-radius:20px}::-webkit-scrollbar-thumb:hover{background:#3b5d80}.container{width:min(1160px,92%);margin:0 auto}.header{position:sticky;top:0;z-index:1000;width:100%;background:#fffffff0;border-bottom:1px solid #e5eaf2;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.dark .header{background:#080f1ef0;border-bottom-color:#1e293b}.nav{height:var(--header-height);display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:10px;border:none;background:transparent;padding:0;cursor:pointer;flex-shrink:0}.brand-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:linear-gradient(135deg,#1677ff,#005bea);color:#fff;font-size:21px;font-weight:800;box-shadow:0 6px 16px #1677ff40}.brand-name{font-size:23px;font-weight:800;letter-spacing:-.7px;color:#172033}.brand-name span{color:#1677ff}.dark .brand-name{color:#f8fafc}.nav-menu{display:flex;align-items:center;gap:5px;margin-left:auto}.nav-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 13px;border:none;background:transparent;border-radius:9px;color:#64748b;font-size:15px;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease}.nav-link:hover,.nav-link.active{color:var(--blue);background:#eff6ff}.dark .nav-link{color:#94a3b8}.dark .nav-link:hover,.dark .nav-link.active{color:#60a5fa;background:#172554}.nav-actions{display:flex;align-items:center;gap:8px}.icon-btn{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569;cursor:pointer;transition:.2s ease}.icon-btn:hover{color:var(--blue);border-color:#bfdbfe;background:#eff6ff}.dark .icon-btn{background:#111827;border-color:#334155;color:#cbd5e1}.dark .icon-btn:hover{color:#60a5fa;background:#172554}.signup-btn,.signup-nav-btn{height:42px;padding:0 18px;border:none;border-radius:10px;background:var(--blue);color:#fff!important;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 5px 14px #1677ff38;transition:transform .2s ease,background .2s ease}.signup-btn:hover,.signup-nav-btn:hover{background:var(--blue-dark);transform:translateY(-1px)}.menu-btn{width:42px;height:42px;display:none;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}.hero{padding:90px 0 80px;background:radial-gradient(circle at 80% 30%,rgba(22,119,255,.13),transparent 35%)}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}.eyebrow,.section-label{color:var(--blue);font-size:12px;font-weight:800;letter-spacing:1.3px}.eyebrow{display:inline-flex;align-items:center;gap:7px;background:var(--soft);padding:8px 11px;border-radius:99px}.hero h1{font-size:clamp(42px,6vw,68px);line-height:1.02;margin:20px 0 18px;letter-spacing:-3px}.hero h1 span{color:var(--blue)}.hero-text{max-width:650px;font-size:18px;line-height:1.7;color:var(--muted)}.hero-buttons{display:flex;gap:12px;margin:28px 0}.btn{border:0;border-radius:9px;padding:12px 17px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-dark)}.btn.secondary{background:var(--surface);border:1px solid var(--border);color:var(--text)}.btn.small{padding:9px 12px;font-size:13px}.btn.ghost{background:transparent;border:1px solid var(--border);color:var(--text)}.mini-stats{display:flex;gap:35px}.mini-stats div{display:flex;flex-direction:column;gap:2px}.mini-stats b{font-size:20px}.mini-stats span{font-size:12px;color:var(--muted)}.hero-card{background:#081426;border:1px solid #1e385b;border-radius:15px;box-shadow:0 25px 70px #0000002e;overflow:hidden}.code-top{height:42px;border-bottom:1px solid #203754;display:flex;align-items:center;padding:0 14px;gap:7px}.code-top>span{width:9px;height:9px;border-radius:50%;background:#60738c}.code-top small{margin-left:auto;color:#8da1bb}.hero-card pre{margin:0;padding:30px;color:#cde0ff;font-size:14px;line-height:1.9;overflow:auto}.code-result{border-top:1px solid #203754;padding:14px;color:#8dd6a7;font-size:13px;display:flex;align-items:center;gap:8px}.section{padding:85px 0}.muted{background:var(--soft)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.section-heading h2,.cta h2{font-size:32px;margin:8px 0 0;letter-spacing:-1px}.text-btn,.card-link{background:none;border:0;color:var(--blue);font-weight:700;display:flex;align-items:center;gap:5px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.feature{text-align:left;border:1px solid var(--border);background:var(--surface);padding:23px;border-radius:13px;box-shadow:var(--shadow);color:var(--text);transition:.2s ease}.feature:hover{transform:translateY(-3px)}.feature-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);color:var(--blue);border-radius:9px}.feature h3{margin:17px 0 8px}.feature p{color:var(--muted);line-height:1.6;font-size:14px}.feature span{display:flex;align-items:center;gap:5px;color:var(--blue);font-size:13px;font-weight:700;margin-top:17px}.language-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.language-card{background:var(--surface);border:1px solid var(--border);padding:20px;border-radius:13px;transition:.2s ease}.language-card:hover{transform:translateY(-3px)}.lang-icon,.course-icon{width:46px;height:46px;border-radius:10px;display:grid;place-items:center;font-weight:900}.blue{background:#e8f1ff;color:#1677ff}.yellow{background:#fff5c7;color:#987300}.orange{background:#ffeadc;color:#d65a00}.purple{background:#eee7ff;color:#7044d8}.cyan{background:#dff9ff;color:#0082a0}.cta{padding:65px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--border);background:var(--surface);padding:38px;border-radius:16px;box-shadow:var(--shadow)}.cta p{color:var(--muted)}.footer{border-top:1px solid var(--border);padding-top:55px;background:var(--surface)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;padding-bottom:45px}.footer p,.footer button{color:var(--muted)}.footer h4{margin-top:0}.footer button{display:block;background:none;border:0;padding:6px 0}.copyright{text-align:center;border-top:1px solid var(--border);padding:20px;color:var(--muted);font-size:13px}.page{padding:24px 0 90px;min-height:70vh}.page-title{margin-bottom:32px}.page-title h1{font-size:42px;letter-spacing:-1.5px;margin:9px 0}.page-title p{color:var(--muted);font-size:16px}.search{height:48px;border:1px solid var(--border);background:var(--surface);display:flex;align-items:center;gap:10px;padding:0 15px;border-radius:10px;margin-bottom:24px}.search svg{color:var(--muted)}.search input{border:0;outline:0;background:transparent;color:var(--text);width:100%}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course{background:var(--surface);border:1px solid var(--border);padding:24px;border-radius:14px;transition:.2s ease}.course:hover{transform:translateY(-3px)}.course h2{margin:12px 0 0}.course p{color:var(--muted);line-height:1.6;font-size:14px}.pill,.level-badge{display:inline-block;background:var(--soft);color:var(--blue);padding:5px 8px;border-radius:99px;font-size:11px;font-weight:800}.course-progress{height:5px;background:var(--soft);border-radius:99px;margin:18px 0}.course-progress span{display:block;width:25%;height:100%;background:var(--blue);border-radius:99px}.practice-page{min-height:calc(100vh - var(--header-height));background:var(--bg);color:var(--text)}.practice-hero{background:linear-gradient(135deg,#eaf3ff,#f7faff);border-bottom:1px solid #dce8f8;padding:42px 5% 35px}.practice-hero-content{max-width:1200px;margin:auto;display:flex;align-items:center;gap:18px}.practice-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;border-radius:15px;box-shadow:0 8px 22px #1677ff40}.practice-label{display:inline-block;color:var(--blue);font-size:13px;font-weight:800;letter-spacing:1px}.practice-hero h1{margin:5px 0;font-size:34px;font-weight:800;color:#0b1b33}.practice-hero p{margin:0;color:#64748b;font-size:16px}.practice-content{width:90%;max-width:1200px;margin:auto}.practice-languages{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0}.practice-language{display:inline-flex;align-items:center;gap:8px;padding:11px 18px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;color:#334155;font-weight:600;cursor:pointer;transition:.2s ease}.practice-language:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}.practice-language.active{background:var(--blue);border-color:var(--blue);color:#fff}.language-icon{font-weight:700}.practice-toolbar{display:flex;align-items:center;gap:10px;margin:10px 0 25px}.practice-search-box{width:450px;max-width:100%;height:46px;display:flex;align-items:center;gap:10px;padding:0 15px;background:#fff;border:1px solid #dbe4f0;border-radius:12px;color:#64748b}.practice-search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1677ff1a}.practice-search-box input{width:100%;border:none;outline:none;background:transparent;color:#0f172a;font-size:15px}.practice-tool-button{width:46px;height:46px;position:relative;border-radius:50%;border:1px solid #dbe4f0;background:#fff;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer}.practice-tool-button:hover,.practice-tool-button.active{color:var(--blue);border-color:var(--blue);background:#eef5ff}.filter-dot{position:absolute;width:7px;height:7px;background:var(--blue);border-radius:50%;top:8px;right:9px}.practice-progress-count{margin-left:auto;color:#64748b;font-size:15px;font-weight:700}.practice-question-list{width:100%;max-width:1000px;display:flex;flex-direction:column;gap:18px;margin-bottom:60px}.practice-question-card{width:100%;padding:24px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 4px 14px #0f172a0d;transition:.2s ease}.practice-question-card:hover{border-color:var(--blue);box-shadow:0 8px 24px #2563eb1a;transform:translateY(-2px)}.question-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.question-number{color:var(--blue);font-size:14px;font-weight:700;text-transform:uppercase}.practice-question-card h2{margin:0 0 10px;font-size:21px;color:#0f172a}.practice-question-card p{margin:0;color:#64748b;line-height:1.7}.question-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;padding-top:16px;border-top:1px solid #e5e7eb}.solve-button{border:none;background:var(--blue);color:#fff;padding:10px 18px;border-radius:9px;font-weight:700;cursor:pointer;transition:.2s ease}.solve-button:hover{background:var(--blue-dark);transform:translate(2px)}.solved{color:#16a34a;font-weight:700}.not-solved,.unsolved{color:#64748b;font-weight:600}.practice-message{max-width:1000px;padding:24px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.practice-message.error,.practice-error{color:#dc2626;border-color:#fecaca;background:#fef2f2}.difficulty{padding:5px 10px;border-radius:20px;font-size:12px;font-weight:700}.difficulty.easy{background:#dcfce7;color:#15803d}.difficulty.medium{background:#fef3c7;color:#b45309}.difficulty.hard{background:#fee2e2;color:#dc2626}.dark .practice-page{background:#0b1120;color:#f8fafc}.dark .practice-hero{background:#0f172a;border-color:#1e293b}.dark .practice-hero h1{color:#f8fafc}.dark .practice-hero p{color:#94a3b8}.dark .practice-language{background:#111827;border-color:#334155;color:#e2e8f0}.dark .practice-language.active{background:var(--blue);color:#fff}.dark .practice-search-box{background:#111827;border-color:#334155}.dark .practice-search-box input{color:#f8fafc}.dark .practice-tool-button{background:#111827;border-color:#334155;color:#94a3b8}.dark .practice-question-card{background:#111827;border-color:#334155}.dark .practice-question-card h2{color:#f8fafc}.dark .practice-question-card p{color:#94a3b8}.dark .question-bottom{border-color:#334155}.dark .practice-message{background:#111827;border-color:#334155}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px}.profile-card,.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:22px}.profile-card{text-align:left}.avatar{width:50px;height:50px;background:var(--blue);color:#fff;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:22px}.profile-card h2{margin:13px 0 8px}.profile-card p,.profile-email,.user-email{color:var(--muted);font-size:13px;word-break:break-word}.stat-card svg{color:var(--blue)}.stat-card span,.stat-card small{display:block;color:var(--muted);margin-top:14px;font-size:13px}.stat-card strong{display:block;font-size:25px;margin-top:8px}.big-progress{height:8px;background:var(--soft);border-radius:99px;margin:22px 0 7px}.big-progress div{height:100%;background:var(--blue);border-radius:99px}.progress-section{margin-top:25px;background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:25px}.lang-row{display:grid;grid-template-columns:110px 1fr 50px;align-items:center;gap:15px;margin:19px 0;font-size:14px}.lang-row>div{height:8px;background:var(--soft);border-radius:99px}.lang-row i{display:block;height:100%;background:var(--blue);border-radius:99px}.lang-row b{text-align:right;color:var(--muted)}.username-form{display:flex;flex-direction:column;gap:8px;margin-top:10px}.username-form label{font-size:12px;color:var(--muted);font-weight:700}.username-form input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);outline:none}.username-form input:focus{border-color:var(--blue)}.name-actions{display:flex;gap:8px}.edit-name{display:inline-flex;align-items:center;gap:5px;border:none;background:transparent;color:var(--blue);font-size:12px;font-weight:700;cursor:pointer;padding:0}.account-section{margin-top:32px;padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:20px}.account-section h2{margin:0 0 6px}.account-section p{margin:0;color:var(--muted);font-size:14px}.dashboard-logout{border:1px solid #ef4444;background:#ef4444;color:#fff;padding:11px 22px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:.2s ease}.dashboard-logout:hover{background:#dc2626;transform:translateY(-1px);box-shadow:0 6px 18px #ef444440}.logout-btn{border:1px solid #ef4444;background:transparent;color:#ef4444;font-weight:700;padding:10px 13px;border-radius:9px;cursor:pointer}.logout-btn:hover{background:#ef4444;color:#fff}.auth-page{min-height:calc(100vh - var(--header-height));display:flex;align-items:center;justify-content:center;padding:50px 20px}.auth-card{width:100%;max-width:430px;padding:35px;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:0 20px 60px #00000014}.auth-logo{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:25px}.auth-logo h1{margin:0;font-size:25px}.auth-logo-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:800;color:#fff;background:var(--blue)}.auth-heading{text-align:center;margin-bottom:25px}.auth-heading h2{margin-bottom:8px}.auth-heading p{margin:0;color:var(--muted)}.form-group{margin-bottom:18px}.form-group label{display:block;margin-bottom:7px;font-weight:600}.form-group input{width:100%;padding:13px 14px;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);font-size:15px;outline:none}.form-group input:focus{border-color:var(--blue)}.auth-submit{width:100%;margin-top:5px}.auth-message{padding:12px 14px;border-radius:10px;margin-bottom:18px;font-size:14px}.auth-message.error{background:#fee2e2;color:#991b1b}.auth-message.success{background:#dcfce7;color:#166534}.auth-switch{display:flex;justify-content:center;gap:6px;margin-top:22px;font-size:14px}.auth-switch button{border:none;background:none;color:var(--blue);font-weight:700}.auth-back{display:block;margin:22px auto 0;border:none;background:none;color:var(--muted)}.compiler-page{width:100%;height:calc(100vh - var(--header-height));min-height:620px;background:#07111f;color:#e8f1ff;overflow:hidden;display:flex}.compiler-workspace{width:100%;height:100%;min-height:0;display:flex;overflow:hidden;background:#07111f}.compiler-problem-panel{width:380px;min-width:380px;height:100%;overflow-y:auto;overflow-x:hidden;background:#0b1727;border-right:1px solid #20344d}.problem-topbar{min-height:58px;padding:14px 18px;display:flex;align-items:center;border-bottom:1px solid #1d3148}.problem-back{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:#58a6ff;font-size:14px;font-weight:600;cursor:pointer}.problem-back:hover{color:#8bc7ff}.problem-content{padding:24px}.problem-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.problem-title-row h1{margin:0;color:#f3f7ff;font-size:26px;line-height:1.3}.problem-solved{display:flex;align-items:center;gap:5px;color:#34d399;font-size:13px;font-weight:700;white-space:nowrap}.problem-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.problem-difficulty,.problem-language{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:20px;font-size:12px;font-weight:700}.problem-difficulty{background:#16351f;color:#55e58a}.problem-difficulty.medium{background:#3b2f12;color:#facc15}.problem-difficulty.hard{background:#3d1c24;color:#fb7185}.problem-language{background:#102d4d;color:#7db9ff}.problem-description{margin-top:22px;color:#b7c8dc;line-height:1.75;font-size:14px}.problem-divider{height:1px;background:#213650;margin:25px 0}.problem-section h2,.problem-section h3{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#58a6ff;font-size:16px}.problem-section p{color:#b9c8d9;line-height:1.7;font-size:14px}.problem-section pre,.sample-box{margin:0;padding:14px;overflow-x:auto;border-radius:8px;background:#07111f;border:1px solid #213852;color:#d4e2f5;font-family:JetBrains Mono,Consolas,Monaco,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.hint-box{margin-top:18px;padding:14px;border-radius:9px;background:#10233c;border:1px solid #203f60}.hint-box b{color:#60a5fa}.hint-box p{margin:7px 0 0;color:#9eb3c9;font-size:13px;line-height:1.6}.answer-box{margin-top:18px;padding:14px;border:1px solid #243b55;border-radius:9px;background:#0a1625}.answer-box>div{display:flex;flex-direction:column;gap:4px}.answer-box span{color:#7f95ad;font-size:11px}.answer-box pre{margin:10px 0 0;padding:12px;background:#07111f;color:#d8e7ff;border-radius:8px;white-space:pre-wrap;overflow:auto;font-size:12px}.answer-box button{margin-top:12px}.challenge-status,.tb-solved-box{margin-top:20px;display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:8px;background:#182537;color:#9fb2c7;font-size:13px;font-weight:700}.challenge-status svg{color:#34d399}.challenge-status.solved,.tb-solved-box.solved{background:#0d3526;color:#4ade80}.compiler-main{flex:1;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;background:#07111f;overflow:hidden}.editor-header{width:100%;height:62px;min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 15px;background:#0d1a2b;border-bottom:1px solid #203754;flex-shrink:0}.editor-file-tab{height:100%;display:flex;align-items:center;gap:9px;padding:0 15px;background:#111f31;color:#e7f1ff;font-size:14px;font-weight:600;border-bottom:2px solid var(--blue);white-space:nowrap}.file-icon{font-size:17px}.editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap}.language-select{height:40px;min-width:135px;padding:0 35px 0 12px;border-radius:7px;border:1px solid #294563;background:#0d1a2b;color:#dbeafe;font-size:14px;outline:none;cursor:pointer}.language-select:hover{border-color:#3b82f6}.language-select:focus{border-color:#58a6ff;box-shadow:0 0 0 2px #58a6ff1f}.editor-reset,.editor-run,.editor-submit{height:40px;border-radius:7px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap;transition:background .2s ease,transform .15s ease,opacity .2s ease}.editor-reset{border:1px solid #294563;background:#10233c;color:#bcd1e8}.editor-reset:hover{background:#16304d}.editor-run{border:0;background:var(--blue);color:#fff;box-shadow:0 5px 15px #1677ff33}.editor-run:hover{background:var(--blue-dark);transform:translateY(-1px)}.editor-submit{border:0;background:var(--green);color:#fff;box-shadow:0 5px 15px #10b98126}.editor-submit:hover{background:var(--green-dark);transform:translateY(-1px)}.editor-run:disabled,.editor-submit:disabled,.editor-reset:disabled{opacity:.55;cursor:not-allowed;transform:none}.monaco-wrapper{flex:1;min-width:0;min-height:0;height:auto;overflow:hidden;background:#07111f}.monaco-wrapper>div{width:100%!important;height:100%!important}.monaco-editor,.monaco-editor-background,.monaco-editor .margin{background-color:#07111f!important}.monaco-editor .overflow-guard{border-radius:0}.monaco-editor .suggest-widget{border-radius:8px}.compiler-console{width:100%;height:250px;min-height:250px;flex-shrink:0;display:flex;flex-direction:column;background:#081523;border-top:1px solid #203754;overflow:hidden}.console-tabs{height:48px;min-height:48px;display:flex;align-items:stretch;gap:2px;padding-left:8px;border-bottom:1px solid #203754;background:#0a1726}.console-tab{height:48px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-bottom:2px solid transparent;background:transparent;color:#91a8c1;cursor:pointer;font-size:13px;font-weight:600;transition:color .2s ease,background .2s ease}.console-tab:hover{color:#dcecff;background:#10233c}.console-tab.active{color:#58a6ff;background:#10233c;border-bottom-color:var(--blue)}.console-body{flex:1;min-height:0;padding:12px;overflow:hidden}.console-input-layout{width:100%;height:100%;min-height:0;display:flex;align-items:stretch;gap:12px}.console-input-area{flex:1;min-width:0;min-height:0}.console-input-area textarea,.console-full textarea{width:100%;height:100%;min-height:110px;resize:none;box-sizing:border-box;background:#07111f;color:#dcecff;border:1px solid #243d59;border-radius:8px;padding:13px;outline:none;font-family:JetBrains Mono,Consolas,Monaco,monospace;font-size:13px;line-height:1.6}.console-input-area textarea:focus,.console-full textarea:focus{border-color:var(--blue);box-shadow:0 0 0 2px #1677ff1f}.console-input-area textarea::placeholder,.console-full textarea::placeholder{color:#66809c}.console-run-button{align-self:flex-start;height:40px;padding:0 15px;border:0;border-radius:7px;background:var(--blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-size:13px;font-weight:700}.console-run-button:hover{background:var(--blue-dark)}.console-run-button:disabled{opacity:.55;cursor:not-allowed}.console-full{width:100%;height:100%;min-height:0}.console-output{width:100%;height:100%;min-height:0;overflow:auto}.console-output pre{width:100%;min-height:100%;margin:0;padding:13px;box-sizing:border-box;background:#07111f;border:1px solid #243d59;border-radius:8px;color:#dcecff;font-family:JetBrains Mono,Consolas,Monaco,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-word;overflow:auto}.console-status{width:100%;height:100%;background:#07111f;border:1px solid #243d59;border-radius:8px;padding:15px;overflow:auto}.status-row{display:flex;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:1px solid #1e334c}.status-row span{color:#8ea5be}.status-row strong{color:#58a6ff}.status-message{display:flex;align-items:center;gap:8px;margin-top:15px;color:#c8d8e9;line-height:1.6}.console-footer{height:32px;min-height:32px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border-top:1px solid #1a3048;color:#607a95;font-size:12px;background:#07111f}.console-footer button{border:0;background:transparent;color:#7590aa;cursor:pointer}.console-footer button:hover{color:#58a6ff}.submission-message{padding:11px 15px;border-top:1px solid #203754;font-size:13px;font-weight:700}.submission-message.success{color:#8dd6a7;background:#0d3024}.submission-message.error{color:#ff9c9c;background:#2b1720}.tb-console{height:240px;min-height:240px;border-top:1px solid #20344d;background:#07111f}.tb-console-header{height:42px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;background:#0b1727;border-bottom:1px solid #20344d}.tb-console-title{display:flex;align-items:center;gap:8px;color:#dbeafe;font-weight:700}.tb-status{color:#8ea6bf;font-size:13px}.tb-status.success{color:#4ade80}.tb-status.error{color:#fb7185}.tb-console-body{height:155px;display:grid;grid-template-columns:42% 58%}.tb-console-input,.tb-console-output{min-width:0;padding:10px 14px}.tb-console-input{border-right:1px solid #20344d}.tb-console-label{margin-bottom:8px;color:#7792ad;font-size:12px;font-weight:700;text-transform:uppercase}.tb-console-input textarea{width:100%;height:100px;resize:none;box-sizing:border-box;padding:10px;border:1px solid #29445f;border-radius:7px;background:#081421;color:#dcecff;font-family:Consolas,monospace;font-size:13px;outline:none}.tb-console-output pre{height:125px;margin:0;overflow:auto;white-space:pre-wrap;word-break:break-word;color:#d7e7fa;font-family:Consolas,monospace;font-size:14px;line-height:1.6}.tb-console-footer{height:43px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #20344d;color:#607993;font-size:12px}.tb-console-footer button{border:0;background:transparent;color:#8ca7c2;cursor:pointer}.tb-result-message{margin:0;padding:11px 16px;display:flex;align-items:center;gap:8px;background:#2b1720;border-top:1px solid #5b2735;color:#fb9aaa;font-size:13px}.tb-result-message.success{background:#0d3024;border-top-color:#185c43;color:#5ee7a5}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px}.muted-text{color:var(--muted)}.text-center{text-align:center}.hidden{display:none!important}@media(max-width:1100px){.nav{gap:15px}.nav-menu{gap:0}.nav-link{padding:0 9px;font-size:14px}.hero-grid{gap:40px}.feature-grid{grid-template-columns:repeat(2,1fr)}.language-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.course-grid{grid-template-columns:1fr 1fr}}@media(max-width:1000px){.compiler-problem-panel{width:320px;min-width:320px}.editor-actions{gap:5px}.language-select{min-width:120px}.editor-reset,.editor-run,.editor-submit{padding:0 10px}}@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.language-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.course-grid{grid-template-columns:1fr 1fr}.nav-menu{display:none}.menu-btn{display:flex}.nav-menu.mobile-open{position:absolute;top:var(--header-height);left:15px;right:15px;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 15px 40px #0f172a1f}.nav-link{width:100%;justify-content:flex-start}.compiler-page{height:auto;min-height:calc(100vh - var(--header-height));overflow:visible}.compiler-workspace{height:auto;min-height:calc(100vh - var(--header-height));flex-direction:column;overflow:visible}.compiler-problem-panel{width:100%;min-width:0;height:auto;max-height:360px;border-right:0;border-bottom:1px solid #20344d}.compiler-main{width:100%;height:850px;min-height:850px}.editor-header{height:auto;min-height:62px;flex-wrap:wrap;padding:8px 10px}.editor-file-tab{height:42px;min-width:130px}.editor-actions{flex-wrap:wrap}.monaco-wrapper{height:520px;flex:none;min-height:520px}.compiler-console{height:280px;min-height:280px}.compiler-layout.with-challenge{grid-template-columns:1fr}.challenge-panel{position:relative;top:auto}.tb-compiler-workspace.challenge-mode{grid-template-columns:1fr}.tb-problem-panel{width:100%;height:auto;max-height:330px;border-right:0;border-bottom:1px solid #20344d}.tb-editor-area{height:750px;min-height:750px}.tb-console-body{grid-template-columns:1fr}.tb-console-input{display:none}}@media(max-width:768px){.practice-hero{padding:30px 20px}.practice-hero h1{font-size:26px}.practice-hero p{font-size:14px}.practice-content{width:calc(100% - 30px)}.practice-toolbar{flex-wrap:wrap}.practice-search-box{width:100%}.practice-progress-count{margin-left:auto}.practice-question-card{padding:18px}}@media(max-width:600px){:root{--header-height: 68px}.nav{height:68px}.brand-icon{width:35px;height:35px;font-size:19px}.brand-name{font-size:20px}.signup-btn,.signup-nav-btn{padding:0 12px;font-size:13px}.hero{padding:55px 0}.hero h1{font-size:42px;letter-spacing:-2px}.hero-text{font-size:16px}.hero-buttons{flex-direction:column}.mini-stats{gap:20px;flex-wrap:wrap}.section{padding:60px 0}.feature-grid,.language-grid,.course-grid,.dashboard-grid{grid-template-columns:1fr}.cta-inner{flex-direction:column;align-items:flex-start;gap:20px}.practice-hero-content{align-items:flex-start}.practice-hero h1{font-size:26px}.practice-languages{gap:8px}.practice-language{padding:9px 12px;font-size:14px}.question-top{align-items:flex-start;flex-direction:column;gap:8px}.question-bottom{flex-direction:column;align-items:stretch}.solve-button{width:100%}.account-section{flex-direction:column;align-items:flex-start}.dashboard-logout{width:100%}.auth-card{padding:25px 20px;border-radius:16px}.compiler-problem-panel{max-height:300px}.problem-content{padding:18px}.problem-title-row{flex-direction:column}.problem-title-row h1{font-size:23px}.editor-header{align-items:stretch;flex-direction:column;gap:7px;padding:7px}.editor-file-tab{width:100%;height:40px;min-height:40px}.editor-actions{width:100%;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:5px}.language-select,.editor-reset,.editor-run,.editor-submit{width:100%;min-width:0;padding:0 5px;justify-content:center;font-size:11px}.monaco-wrapper{height:460px;min-height:460px}.compiler-main{height:800px;min-height:800px}.compiler-console{height:280px;min-height:280px}.console-tabs{overflow-x:auto;padding-left:0}.console-tab{padding:0 11px;white-space:nowrap;font-size:12px}.console-input-layout{flex-direction:column;gap:8px}.console-run-button{width:100%}.interactive-terminal-actions{overflow-x:auto}.interactive-terminal-actions button{white-space:nowrap}.tb-editor-topbar{padding:0 10px}.tb-reset-button{display:none}.tb-language-area select{min-width:110px}.tb-editor-actions{gap:5px}.tb-run-button,.tb-submit-button{padding:0 10px}.tb-console{height:220px}}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #58a6ff;outline-offset:2px}@media print{.header,.footer,.compiler-page,.compiler-workspace{display:none!important}}body{margin:0;font-family:Arial,sans-serif;background:#f5f8ff;color:#172554}button{cursor:pointer}.compiler-page{min-height:100vh;display:flex;flex-direction:column}.compiler-workspace{display:flex;width:100%;min-height:600px}.compiler-main{flex:1;min-width:0;display:flex;flex-direction:column}.monaco-wrapper{width:100%;height:450px;min-height:450px}.compiler-page{min-height:calc(100vh - 72px);background:var(--compiler-bg);color:var(--compiler-text);padding:24px}.compiler-shell{width:100%;max-width:1800px;margin:0 auto;border:1px solid var(--compiler-border);border-radius:18px;overflow:hidden;background:var(--compiler-surface);box-shadow:0 12px 40px #0f172a14}.compiler-header{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;border-bottom:1px solid var(--compiler-border);background:var(--compiler-surface)}.compiler-brand{display:flex;align-items:center;gap:12px;min-width:0}.compiler-brand-icon{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:var(--compiler-blue);color:#0f172a}.compiler-brand h1{margin:0;font-size:20px;line-height:1.3;font-weight:800;letter-spacing:-.5px}.compiler-brand p{margin:4px 0 0;color:var(--compiler-muted);font-size:13px}.compiler-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px}.compiler-language-select{display:flex;align-items:center;gap:10px}.compiler-language-select span{color:var(--compiler-muted);font-size:14px;font-weight:600}.compiler-language-select select{min-width:142px;height:42px;padding:0 12px;border:1px solid var(--compiler-border);border-radius:10px;background:var(--compiler-surface);color:var(--compiler-text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.compiler-button{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid transparent;border-radius:10px;font:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .15s ease,border-color .15s ease}.compiler-button.secondary{background:var(--compiler-surface);border-color:var(--compiler-border);color:var(--compiler-text)}.compiler-button.secondary:hover{background:#f8fafc;border-color:#cbd5e1}.compiler-button.primary{background:var(--compiler-blue);color:#fff}.compiler-button.primary:hover{background:var(--compiler-blue-dark)}.compiler-button.success{background:#059669;color:#fff}.compiler-button.success:hover{background:#047857}.compiler-button:disabled{opacity:.55;cursor:not-allowed}.compiler-workspace{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:680px;background:var(--compiler-dark)}.compiler-sidebar{min-width:0;background:#101a2d;border-right:1px solid var(--compiler-dark-border);color:var(--compiler-dark-text);overflow:auto}.compiler-sidebar-tabs{height:54px;display:flex;align-items:center;gap:18px;padding:0 20px;border-bottom:1px solid var(--compiler-dark-border);white-space:nowrap}.compiler-sidebar-tabs span{height:54px;display:inline-flex;align-items:center;color:var(--compiler-dark-muted);font-size:13px;font-weight:600}.compiler-sidebar-tabs span.active{color:#fff;border-bottom:2px solid #60a5fa}.compiler-problem,.compiler-free-content{padding:24px}.problem-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.difficulty-badge,.solved-badge{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700}.difficulty-badge{background:#1d4ed8;color:#dbeafe}.solved-badge{background:#064e3b;color:#a7f3d0}.compiler-problem h2,.compiler-free-content h2{margin:0 0 14px;color:#fff;font-size:22px;line-height:1.35;font-weight:800;letter-spacing:-.5px}.problem-description,.compiler-free-content>p{margin:0;color:#cbd5e1;font-size:14px;line-height:1.8;white-space:pre-wrap}.problem-section{margin-top:24px}.problem-section h3{margin:0 0 8px;color:#f8fafc;font-size:14px;font-weight:800}.problem-section p{margin:0;color:#94a3b8;font-size:13px;line-height:1.75}.problem-section pre{max-width:100%;margin:0;padding:12px;overflow:auto;border:1px solid var(--compiler-dark-border);border-radius:8px;background:#080f1d;color:#cbd5e1;font-family:JetBrains Mono,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre-wrap}.problem-section pre.expected-output{color:#6ee7b7}.compiler-tip{margin-top:24px;padding:14px;border:1px solid rgba(96,165,250,.25);border-radius:10px;background:#2563eb1f;color:#bfdbfe;font-size:13px;line-height:1.7}.compiler-tip strong{color:#93c5fd}.problem-toggle{margin-top:16px}.problem-toggle>button{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid var(--compiler-dark-border);border-radius:8px;background:#172236;color:#e2e8f0;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.problem-toggle>button:hover{background:#1e2b42}.problem-toggle svg{transition:transform .15s ease}.problem-toggle svg.rotated{transform:rotate(180deg)}.problem-toggle-content{margin:8px 0 0;padding:12px;border-radius:8px;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow:auto}.hint-content{color:#fde68a;background:#92400e40;border:1px solid rgba(245,158,11,.18)}.solution-content{color:#cbd5e1;background:#080f1d;border:1px solid var(--compiler-dark-border)}.compiler-main{min-width:0;display:flex;flex-direction:column;background:var(--compiler-dark)}.editor-header{height:54px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 18px;border-bottom:1px solid var(--compiler-dark-border);background:#101a2d;color:var(--compiler-dark-muted)}.editor-file{display:flex;align-items:center;gap:8px;color:#cbd5e1;font-size:13px;font-weight:700}.editor-file svg{color:#93c5fd}.editor-title{font-size:12px;font-weight:600}.compiler-editor{height:370px;min-height:260px;flex-shrink:0;background:#0b1220;overflow:hidden}.editor-loading{height:100%;display:grid;place-items:center;background:#0b1220;color:#94a3b8;font-family:JetBrains Mono,Consolas,monospace;font-size:13px}.interactive-terminal-wrapper{width:100%;height:380px;min-height:320px;max-height:480px;display:flex;flex-direction:column;margin-top:16px;border:1px solid #d9e0ea;border-radius:10px;overflow:hidden;background:#0f172a}.terminal-toolbar{min-height:50px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:8px 16px;background:#101a2d;border-bottom:1px solid var(--compiler-dark-border)}.terminal-title{display:flex;align-items:center;gap:8px;color:#e2e8f0;font-size:13px;font-weight:700}.terminal-dot{width:9px;height:9px;border-radius:50%;background:#34d399}.terminal-toolbar-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.terminal-tool-button{height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #334155;border-radius:7px;background:#172236;color:#cbd5e1;font:inherit;font-size:12px;font-weight:600;cursor:pointer}.terminal-tool-button:hover{background:#24334b}.terminal-tool-button:disabled{opacity:.45;cursor:not-allowed}.terminal-tabs{min-height:44px;display:flex;align-items:center;gap:20px;padding:0 16px;border-bottom:1px solid var(--compiler-dark-border);background:#101a2d}.terminal-tabs button{height:44px;display:inline-flex;align-items:center;gap:7px;padding:0;border:0;border-bottom:2px solid transparent;background:transparent;color:#94a3b8;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.terminal-tabs button.active{color:#fff;border-bottom-color:#60a5fa}.terminal-tabs button:hover{color:#fff}.terminal-status{margin-left:auto;color:#94a3b8;font-family:JetBrains Mono,Consolas,monospace;font-size:11px;white-space:nowrap}.terminal-content{flex:1;min-height:200px;overflow:auto}.terminal-input-panel{padding:18px}.terminal-input-panel label{display:block;margin-bottom:10px;color:#cbd5e1;font-size:13px;font-weight:700}.terminal-input-panel textarea{display:block;width:100%;min-height:140px;resize:vertical;padding:12px;border:1px solid #334155;border-radius:8px;outline:none;background:#080f1d;color:#e2e8f0;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.7}.terminal-input-panel textarea:focus{border-color:#3b82f6}.terminal-input-panel textarea::placeholder{color:#64748b}.terminal-input-panel p{margin:10px 0 0;color:#64748b;font-size:12px;line-height:1.6}.terminal-output-panel{min-height:200px;padding:18px;color:#e2e8f0}.terminal-output-panel pre{margin:0;color:#e2e8f0;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.terminal-empty{display:flex;align-items:center;gap:10px;color:#64748b;font-family:JetBrains Mono,Consolas,monospace;font-size:12px}.compiler-button:focus-visible,.terminal-tool-button:focus-visible,.terminal-tabs button:focus-visible,.problem-toggle>button:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}@media(max-width:1100px){.compiler-header{align-items:flex-start;flex-direction:column}.compiler-actions{width:100%;justify-content:flex-start}.compiler-workspace{grid-template-columns:280px minmax(0,1fr)}}@media(max-width:768px){.compiler-page{padding:10px}.compiler-shell{border-radius:12px}.compiler-header{padding:14px}.compiler-actions{gap:8px}.compiler-language-select{width:100%;justify-content:space-between}.compiler-language-select select{flex:1;max-width:220px}.compiler-button{flex:1;padding:0 10px}.compiler-workspace{grid-template-columns:1fr;min-height:0}.compiler-sidebar{border-right:0;border-bottom:1px solid var(--compiler-dark-border);max-height:480px}.compiler-main{min-height:650px}.compiler-editor{height:320px}.terminal-toolbar{padding:8px 12px}.terminal-tabs{gap:12px;padding:0 12px}.terminal-tabs button{font-size:12px}.terminal-status{font-size:10px}}@media(max-width:420px){.compiler-brand h1{font-size:18px}.compiler-brand p,.compiler-button{font-size:12px}.compiler-editor{height:280px}.terminal-toolbar-actions{width:100%}.terminal-tool-button{flex:1;justify-content:center}}.interactive-terminal-wrapper{background:#0b1120}.terminal-output-panel{background:#020617!important;color:#f8fafc!important;font-family:Cascadia Code,Fira Code,Consolas,monospace!important;font-size:15px!important;line-height:1.7!important;font-weight:500}.terminal-output-panel pre{color:#f8fafc!important;font-family:Cascadia Code,Fira Code,Consolas,monospace!important;font-size:15px!important;line-height:1.7!important;font-weight:500}.terminal-line{color:#f8fafc!important}.terminal-live-input{color:#fff!important;caret-color:#60a5fa!important;font-size:15px!important;font-weight:500}.terminal-prompt{color:#60a5fa!important;font-weight:700}.terminal-error-line{color:#fca5a5!important}.terminal-status{color:#cbd5e1!important}.terminal-empty{color:#94a3b8!important}.compiler-page{height:calc(100vh - 64px);min-height:0;overflow:hidden}.compiler-layout{height:100%;min-height:0;display:flex;overflow:hidden}.compiler-sidebar{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}.compiler-main{height:100%;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden}.compiler-editor{min-height:0;overflow:hidden}.interactive-terminal-wrapper{width:100%;height:380px;min-height:320px;max-height:480px;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden;border-radius:10px}.terminal-content{flex:1;min-height:0;overflow:hidden}.terminal-output-panel{height:100%;min-height:0;overflow-y:auto;overflow-x:auto;overscroll-behavior:contain;scrollbar-gutter:stable;color:#f8fafc!important;font-family:Cascadia Code,Fira Code,Consolas,monospace;font-size:15px;line-height:1.7}.terminal-output-panel pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#f8fafc!important}.sql-result-cards{display:flex;flex-direction:column;gap:12px;margin:10px 0}.sql-result-card{width:320px;border:1px solid #24415f;border-radius:8px;background:#0d1a2b;overflow:hidden}.sql-result-field{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #24415f}.sql-result-field:last-child{border-bottom:none}.sql-result-field span{color:#7f93ad;font-size:13px}.sql-result-field strong{color:#d4e2f5;font-family:JetBrains Mono,Consolas,monospace;font-size:14px}.sql-result-row:first-of-type .sql-result-cell{background:#10233c;font-weight:600}.terminal-line{white-space:pre;font-family:JetBrains Mono,Consolas,Courier New,monospace;line-height:1.6}.terminal-real-console{overflow-x:auto}.terminal-content{white-space:pre-wrap}.terminal-input-line{flex-shrink:0;min-height:42px;display:flex;align-items:center;overflow:hidden}.terminal-live-input{min-width:0;width:100%;outline:none;border:none;background:transparent;color:#fff!important;font-family:Cascadia Code,Fira Code,Consolas,monospace;font-size:15px}@media(max-width:768px){.compiler-page{height:calc(100vh - 56px)}.compiler-layout{display:flex;flex-direction:column}.compiler-sidebar{height:auto;max-height:220px;flex-shrink:0}.compiler-main{flex:1;min-height:0;overflow-y:auto}.interactive-terminal-wrapper{height:330px;min-height:280px;max-height:400px}.terminal-output-panel{font-size:13px;line-height:1.6}.terminal-live-input{font-size:13px}}.practice-compiler-page{height:calc(100vh - 70px);min-height:650px;display:flex;flex-direction:column;background:#111827;color:#e5e7eb;overflow:hidden}.practice-topbar{height:62px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 14px;background:#172635;border-bottom:1px solid #334155}.practice-tabs{height:100%;display:flex;align-items:stretch;gap:6px}.practice-tabs button{border:none;background:transparent;color:#9fb3c8;padding:0 18px;font-size:16px;font-weight:600;cursor:pointer;border-bottom:3px solid transparent}.practice-tabs button.active{color:#fff;background:#1d2d3e;border-bottom-color:#22c55e}.practice-editor-actions{display:flex;align-items:center;gap:10px}.practice-reset-button,.practice-close-button,.practice-submit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:6px;padding:10px 14px;cursor:pointer;font-weight:600}.practice-reset-button{color:#cbd5e1;background:transparent}.practice-reset-button:hover{background:#26384b}.practice-submit-button{color:#fff;background:#10b981;font-size:15px}.practice-submit-button:hover{background:#059669}.practice-submit-button:disabled{opacity:.6;cursor:not-allowed}.practice-close-button{color:#cbd5e1;background:transparent}.practice-main-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,29%) minmax(0,1fr)}.practice-problem-panel{min-width:0;overflow-y:auto;padding:28px 22px;background:#152332;border-right:1px solid #334155}.practice-problem-panel h1{margin:0 0 24px;color:#f8fafc;font-size:30px;line-height:1.25;font-weight:500}.practice-problem-panel h2{margin:26px 0 20px;color:#f8fafc;font-size:25px;font-weight:600}.practice-problem-panel h3{margin:24px 0 10px;color:#f8fafc;font-size:15px}.practice-description,.practice-problem-panel p{color:#d6e1ed;font-size:17px;line-height:1.8}.practice-problem-panel hr{margin:24px 0;border:none;border-top:1px solid #94a3b8}.practice-input-preview{padding:12px;border:1px solid #334155;border-radius:5px;background:#172536;overflow-x:auto}.practice-input-preview pre{margin:0;color:#dbeafe;font-family:Cascadia Code,Consolas,monospace;font-size:14px;line-height:1.7;white-space:pre-wrap}.practice-info-content{color:#d6e1ed;font-size:16px;line-height:1.8}.practice-editor-area{min-width:0;min-height:0;display:flex;flex-direction:column;background:#1e1e2e}.practice-file-tab{height:48px;display:flex;align-items:center;gap:10px;padding:0 28px;background:#172635;border-bottom:1px solid #334155;color:#f8fafc;font-weight:600}.practice-python-icon{color:#facc15;font-size:18px}.practice-monaco-wrapper{flex:1;min-height:250px;min-width:0}.practice-testcase-panel{height:245px;min-height:180px;display:flex;flex-direction:column;background:#172635;border-top:1px solid #334155}.practice-testcase-header{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #334155}.practice-testcase-title{display:flex;align-items:center;gap:9px;color:#f8fafc;font-size:14px;font-weight:700}.practice-help-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #64748b;border-radius:50%;color:#cbd5e1;font-size:11px}.practice-testcase-toolbar{display:flex;align-items:center;gap:12px;padding:9px 20px;border-bottom:1px solid #334155}.practice-run-button{display:inline-flex;align-items:center;gap:7px;border:1px solid #475569;border-radius:5px;padding:7px 12px;background:#24364a;color:#e2e8f0;cursor:pointer;font-weight:600}.practice-run-button:hover{background:#334155}.practice-run-button:disabled{opacity:.6;cursor:not-allowed}.practice-status{color:#94a3b8;font-size:13px}.practice-status.success{color:#4ade80}.practice-status.error{color:#f87171}.practice-testcase-content{flex:1;min-height:0;overflow-y:auto;padding:18px 22px}.practice-empty-output{height:100%;display:flex;align-items:center;justify-content:center;gap:12px;color:#64748b;font-family:Cascadia Code,Consolas,monospace;font-size:14px}.practice-output{margin:0;color:#dbeafe;font-family:Cascadia Code,Consolas,monospace;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.practice-success-message,.practice-error-message{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:14px}.practice-success-message{color:#4ade80}.practice-error-message{color:#f87171}@media(max-width:900px){.practice-main-layout{grid-template-columns:1fr;grid-template-rows:42% 58%}.practice-problem-panel{border-right:none;border-bottom:1px solid #334155}.practice-problem-panel h1{font-size:25px}.practice-testcase-panel{height:220px}}@media(max-width:600px){.practice-topbar{height:auto;min-height:62px;flex-wrap:wrap;padding:8px}.practice-tabs button{padding:0 10px;font-size:13px}.practice-editor-actions{gap:4px}.practice-reset-button,.practice-submit-button{padding:8px;font-size:12px}.practice-submit-button svg,.practice-reset-button svg{display:none}.practice-main-layout{grid-template-rows:45% 55%}.practice-problem-panel{padding:20px 16px}.practice-problem-panel p{font-size:15px}}html,body,#root{min-height:100%;height:auto!important}html{overflow-y:auto!important}body{margin:0;overflow-x:hidden!important;overflow-y:auto!important}#root{overflow:visible!important}.compiler-page{width:100%;height:auto!important;min-height:calc(100vh - var(--header-height));overflow:visible!important;display:block!important;padding-bottom:40px}.compiler-shell{width:100%;max-width:1800px;margin:0 auto;overflow:visible!important}.compiler-workspace{width:100%;height:auto!important;min-height:0!important;display:flex;align-items:stretch;overflow:visible!important}.compiler-sidebar{height:auto!important;max-height:none!important;overflow:visible!important;overflow-y:visible!important}.compiler-main{height:auto!important;min-height:0!important;flex:1;overflow:visible!important}.compiler-editor{width:100%;height:520px!important;min-height:520px!important;flex:none;overflow:hidden}.interactive-terminal-wrapper{width:100%;height:380px;min-height:320px;max-height:480px;flex-shrink:0;overflow:hidden}.terminal-content{min-height:0;overflow:hidden}.terminal-output-panel{max-height:260px;min-height:180px;overflow-y:auto!important;overflow-x:auto!important;scrollbar-gutter:stable}.terminal-output-panel pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}@media(max-width:768px){.compiler-page{height:auto!important;min-height:100vh;overflow:visible!important;padding:12px}.compiler-workspace{display:flex;flex-direction:column;height:auto!important;overflow:visible!important}.compiler-sidebar{width:100%;height:auto!important;max-height:none!important;overflow:visible!important}.compiler-main{width:100%;height:auto!important;overflow:visible!important}.compiler-editor{height:420px!important;min-height:420px!important}.interactive-terminal-wrapper{height:330px;min-height:280px;max-height:400px}.terminal-output-panel{min-height:150px;max-height:220px}}.practice-compiler-page{width:100%;height:calc(100vh - 70px);min-height:650px;display:flex;flex-direction:column;background:#07111f!important;color:#e8f1ff!important;overflow:hidden}.practice-compiler-shell{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;background:#07111f!important;color:#e8f1ff!important;overflow:hidden}.practice-compiler-header{height:68px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 18px;background:#0d1a2b!important;border-bottom:1px solid #203754;color:#e8f1ff!important;overflow-x:auto}.practice-compiler-brand{display:flex;align-items:center;gap:11px;flex-shrink:0}.practice-compiler-brand-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#1677ff;color:#fff}.practice-compiler-brand h1{margin:0;color:#f8fbff!important;font-size:17px;line-height:1.2}.practice-compiler-brand p{margin:3px 0 0;color:#8fa4bd!important;font-size:12px}.practice-compiler-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.practice-compiler-language-select{display:flex;align-items:center;gap:7px;color:#9fb3ca!important;font-size:12px;white-space:nowrap}.practice-compiler-language-select select{height:36px;min-width:120px;padding:0 10px;border:1px solid #29415f;border-radius:7px;outline:none;background:#0a1728!important;color:#e8f1ff!important}.practice-compiler-button{height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;border-radius:7px;border:1px solid #304a68;background:#13243a;color:#dcecff!important;font-size:13px;font-weight:700;white-space:nowrap}.practice-compiler-button:hover{background:#1b3553}.practice-compiler-button.primary{background:#1677ff;border-color:#1677ff;color:#fff!important}.practice-compiler-button.primary:hover{background:#0b5ed7}.practice-compiler-button.success{background:#00a86b;border-color:#00a86b;color:#fff!important}.practice-compiler-button.success:hover{background:#008f5b}.practice-compiler-button:disabled{opacity:.55;cursor:not-allowed}.practice-compiler-workspace{flex:1;min-width:0;min-height:0;width:100%;display:grid;grid-template-columns:380px minmax(0,1fr);background:#07111f!important;overflow:hidden}.practice-compiler-sidebar{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;background:#0b1727!important;border-right:1px solid #203754;color:#e8f1ff!important;overflow:hidden}.practice-compiler-sidebar-tabs{height:52px;min-height:52px;display:flex;align-items:stretch;border-bottom:1px solid #203754;background:#0d1a2b!important;overflow-x:auto}.practice-compiler-sidebar-tabs span{display:flex;align-items:center;padding:0 18px;color:#7f96b0!important;font-size:13px;font-weight:600;white-space:nowrap;border-bottom:2px solid transparent}.practice-compiler-sidebar-tabs span.active{color:#f8fbff!important;border-bottom-color:#1677ff;background:#13243a}.practice-compiler-problem{flex:1;min-height:0;padding:24px;overflow-y:auto;overflow-x:hidden;color:#dbeafe!important;scrollbar-width:thin;scrollbar-color:#38516d #0b1727}.practice-compiler-problem::-webkit-scrollbar{width:9px}.practice-compiler-problem::-webkit-scrollbar-track{background:#0b1727}.practice-compiler-problem::-webkit-scrollbar-thumb{background:#38516d;border-radius:20px}.practice-compiler-problem::-webkit-scrollbar-thumb:hover{background:#4e6b8c}.practice-compiler-problem h2{margin:16px 0 14px;color:#f8fbff!important;font-size:28px;line-height:1.25}.practice-problem-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.practice-difficulty-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:6px;background:#17375d;color:#65b5ff!important;font-size:11px;font-weight:800;text-transform:uppercase}.practice-solved-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;background:#103522;color:#4ade80!important;font-size:11px;font-weight:800}.practice-problem-description{margin:0 0 25px;color:#b8c9dc!important;font-size:15px;line-height:1.75}.practice-problem-section{margin-top:23px}.practice-problem-section h3{margin:0 0 9px;color:#f1f7ff!important;font-size:14px}.practice-problem-section p{margin:0;color:#aebfd3!important;line-height:1.7}.practice-problem-section pre{margin:0;padding:12px;border:1px solid #263e59;border-radius:7px;background:#07111f!important;color:#d7e7fb!important;white-space:pre-wrap;overflow-x:auto;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.6}.practice-problem-section pre.expected-output{color:#4ade80!important;background:#092319!important;border-color:#14532d}.practice-problem-toggle{margin-top:20px;border:1px solid #263e59;border-radius:8px;overflow:hidden;background:#0d1a2b!important}.practice-problem-toggle>button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:0;background:transparent;color:#dcecff!important;font-weight:700;cursor:pointer}.practice-problem-toggle>button:hover{background:#13243a}.practice-problem-toggle svg{transition:transform .2s ease}.practice-problem-toggle svg.rotated{transform:rotate(180deg)}.practice-problem-toggle-content{margin:0;padding:13px;border-top:1px solid #263e59;color:#b9c9da!important;background:#07111f!important;line-height:1.6}.practice-solution-content{white-space:pre-wrap;overflow-x:auto;font-family:JetBrains Mono,Consolas,monospace;font-size:12px;color:#d7e7fb!important}.practice-compiler-main{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;background:#07111f!important;color:#e8f1ff!important;overflow:hidden}.practice-editor-header{height:52px;min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#0d1a2b!important;border-bottom:1px solid #203754}.practice-editor-file{display:flex;align-items:center;gap:8px;color:#e8f1ff!important;font-size:13px;font-weight:700}.practice-editor-file svg{color:#60a5fa}.practice-editor-title{color:#7187a0!important;font-size:11px;font-weight:600}.practice-compiler-editor{flex:1;min-width:0;min-height:0;height:auto;background:#1e1e1e;overflow:hidden}.practice-compiler-editor .monaco-editor,.practice-compiler-editor .overflow-guard{width:100%!important;height:100%!important}@media(max-width:1000px){.practice-compiler-page,.practice-compiler-shell{height:auto;min-height:calc(100vh - 70px);overflow:visible}.practice-compiler-header{height:auto;min-height:68px;flex-wrap:wrap;padding:10px;overflow:visible}.practice-compiler-actions{width:100%;overflow-x:auto;padding-bottom:3px}.practice-compiler-workspace{height:auto;min-height:0;display:flex;flex-direction:column;overflow:visible}.practice-compiler-sidebar{width:100%;height:460px;min-height:460px;border-right:0;border-bottom:1px solid #203754}.practice-compiler-main{width:100%;height:760px;min-height:760px}.practice-compiler-editor{height:500px;min-height:500px;flex:none}}@media(max-width:650px){.practice-compiler-brand p{display:none}.practice-compiler-brand h1{font-size:15px}.practice-compiler-sidebar{height:420px;min-height:420px}.practice-compiler-main{height:700px;min-height:700px}.practice-compiler-editor{height:430px;min-height:430px}.practice-compiler-button{padding:0 10px}}.html-preview-wrapper{display:flex;flex-direction:column;height:360px;border-top:1px solid #24415f;background:#fff}.html-preview-header{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#0d1a2b;border-bottom:1px solid #24415f}.html-preview-title{color:#d4e2f5;font-size:14px;font-weight:600}.html-preview-status{color:#58a6ff;font-size:12px}.html-preview-content{flex:1;min-height:0;background:#fff}.html-preview-frame{width:100%;height:100%;border:none;display:block;background:#fff}.quiz-container{width:100%;max-width:1000px;margin:0 auto;padding:40px 20px}.quiz-selection-card,.quiz-question-card,.quiz-result-card{background:var(--card-bg, #ffffff);border:1px solid #dbe4f0;border-radius:16px;padding:30px}.quiz-selection-card{max-width:800px;margin:0 auto;text-align:center}.quiz-selection-card h1{margin-bottom:10px}.quiz-language-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px 0 30px}.quiz-language,.quiz-difficulty{border:1px solid #dbe4f0;background:transparent;border-radius:12px;padding:18px;cursor:pointer;font-size:15px}.quiz-language.selected,.quiz-difficulty.selected{border-color:#2563eb;background:#eff6ff}.quiz-language-icon{display:block;font-size:28px;margin-bottom:8px}.quiz-difficulty-grid{display:flex;justify-content:center;gap:12px;margin:20px 0 30px}.quiz-start-button,.quiz-primary-button{border:none;background:#2563eb;color:#fff;padding:12px 24px;border-radius:10px;cursor:pointer;font-weight:600}.quiz-start-button:disabled{opacity:.6;cursor:not-allowed}.quiz-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.quiz-progress-bar{height:7px;background:#e5e7eb;border-radius:10px;overflow:hidden;margin-bottom:25px}.quiz-progress-fill{height:100%;background:#2563eb;transition:width .3s ease}.quiz-topic{display:inline-block;padding:5px 10px;border-radius:20px;background:#eff6ff;color:#2563eb;font-size:12px;margin-bottom:15px}.quiz-question-card h3{font-size:21px;line-height:1.5}.quiz-options{display:grid;gap:12px;margin-top:25px}.quiz-option{display:flex;align-items:center;gap:15px;text-align:left;padding:16px;border:1px solid #dbe4f0;background:transparent;border-radius:12px;cursor:pointer;font-size:15px}.quiz-option:hover{border-color:#2563eb}.quiz-option.selected{border-color:#2563eb;background:#eff6ff}.quiz-option.correct{border-color:#16a34a;background:#f0fdf4}.quiz-option.wrong{border-color:#dc2626;background:#fef2f2}.quiz-option-letter{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e5e7eb;font-weight:700}.quiz-explanation{margin-top:20px;padding:15px;border-radius:10px;background:#f8fafc}.quiz-footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px}.quiz-result-card{max-width:600px;margin:50px auto;text-align:center}.quiz-result-icon{font-size:60px}.quiz-result-score{font-size:40px;font-weight:700;margin:15px 0 5px}.quiz-result-percentage{font-size:24px;color:#2563eb}.quiz-error{margin:15px 0;padding:12px;border-radius:8px;background:#fef2f2;color:#dc2626}@media(max-width:700px){.quiz-language-grid{grid-template-columns:repeat(2,1fr)}.quiz-header{flex-direction:column;align-items:flex-start;gap:10px}.quiz-question-card{padding:20px}}.home-page{width:100%;overflow:hidden}.home-hero{max-width:1200px;margin:0 auto;padding:80px 32px 90px;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.home-hero-content{max-width:650px}.home-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eef5ff;color:#1677ff;font-size:14px;font-weight:700;margin-bottom:24px}.home-hero h1{margin:0;font-size:clamp(44px,5vw,68px);line-height:1.05;letter-spacing:-2px;color:#142653}.home-hero h1 span{color:#1677ff}.home-hero p{max-width:600px;margin:24px 0 30px;font-size:18px;line-height:1.7;color:#607394}.home-hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.home-primary-button,.home-secondary-button{min-height:48px;padding:0 20px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:15px;font-weight:700;cursor:pointer;transition:.2s ease}.home-primary-button{border:none;background:#1677ff;color:#fff}.home-primary-button:hover{background:#0868ed;transform:translateY(-1px)}.home-secondary-button{background:#fff;color:#17264c;border:1px solid #dce5f2}.home-secondary-button:hover{border-color:#1677ff;color:#1677ff}.home-language-row{margin-top:30px}.home-language-row>span{display:block;margin-bottom:10px;font-size:13px;font-weight:700;color:#8492a9}.home-languages{display:flex;flex-wrap:wrap;gap:8px}.home-languages span{padding:7px 11px;background:#f5f8fc;border:1px solid #e3eaf3;border-radius:7px;font-size:13px;font-weight:600;color:#304266}.home-code-card{background:#071629;border-radius:16px;overflow:hidden;box-shadow:0 25px 60px #122c5233;border:1px solid #172b45}.home-code-top{height:48px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #20334c}.home-window-dots{display:flex;gap:7px}.home-window-dots span{width:9px;height:9px;border-radius:50%;background:#526983}.home-code-file{font-size:12px;color:#9fb2cb}.home-code-body{padding:32px 28px;min-height:260px;color:#dce8f7;font-family:Consolas,Courier New,monospace;font-size:15px;line-height:2}.code-purple{color:#c9a7ff}.code-blue{color:#75baff}.code-green{color:#75d6a4}.code-indent{padding-left:25px}.code-indent-2{padding-left:50px}.home-code-status{min-height:44px;padding:0 18px;display:flex;align-items:center;gap:8px;border-top:1px solid #20334c;color:#7be0a7;font-size:13px}.home-features{background:#f5f8fd;padding:80px 32px}.home-section-heading{max-width:1200px;margin:0 auto 40px}.home-section-heading>span,.home-section-label{color:#1677ff;font-size:12px;font-weight:800;letter-spacing:1.5px}.home-section-heading h2{margin:10px 0;color:#172955;font-size:34px;letter-spacing:-.7px}.home-section-heading p{margin:0;color:#71819c;font-size:16px}.home-feature-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.home-feature-card{background:#fff;padding:30px;border:1px solid #e2e9f3;border-radius:15px;transition:.2s ease}.home-feature-card:hover{transform:translateY(-4px);border-color:#cbd9ed;box-shadow:0 15px 35px #20436f14}.home-feature-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;border-radius:11px;margin-bottom:22px}.compiler-icon{background:#eaf3ff;color:#1677ff}.practice-icon{background:#eef8f3;color:#15945b}.quiz-icon{background:#fff4e8;color:#e28a1b}.home-feature-card h3{margin:0 0 10px;font-size:21px;color:#182953}.home-feature-card p{min-height:75px;margin:0 0 22px;font-size:15px;line-height:1.6;color:#6d7d98}.home-feature-card button{padding:0;display:inline-flex;align-items:center;gap:7px;border:none;background:none;color:#1677ff;font-size:14px;font-weight:700;cursor:pointer}.home-progress-section{max-width:1200px;margin:0 auto;padding:80px 32px}.home-progress-card{padding:45px;border:1px solid #dfe7f2;border-radius:18px;background:#fff;display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;box-shadow:0 15px 45px #1d3d680f}.home-progress-content h2{margin:12px 0 15px;color:#172955;font-size:34px;line-height:1.2}.home-progress-content p{max-width:520px;color:#71819c;line-height:1.7}.home-progress-button{margin-top:12px;padding:12px 18px;display:inline-flex;align-items:center;gap:8px;border:none;border-radius:8px;background:#1677ff;color:#fff;font-weight:700;cursor:pointer}.home-progress-stats{display:flex;flex-direction:column;gap:15px}.home-stat{padding:18px;display:flex;align-items:center;gap:15px;border:1px solid #e4ebf4;border-radius:11px;background:#f9fbfe}.home-stat-icon{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#eaf3ff;color:#1677ff}.home-stat div:last-child{display:flex;flex-direction:column}.home-stat strong{color:#172955;font-size:21px}.home-stat span{color:#7888a2;font-size:13px}.home-cta{max-width:1200px;margin:0 auto 70px;padding:35px 40px;border-radius:16px;background:#172955;display:flex;align-items:center;justify-content:space-between;gap:25px}.home-cta h2{margin:0 0 7px;color:#fff;font-size:27px}.home-cta p{margin:0;color:#b9c8df}.home-cta button{min-height:45px;padding:0 18px;display:inline-flex;align-items:center;gap:8px;border:none;border-radius:8px;background:#1677ff;color:#fff;font-weight:700;cursor:pointer}@media(max-width:900px){.home-hero{grid-template-columns:1fr;gap:45px;padding-top:55px}.home-code-card{max-width:650px}.home-feature-grid,.home-progress-card{grid-template-columns:1fr}}@media(max-width:600px){.home-hero{padding:45px 20px 60px}.home-hero h1{font-size:42px}.home-hero p{font-size:16px}.home-hero-buttons{flex-direction:column}.home-primary-button,.home-secondary-button{width:100%}.home-features{padding:60px 20px}.home-section-heading h2{font-size:28px}.home-progress-section{padding:60px 20px}.home-progress-card{padding:28px}.home-progress-content h2{font-size:28px}.home-cta{margin:0 20px 50px;padding:28px;flex-direction:column;align-items:flex-start}.home-cta button{width:100%;justify-content:center}}.home-language-row{display:flex;align-items:center;gap:24px;margin-top:28px;flex-wrap:wrap}.home-language-title{font-size:14px;font-weight:600;color:#64748b;white-space:nowrap}.home-languages{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.home-language-item{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #dbe4ef;border-radius:9px;background:#fff;font-size:13px;font-weight:600;color:#334155;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.home-language-item:hover{transform:translateY(-2px);border-color:#93c5fd;box-shadow:0 5px 15px #0f172a14}.language-logo{width:19px;height:19px;flex-shrink:0}.python-logo{color:#3776ab}.javascript-logo{color:#f7df1e}.typescript-logo{color:#3178c6}.rust-logo{color:#dea584}.go-logo{color:#00add8}.html-logo{color:#e34f26}.php-logo{color:#777bb4}.java-logo{color:#ed8b00}.cpp-logo{color:#00599c}.c-logo{color:#a8b9cc}.sql-logo{color:#4479a1}.home-code-window{overflow:hidden;border-radius:14px;background:#07111f;border:1px solid #1d3550;box-shadow:0 20px 50px #00000040}.home-code-window-header{height:44px;display:flex;align-items:center;padding:0 16px;background:#0d1a2b;border-bottom:1px solid #1d3550}.home-window-dots{display:flex;align-items:center;gap:8px}.window-dot{width:12px;height:12px;border-radius:50%;display:block}.window-dot.red{background:#ff5f57}.window-dot.yellow{background:#febc2e}.window-dot.green{background:#28c840}.home-code-title{margin-left:14px;font-size:13px;color:#8fa6bf;font-weight:500}.home-code-content{padding:22px;min-height:260px;background:#07111f}.dark{color-scheme:dark}.dark body{background:#07111f;color:#e6edf7}.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6{color:#f1f5f9}.dark p{color:#b8c7d9}.dark a{color:#58a6ff}.dark button{color:#e6edf7}.dark input,.dark textarea,.dark select{background:#0d1a2b;color:#e6edf7;border-color:#29435f}.dark input::placeholder,.dark textarea::placeholder{color:#71849b}.dark .card,.dark .home-card,.dark .practice-card,.dark .quiz-card,.dark .quiz-selection-card,.dark .quiz-question-card,.dark .quiz-result-card,.dark .dashboard-card{background:#0d1a2b;color:#e6edf7;border-color:#203a55}.dark .card p,.dark .home-card p,.dark .practice-card p,.dark .quiz-card p,.dark .quiz-question-card p,.dark .dashboard-card p{color:#b8c7d9}.dark label,.dark .label{color:#d8e2ef}.dark .muted,.dark .subtitle,.dark .description{color:#8fa3b8}.dark .home-features{background:#07111f}.dark .home-section-heading span{color:#58a6ff}.dark .home-section-heading h2{color:#f1f5f9}.dark .home-section-heading p{color:#b8c7d9}.dark .home-feature-card{background:#0d1a2b;border:1px solid #203a55;color:#e6edf7}.dark .home-feature-card h3{color:#f1f5f9}.dark .home-feature-card p{color:#b8c7d9}.dark .home-feature-card button{color:#58a6ff}.dark .home-feature-card button:hover{color:#7cb8ff}.dark .home-feature-icon{background:#13243b;color:#58a6ff}.dark .home-progress-section{background:#07111f}.dark .home-progress-card{background:#0d1a2b;border:1px solid #203a55}.dark .home-section-label{color:#58a6ff}.dark .home-progress-content h2{color:#f1f5f9}.dark .home-progress-content p{color:#b8c7d9}.dark .home-stat{background:#13243b;border:1px solid #203a55;color:#e6edf7}.dark .home-stat strong{color:#f1f5f9}.dark .home-stat span{color:#b8c7d9}.dark .home-stat-icon{background:#1a3050;color:#58a6ff}.dark .home-cta{background:#0d1a2b;border:1px solid #203a55}.dark .home-cta h2{color:#f1f5f9}.dark .home-cta p{color:#b8c7d9}.dark .home-cta button{background:#2563eb;color:#fff}.dark .quiz-container{color:#e6edf7}.dark .quiz-container h1,.dark .quiz-container h2,.dark .quiz-container h3{color:#f1f5f9}.dark .quiz-container p{color:#b8c7d9}.dark .quiz-language,.dark .quiz-difficulty{background:#0d1a2b;color:#e6edf7;border-color:#29435f}.dark .quiz-language:hover,.dark .quiz-difficulty:hover{background:#132842}.dark .quiz-language.selected,.dark .quiz-difficulty.selected{color:#fff}.dark .quiz-option{background:#0d1a2b;color:#e6edf7;border-color:#29435f}.dark .quiz-option:hover{background:#132842}.dark .quiz-topic{color:#58a6ff}.dark .quiz-explanation{background:#10233c;color:#d8e2ef}.dark .quiz-footer{color:#b8c7d9}.dark .compiler-page{background:#07111f;color:#e6edf7}.dark .compiler-header{background:#0d1a2b;color:#f1f5f9;border-color:#203a55}.dark .compiler-header h1{color:#f1f5f9}.dark .compiler-header p{color:#8fa3b8}.dark .compiler-language-select span{color:#d8e2ef}.dark .compiler-language-select select{background:#0d1a2b;color:#e6edf7;border-color:#29435f}.dark .editor-header{background:#0d1a2b;color:#d8e2ef;border-color:#203a55}.dark .editor-title{color:#8fa3b8}.dark .editor-file-tab{color:#e6edf7}.dark .editor-file-tab.active{background:#132842;color:#fff;border-color:#1677ff}.practice-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 32px}.practice-summary-card{display:flex;align-items:center;gap:14px;padding:18px 20px;border-radius:14px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0f172a0a}.practice-summary-card svg{color:#2563eb;flex-shrink:0}.practice-summary-card>div{display:flex;flex-direction:column;line-height:1.2}.practice-summary-card strong{font-size:20px;font-weight:700;color:#0f172a}.practice-summary-card span{font-size:13px;color:#64748b;margin-top:2px}.language-summary-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:20px;flex-shrink:0}.dark .practice-summary-card{background:#0d1a2b;border-color:#203a55;box-shadow:none}.dark .practice-summary-card svg{color:#58a6ff}.dark .practice-summary-card strong{color:#f1f5f9}.dark .practice-summary-card span{color:#b8c7d9}.compiler-page{padding:0;margin:0;min-height:0}.compiler-free-shell{padding:0;height:100%}.compiler-free-workspace{width:100%;height:calc(100vh - 140px);min-height:560px;padding:8px;box-sizing:border-box;overflow:hidden}.compiler-panel-group{height:100%;width:100%;gap:0}.compiler-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#07111f;border:1px solid #1e2a3d;border-radius:12px}.compiler-editor-tab{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:6px 6px 0 0;background:#07111f;color:#d4e2f5;font-size:13px;font-family:JetBrains Mono,Consolas,monospace}.file-name{font-weight:500}.tab-close-btn{background:transparent;border:none;color:#6b7c93;font-size:16px;line-height:1;cursor:pointer;padding:0 4px;border-radius:4px}.tab-close-btn:hover{background:#1e2a3d;color:#fff}.compiler-editor-actions{display:flex;align-items:center;gap:8px}.toolbar-icon-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;color:#b8c7d9;border:1px solid transparent;border-radius:8px;cursor:pointer;transition:background .15s ease,color .15s ease}.toolbar-icon-btn:hover{background:#1e2a3d;color:#fff}.toolbar-copy-btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;background:transparent;color:#b8c7d9;border:1px solid #24415f;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.toolbar-copy-btn:hover{background:#12243a;color:#fff;border-color:#58a6ff}.toolbar-copy-btn.copied,.toolbar-copy-btn:has(svg.lucide-check){color:#4ade80;border-color:#4ade80}.toolbar-layout-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;background:transparent;color:#b8c7d9;border:1px solid #24415f;border-radius:8px;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.toolbar-layout-btn:hover{background:#12243a;color:#fff;border-color:#58a6ff}.compiler-output-panel{padding:0}.compiler-resize-handle{display:flex;align-items:center;justify-content:center;background:transparent;position:relative;z-index:5;transition:background .15s ease}.compiler-panel-group[data-panel-group-direction=vertical] .compiler-resize-handle:hover .compiler-resize-grip,.compiler-panel-group[data-panel-group-direction=vertical] .compiler-resize-handle[data-resize-handle-active] .compiler-resize-grip{width:80px}.compiler-panel-group[data-panel-group-direction=horizontal] .compiler-resize-handle:hover .compiler-resize-grip,.compiler-panel-group[data-panel-group-direction=horizontal] .compiler-resize-handle[data-resize-handle-active] .compiler-resize-grip{height:80px}@media(max-width:900px){.compiler-free-workspace{height:calc(100vh - 160px);padding:6px}.compiler-editor-toolbar{padding:0 8px}.toolbar-copy-btn span{display:none}.toolbar-copy-btn{padding:0 10px}}.home-language-item{background:transparent;border:none;font:inherit;color:inherit;display:inline-flex;align-items:center;gap:8px;cursor:pointer;transition:transform .15s ease,color .15s ease}.home-language-item:hover{transform:translateY(-2px)}.compiler-page{width:100%;padding:0!important;margin:0!important;min-height:0!important;background:#07111f}.compiler-free-shell{width:100%;padding:0!important;margin:0!important}.compiler-free-workspace{width:100%;height:calc(100vh - 88px);min-height:0!important;padding:8px;box-sizing:border-box;overflow:hidden}.compiler-panel-group{height:100%;width:100%;min-width:0;box-sizing:border-box}.compiler-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;background:#07111f;border:1px solid #1e2a3d;border-radius:12px;box-sizing:border-box}.compiler-editor-panel,.compiler-output-panel{min-width:0;min-height:0}.compiler-editor-panel .monaco-wrapper{flex:1;min-height:0;overflow:hidden}.compiler-output-panel>*{flex:1;min-height:0;overflow:hidden}.compiler-header{width:100%;max-width:100%;box-sizing:border-box;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow:hidden;flex-shrink:0}.compiler-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:100%;min-width:0}.compiler-language-select{display:flex;align-items:center;gap:6px;flex-shrink:0}.compiler-language-select select{padding:6px 10px;border-radius:8px;border:1px solid #24415f;background:#0d1a2b;color:#d4e2f5;font-size:13px;max-width:160px}.compiler-editor-toolbar{display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 12px;background:#0d1a2b;border-bottom:1px solid #1e2a3d;flex-shrink:0}.compiler-editor-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.compiler-resize-handle{display:flex;align-items:center;justify-content:center;background:transparent;position:relative;z-index:5}.compiler-panel-group[data-panel-group-direction=vertical] .compiler-resize-handle{height:12px;width:100%;cursor:row-resize}.compiler-panel-group[data-panel-group-direction=vertical] .compiler-resize-grip{width:60px;height:4px;background:#2a3f5c;border-radius:4px;transition:background .15s ease,width .15s ease}.compiler-panel-group[data-panel-group-direction=horizontal] .compiler-resize-handle{width:12px;height:100%;cursor:col-resize}.compiler-panel-group[data-panel-group-direction=horizontal] .compiler-resize-grip{width:4px;height:60px;background:#2a3f5c;border-radius:4px;transition:background .15s ease,height .15s ease}.compiler-resize-handle:hover .compiler-resize-grip,.compiler-resize-handle[data-resize-handle-active] .compiler-resize-grip{background:#58a6ff}.compiler-panel-group[data-panel-group-direction=vertical] .compiler-resize-handle:hover .compiler-resize-grip{width:80px}.compiler-panel-group[data-panel-group-direction=horizontal] .compiler-resize-handle:hover .compiler-resize-grip{height:80px}.terminal-header{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 12px;background:#0d1a2b;border-bottom:1px solid #1e2a3d;flex-shrink:0}.terminal-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#d4e2f5}.terminal-clear-btn{background:transparent;color:#b8c7d9;border:1px solid #24415f;border-radius:6px;padding:4px 10px;font-size:12px;cursor:pointer}.terminal-clear-btn:hover{background:#12243a;color:#fff;border-color:#58a6ff}@media(max-width:900px){.compiler-free-workspace{height:calc(100vh - 120px);padding:6px}.compiler-editor-toolbar{padding:0 8px}.toolbar-copy-btn span{display:none}}.compiler-panel,.compiler-output-panel,.compiler-editor-panel{border:1px solid #1e2a3d!important}.compiler-output-panel .interactive-terminal,.compiler-output-panel .terminal-wrapper{border:1px solid #1e2a3d!important;border-radius:12px}.compiler-header{background:#0d1a2b!important;border-bottom:1px solid #1e2a3d!important}.compiler-brand h1{color:#f1f5f9!important}.compiler-brand p{color:#94a3b8!important}.compiler-language-select span{color:#cbd5e1!important}.compiler-language-select select{background:#0d1a2b!important;color:#d4e2f5!important;border:1px solid #24415f!important}.compiler-button.secondary{background:transparent!important;color:#d4e2f5!important;border:1px solid #24415f!important}.compiler-button.secondary:hover{background:#12243a!important;color:#fff!important;border-color:#58a6ff!important}.compiler-panel,.compiler-editor-panel,.compiler-output-panel{border:1px solid #1e2a3d!important;background:#07111f!important}.compiler-output-panel>*{border:none!important;outline:none!important}.compiler-editor-toolbar{background:#0d1a2b!important;border-bottom:1px solid #1e2a3d!important}.compiler-editor-tab{color:#d4e2f5!important;background:#07111f!important}.file-name{color:#d4e2f5!important}.tab-close-btn{color:#6b7c93!important}.toolbar-copy-btn{color:#cbd5e1!important;border:1px solid #24415f!important;background:transparent!important}.toolbar-copy-btn:hover{background:#12243a!important;color:#fff!important;border-color:#58a6ff!important}.toolbar-copy-btn.copied{color:#4ade80!important;border-color:#4ade80!important}.toolbar-layout-btn{color:#cbd5e1!important;border:1px solid #24415f!important;background:transparent!important}.toolbar-layout-btn:hover{background:#12243a!important;color:#fff!important;border-color:#58a6ff!important}.interactive-terminal,.terminal-container{background:#07111f!important;border:none!important;outline:none!important}.terminal-header{background:#0d1a2b!important;border-bottom:1px solid #1e2a3d!important;color:#d4e2f5!important}.terminal-title{color:#d4e2f5!important}.terminal-clear-btn{color:#cbd5e1!important;border:1px solid #24415f!important;background:transparent!important}.terminal-clear-btn:hover{background:#12243a!important;color:#fff!important;border-color:#58a6ff!important}.compiler-resize-grip{background:#2a3f5c!important}.compiler-resize-handle:hover .compiler-resize-grip,.compiler-resize-handle[data-resize-handle-active] .compiler-resize-grip{background:#58a6ff!important}.quiz-certificate-banner{margin:16px auto;padding:14px 18px;border-radius:12px;background:linear-gradient(135deg,#1e5eff,#4f8cff);color:#fff;max-width:420px;text-align:center;font-size:14px;line-height:1.5;box-shadow:0 8px 24px #1e5eff4d}.quiz-certificate-banner strong,.quiz-certificate-banner b{color:#fff}.practice-login-notice{max-width:560px;margin:60px auto;padding:32px 28px;text-align:center;border-radius:16px;border:1px solid var(--border, #e5e7eb);background:var(--card-bg, #ffffff);box-shadow:0 4px 20px #0f172a0f}.practice-login-icon{display:inline-grid;place-items:center;width:56px;height:56px;background:#eef3ff;color:#2563eb;border-radius:14px;margin-bottom:14px}.practice-login-notice h2{margin:0 0 10px;font-size:22px;color:var(--text, #0f172a)}.practice-login-notice p{margin:0 0 22px;color:var(--muted, #64748b);line-height:1.6;font-size:15px}.practice-login-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.practice-login-button{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:10px;background:#2563eb;color:#fff;font-weight:600;font-size:14px;border:none;cursor:pointer;transition:background .15s ease}.practice-login-button:hover{background:#1d4ed8}.practice-signup-button{padding:11px 20px;border-radius:10px;background:transparent;color:var(--text, #0f172a);font-weight:600;font-size:14px;border:1px solid var(--border, #e5e7eb);cursor:pointer;transition:background .15s ease,border-color .15s ease}.practice-signup-button:hover{background:var(--hover, #f1f5f9);border-color:#2563eb}.practice-login-banner{display:flex;align-items:center;gap:10px;padding:10px 14px;margin:0 0 20px;border-radius:10px;background:#fef3c7;border:1px solid #fde68a;color:#92400e;font-size:14px}.practice-login-banner svg{flex-shrink:0}.practice-login-link{margin-left:auto;background:transparent;color:#92400e;font-weight:600;border:none;cursor:pointer;text-decoration:underline}.dark .practice-login-notice{background:#0d1a2b;border-color:#1e2a3d}.dark .practice-login-notice h2{color:#f1f5f9}.dark .practice-login-notice p{color:#94a3b8}.dark .practice-login-icon{background:#13243b;color:#58a6ff}.dark .practice-signup-button{color:#d4e2f5;border-color:#24415f}.dark .practice-signup-button:hover{background:#12243a;border-color:#58a6ff}.dark .practice-login-banner{background:#3b2a0a;border-color:#92400e;color:#fcd34d}.dark .practice-login-link{color:#fcd34d}.practice-login-note{display:flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:6px 12px;margin-bottom:0 0 12px;border-radius:10px;background:#fef3c7;border:1px solid #fde68a;color:#92400e;font-size:13.5px}.practice-login-note svg{flex-shrink:0}.practice-login-note-link{margin-left:6px;background:transparent;color:#92400e;font-weight:600;border:none;padding:0;cursor:pointer;text-decoration:underline}.practice-login-note-link:hover{color:#78350f}.dark .practice-login-note{background:#3b2a0a;border-color:#92400e;color:#fcd34d}.dark .practice-login-note-link{color:#fcd34d}.quiz-login-note{display:inline-flex;align-items:center;gap:8px;max-width:720px;margin:0 auto 20px;padding:10px 14px;border-radius:10px;background:#fef3c7;border:1px solid #fde68a;color:#92400e;font-size:13.5px}.quiz-login-note svg{flex-shrink:0}.quiz-login-note-link{margin-left:6px;background:transparent;color:#92400e;font-weight:600;border:none;padding:0;cursor:pointer;text-decoration:underline}.quiz-login-note-link:hover{color:#78350f}.dark .quiz-login-note{background:#3b2a0a;border-color:#92400e;color:#fcd34d}.dark .quiz-login-note-link{color:#fcd34d}.header-user{position:relative;display:flex;align-items:center}.header-profile-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;background:transparent;color:var(--text, #0f172a);border:1px solid var(--border, #e5e7eb);border-radius:50%;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.header-profile-icon:hover{background:var(--hover, #f1f5f9);border-color:#2563eb;color:#2563eb}.header-user-button{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px 0 4px;background:transparent;color:var(--text, #0f172a);border:1px solid var(--border, #e5e7eb);border-radius:999px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.header-user-button:hover{background:var(--hover, #f1f5f9);border-color:#2563eb}.header-avatar{display:grid;place-items:center;width:32px;height:32px;background:#2563eb;color:#fff;font-weight:700;font-size:14px;border-radius:50%}.header-username{font-size:14px;font-weight:600;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-user-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;padding:6px;background:#fff;border:1px solid var(--border, #e5e7eb);border-radius:12px;box-shadow:0 10px 30px #0f172a1f;z-index:100}.header-user-menu-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;background:transparent;color:var(--text, #0f172a);font-size:14px;text-align:left;border:none;border-radius:8px;cursor:pointer;transition:background .12s ease}.header-user-menu-item:hover{background:var(--hover, #f1f5f9)}.header-user-menu-item.danger{color:#dc2626}.header-user-menu-item.danger:hover{background:#fef2f2}.header-user-menu-divider{height:1px;margin:4px 6px;background:var(--border, #e5e7eb)}.dark .header-profile-icon,.dark .header-user-button{border-color:#24415f;color:#d4e2f5}.dark .header-profile-icon:hover,.dark .header-user-button:hover{background:#12243a;border-color:#58a6ff;color:#58a6ff}.dark .header-user-menu{background:#0d1a2b;border-color:#1e2a3d;box-shadow:0 10px 30px #0006}.dark .header-user-menu-item{color:#d4e2f5}.dark .header-user-menu-item:hover{background:#12243a}.dark .header-user-menu-item.danger{color:#f87171}.dark .header-user-menu-item.danger:hover{background:#2a1212}.dark .header-user-menu-divider{background:#1e2a3d}@media(max-width:640px){.header-username{display:none}.header-user-button{padding:0 4px}}.practice-language.dsa-active,.practice-language.active .dsa-icon{color:#7c3aed}.footer{background-color:#fff;border-top:1px solid #eaeaea;padding:60px 20px 20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#4a5568;font-size:15px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;gap:30px;max-width:1200px;margin:0 auto;text-align:left}.footer h4{color:#1a202c;font-weight:700;margin-top:0;margin-bottom:20px;font-size:16px}.brand-logo{display:flex;align-items:center;text-decoration:none;gap:12px;margin-bottom:20px}.logo-icon-box{background-color:#2563eb;width:38px;height:38px;border-radius:10px;display:flex;justify-content:center;align-items:center}.logo-letter{color:#fff;font-size:22px;font-weight:800;line-height:1}.logo-text{font-size:22px;font-weight:800;color:#1a202c}.logo-accent{color:#2563eb}.footer button{display:block;background:none;border:none;padding:0;margin-bottom:12px;color:#4a5568;font-size:14px;font-family:inherit;cursor:pointer;text-align:left;transition:color .2s ease}.footer button:hover{color:#2563eb}.copyright{max-width:1200px;margin:40px auto 0;padding-top:20px;border-top:1px solid #eaeaea;text-align:center;font-size:14px;color:#718096}@media(max-width:1024px){.footer-grid{grid-template-columns:1fr 1fr 1fr;gap:40px}}@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.footer-grid{grid-template-columns:1fr;gap:30px}}.auth-logo{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:28px}.auth-logo-icon{width:40px;height:40px;display:grid;place-items:center;background:#2563eb;color:#fff;font-size:22px;font-weight:800;border-radius:10px}.auth-logo h1{font-size:26px;font-weight:800;color:#0b1e3b;letter-spacing:-.5px;margin:0}.auth-logo h1 span{color:#2563eb}.practice-workspace{position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;z-index:99999;display:flex;flex-direction:column;overflow:hidden;background:#0b1220;color:#f8fafc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.practice-topbar{height:64px;min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#111b2e;border-bottom:1px solid #263449;flex-shrink:0;position:relative;z-index:20}.practice-brand{display:flex;align-items:center;gap:9px;color:#f8fafc;font-size:14px;font-weight:700;letter-spacing:.02em}.practice-brand svg{color:#22c55e}.practice-topbar-right{display:flex;align-items:center;gap:8px}.practice-icon-btn,.practice-reset-btn,.practice-submit-btn,.practice-close-btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;height:38px;border-radius:7px;font-size:14px;font-weight:600;transition:background .15s ease,opacity .15s ease}.practice-icon-btn{width:38px;color:#cbd5e1;background:transparent}.practice-icon-btn:hover{background:#1e293b;color:#fff}.practice-reset-btn{padding:0 13px;color:#dbe4ef;background:#1e293b}.practice-reset-btn:hover{background:#29374b}.practice-submit-btn{padding:0 17px;color:#fff;background:#10b981}.practice-submit-btn:hover{background:#059669}.practice-submit-btn:disabled,.practice-reset-btn:disabled{cursor:not-allowed;opacity:.55}.practice-close-btn{width:38px;color:#cbd5e1;background:transparent}.practice-close-btn:hover{background:#7f1d1d;color:#fff}.practice-main{flex:1;min-height:0;display:flex;width:100%;height:calc(100vh - 64px);overflow:hidden}.practice-problem-panel{width:40%;min-width:380px;max-width:680px;height:100%;display:flex;flex-direction:column;background:#132235;border-right:1px solid #2a394d;min-height:0;overflow:hidden}.practice-tabs{height:54px;min-height:54px;display:flex;align-items:stretch;background:#111b2e;border-bottom:1px solid #263449;flex-shrink:0}.practice-tab{position:relative;padding:0 20px;border:0;background:transparent;color:#94a3b8;font-size:14px;font-weight:600;cursor:pointer}.practice-tab:hover{color:#e2e8f0}.practice-tab.active{color:#fff}.practice-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#22c55e}.practice-problem-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px 25px 50px;scrollbar-width:thin;scrollbar-color:#475569 #132235}.practice-problem-scroll::-webkit-scrollbar{width:9px}.practice-problem-scroll::-webkit-scrollbar-track{background:#132235}.practice-problem-scroll::-webkit-scrollbar-thumb{background:#475569;border-radius:10px}.practice-problem-scroll::-webkit-scrollbar-thumb:hover{background:#64748b}.practice-problem-header{display:flex;align-items:center;gap:9px;margin-bottom:14px}.difficulty-badge,.solved-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:5px;font-size:12px;font-weight:700}.difficulty-easy{color:#86efac;background:#064e3b}.difficulty-medium{color:#fde68a;background:#713f12}.difficulty-hard{color:#fca5a5;background:#7f1d1d}.solved-badge{color:#86efac;background:#064e3b}.practice-title{margin:0 0 27px;color:#f8fafc;font-size:32px;line-height:1.2;font-weight:700;letter-spacing:-.02em}.problem-section{margin-bottom:25px}.problem-section h3,.problem-important strong{margin:0 0 10px;color:#f8fafc;font-size:16px;font-weight:700}.problem-section p{margin:0;color:#cbd5e1;font-size:15px;line-height:1.75}.test-input-box,.expected-output-box{margin:12px 0 0;padding:15px 16px;overflow-x:auto;border-radius:7px;background:#08111f;border:1px solid #263449;color:#dbeafe;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.65;white-space:pre-wrap}.expected-output-box{color:#86efac}.problem-important{margin:25px 0;padding:15px;border-left:3px solid #f59e0b;background:#f59e0b0f;border-radius:4px}.problem-important p{margin:8px 0 0;color:#cbd5e1;font-size:14px;line-height:1.6}.dropdown-section{margin-top:12px}.dropdown-btn{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid #2a394d;border-radius:6px;background:#17263a;color:#e2e8f0;cursor:pointer;font-size:14px;font-weight:600}.dropdown-btn:hover{background:#1e3048}.dropdown-btn span{display:flex;align-items:center;gap:8px}.dropdown-content{margin-top:6px;padding:14px;border-radius:6px;background:#0d1726;border:1px solid #263449;color:#cbd5e1;font-size:14px;line-height:1.65}.solution-content pre,.solution-code{margin:0;overflow-x:auto;color:#c4b5fd;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.65;white-space:pre-wrap}.problem-bottom-space{height:80px}.tab-page h2{margin:0 0 20px;font-size:24px}.tab-page p{color:#94a3b8;line-height:1.7}.solution-code{padding:16px;background:#08111f;border:1px solid #263449;border-radius:7px}.submission-success{display:flex;align-items:flex-start;gap:12px;padding:15px;border-radius:7px;background:#10b98114;border:1px solid #065f46;color:#86efac}.submission-success p{margin:5px 0 0}.practice-editor-panel{flex:1;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;background:#070f1c;overflow:hidden}.editor-header{height:52px;min-height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:#111b2e;border-bottom:1px solid #263449;flex-shrink:0}.editor-file{display:flex;align-items:center;gap:8px;color:#e2e8f0;font-family:JetBrains Mono,Consolas,monospace;font-size:13px}.python-file-icon{font-size:17px}.editor-label{color:#64748b;font-size:13px}.monaco-container{flex:1;min-width:0;min-height:0;position:relative;overflow:hidden}.monaco-container>div{width:100%!important;height:100%!important}.practice-test-panel{flex-shrink:0;background:#101323;border-top:1px solid #263449;color:#e2e8f0}.test-panel-open{min-height:190px;max-height:300px}.test-panel-closed{height:42px}.test-panel-header{width:100%;height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border:0;background:#151a2c;color:#cbd5e1;cursor:pointer;font-size:13px;font-weight:700}.test-panel-header:hover{background:#1b2237}.test-panel-header>div{display:flex;align-items:center;gap:8px}.test-panel-body{height:calc(100% - 42px);min-height:0;overflow-y:auto;padding:15px 17px;scrollbar-width:thin;scrollbar-color:#475569 #101323}.test-empty{min-height:110px;display:flex;align-items:center;justify-content:center;color:#64748b;font-family:JetBrains Mono,Consolas,monospace;font-size:13px}.result-heading{display:flex;align-items:flex-start;gap:11px}.result-heading strong{display:block;font-size:16px}.result-heading p{margin:4px 0 0;color:#94a3b8;font-size:13px}.result-correct{color:#86efac}.result-correct .result-heading svg{color:#22c55e}.result-wrong{color:#fca5a5}.result-wrong .result-heading svg,.result-error .result-heading svg{color:#ef4444}.result-error{color:#fca5a5}.result-output,.result-comparison>div{margin-top:15px}.result-output>span,.result-comparison span{display:block;margin-bottom:7px;color:#94a3b8;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.result-output pre,.result-comparison pre{margin:0;padding:12px;overflow-x:auto;background:#080e18;border:1px solid #263449;border-radius:6px;color:#e2e8f0;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;white-space:pre-wrap}.result-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.next-question-btn{margin-top:15px;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 15px;border:0;border-radius:6px;background:#10b981;color:#fff;cursor:pointer;font-size:13px;font-weight:700}.next-question-btn:hover{background:#059669}@media(max-width:900px){.practice-main{flex-direction:column;overflow-y:auto}.practice-problem-panel{width:100%;min-width:0;max-width:none;height:50vh;flex-shrink:0;border-right:0;border-bottom:1px solid #2a394d}.practice-editor-panel{width:100%;height:50vh;min-height:500px;flex-shrink:0}.practice-topbar{padding:0 10px}.practice-brand span{display:none}.practice-reset-btn{padding:0 10px}.practice-submit-btn{padding:0 11px}.practice-submit-btn svg,.practice-reset-btn svg{display:none}.practice-title{font-size:26px}.result-comparison{grid-template-columns:1fr}}@media(max-width:600px){.practice-topbar{height:58px;min-height:58px}.practice-main{height:calc(100vh - 58px)}.practice-problem-panel,.practice-editor-panel{height:55vh}.practice-problem-scroll{padding:18px 15px 35px}.practice-tabs{height:48px;min-height:48px}.practice-tab{padding:0 13px;font-size:12px}.practice-title{font-size:23px}.editor-header{height:45px;min-height:45px}.editor-label{display:none}.test-panel-open{min-height:180px}}body.practice-compiler-open{overflow:hidden!important}.editor-header-right{display:flex;align-items:center;gap:12px}.editor-language-select{background:#1e1e1e;color:#e5e7eb;border:1px solid #3a3a3a;border-radius:6px;padding:4px 10px;font-size:13px;cursor:pointer;outline:none}.editor-language-select:hover{border-color:#555}.editor-language-select:focus{border-color:#4f8cff}.solution-warning-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:20px;background:#000000a6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:solutionFadeIn .15s ease-out}@keyframes solutionFadeIn{0%{opacity:0}to{opacity:1}}.solution-warning-modal{width:100%;max-width:440px;padding:26px 24px 22px;background:#0d1a2b;color:#e6edf7;border:1px solid #24415f;border-radius:16px;box-shadow:0 20px 60px #0000008c;text-align:center;animation:solutionPop .18s ease-out}@keyframes solutionPop{0%{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}.solution-warning-icon{display:inline-grid;place-items:center;width:56px;height:56px;margin:0 auto 14px;background:#f59e0b26;border-radius:50%;font-size:28px}.solution-warning-modal h3{margin:0 0 12px;font-size:19px;font-weight:700;color:#f8fafc}.solution-warning-modal p{margin:10px 0;color:#b8c7d9;font-size:14.5px;line-height:1.55}.solution-warning-modal p strong{color:#fbbf24;font-weight:600}.solution-warning-question{margin-top:14px!important;color:#e6edf7!important;font-weight:600}.solution-warning-actions{display:flex;justify-content:center;gap:10px;margin-top:22px;flex-wrap:wrap}.solution-warning-btn{padding:10px 18px;font-size:14px;font-weight:600;border-radius:10px;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .05s ease}.solution-warning-btn:active{transform:scale(.98)}.solution-warning-btn.ghost{background:transparent;color:#cbd5e1;border:1px solid #24415f}.solution-warning-btn.ghost:hover{background:#12243a;color:#fff;border-color:#58a6ff}.solution-warning-btn.primary{background:#16a34a;color:#fff;border:1px solid #16a34a}.solution-warning-btn.primary:hover{background:#15803d;border-color:#15803d}body:not(.dark) .solution-warning-modal{background:#fff;color:#0f172a;border-color:#e5e7eb}body:not(.dark) .solution-warning-modal h3{color:#0f172a}body:not(.dark) .solution-warning-modal p{color:#475569}body:not(.dark) .solution-warning-modal p strong{color:#b45309}body:not(.dark) .solution-warning-question{color:#0f172a!important}body:not(.dark) .solution-warning-btn.ghost{color:#334155;border-color:#cbd5e1}body:not(.dark) .solution-warning-btn.ghost:hover{background:#f1f5f9;color:#0f172a;border-color:#2563eb}.cert-sheet{width:1123px;height:794px;background:#fff;color:#0f172a;font-family:Inter,system-ui,-apple-system,sans-serif;padding:0;box-sizing:border-box;position:relative;overflow:hidden;border:3px solid #0b1e3b;border-radius:2px;isolation:isolate}.cert-dots-top{position:absolute;top:20px;right:40px;width:380px;height:230px;background-image:radial-gradient(#cbd5e1 1.2px,transparent 1.2px);background-size:16px 16px;opacity:.55;pointer-events:none;z-index:0;-webkit-mask-image:radial-gradient(ellipse at center,#000 40%,transparent 85%);mask-image:radial-gradient(ellipse at center,#000 40%,transparent 85%)}.cert-arcs{position:absolute;bottom:-260px;left:-260px;width:640px;height:640px;border-radius:50%;border:1.5px solid #dbe6ff;pointer-events:none;z-index:0}.cert-arcs:before,.cert-arcs:after{content:"";position:absolute;border-radius:50%;border:1.5px solid #dbe6ff}.cert-arcs:before{top:40px;right:40px;bottom:40px;left:40px}.cert-arcs:after{top:100px;right:100px;bottom:100px;left:100px}.cert-header{position:absolute;top:44px;left:60px;right:60px;display:flex;align-items:center;justify-content:space-between;z-index:2}.cert-brand{display:flex;align-items:center;gap:12px}.cert-brand-mark{width:42px;height:42px;background:#1e5eff;color:#fff;font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:24px;display:flex;align-items:center;justify-content:center;border-radius:0;flex-shrink:0;box-sizing:border-box}.cert-brand-logo{height:42px;width:auto;display:block}.cert-type-label{font-size:11px;letter-spacing:4px;font-weight:700;color:#94a3b8;text-transform:uppercase;white-space:nowrap}.cert-body{position:absolute;top:190px;left:60px;right:60px;text-align:center;z-index:2}.cert-presented{font-size:16px;color:#64748b;font-weight:500;margin:0 0 22px;line-height:1.4}.cert-name{font-family:Georgia,Times New Roman,serif;font-size:62px;font-weight:700;color:#0b1e3b;letter-spacing:-1px;line-height:1.05;margin:0;padding:0}.cert-name-underline{width:80px;height:3px;background:#1e5eff;margin:22px auto 26px;border-radius:2px}.cert-description{font-size:15px;color:#64748b;line-height:1.55;margin:0 0 24px}.cert-course-wrap{display:inline-block;padding:8px 24px;background:#dbe6ff;border-radius:6px;min-width:120px}.cert-course{font-family:Georgia,Times New Roman,serif;font-size:26px;font-weight:700;color:#0b1e3b!important;margin:0;line-height:1.2;display:block}.cert-footer{position:absolute;left:60px;right:60px;bottom:46px;display:flex;align-items:flex-end;justify-content:space-between;z-index:2}.cert-meta{display:flex;gap:40px;align-items:flex-start}.cert-meta-item{display:flex;flex-direction:column;gap:6px;min-width:110px}.cert-meta-label{font-size:9px;letter-spacing:2.2px;font-weight:700;color:#94a3b8;text-transform:uppercase;line-height:1}.cert-meta-value{font-size:13px;font-weight:700;color:#0b1e3b;font-family:Inter,sans-serif;letter-spacing:.2px;line-height:1.2}.cert-meta-link{font-size:13px;font-weight:700;color:#1e5eff;font-family:Inter,sans-serif;line-height:1.2}.cert-signature-block{display:flex;flex-direction:column;align-items:center;min-width:220px}.cert-signature-image{height:60px;width:auto;max-width:200px;display:block;margin-bottom:6px;object-fit:contain}.cert-signature-line{display:block;width:200px;height:1px;background:#0b1e3b;margin:2px 0 8px}.cert-signature-name{font-size:13px;font-weight:700;color:#0b1e3b;margin:0;text-align:center;letter-spacing:.3px;line-height:1.2}.cert-signature-title{font-size:11px;color:#64748b;margin:3px 0 0;text-align:center;line-height:1.2}.cert-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:grid;place-items:center;z-index:2000;padding:20px;overflow:auto}.cert-modal{background:#0d1a2b;border:1px solid #1e2a3d;border-radius:16px;width:min(1300px,100%);max-height:95vh;display:flex;flex-direction:column;overflow:hidden}.cert-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #1e2a3d;flex-shrink:0}.cert-modal-header h3{margin:0;color:#f1f5f9;font-size:16px}.cert-modal-actions{display:flex;gap:8px}.cert-modal-preview{padding:24px;overflow:auto;background:#061021;display:flex;justify-content:center;align-items:flex-start}.cert-preview-scale{width:1123px;height:794px;background:#fff;padding:4px;box-sizing:content-box}@media(max-width:1200px){.cert-modal-preview{justify-content:flex-start}}.cert-page{padding:40px 0 80px}.cert-header{text-align:center;max-width:640px;margin:0 auto 44px}.cert-eyebrow{display:inline-block;font-size:12px;letter-spacing:3px;font-weight:700;color:#2563eb;margin-bottom:12px}.cert-header h1{font-size:40px;font-weight:800;letter-spacing:-1px;margin:0 0 12px;color:var(--text, #0f172a)}.cert-header p{font-size:16px;color:var(--muted, #64748b);margin:0;line-height:1.6}.cert-section{margin-bottom:36px;padding:26px 28px;border-radius:18px;background:var(--card-bg, #ffffff);border:1px solid var(--border, #e5e7eb);box-shadow:0 2px 12px #0f172a0a}.cert-section-heading{display:flex;align-items:flex-start;gap:14px;margin-bottom:22px}.cert-section-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;background:#eef3ff;color:#2563eb}.cert-section-icon.progress{background:#dcfce7;color:#16a34a}.cert-section-icon.verify{background:#ede9fe;color:#7c3aed}.cert-section-icon.certificates{background:#fef3c7;color:#d97706}.cert-section-heading h2{margin:0;font-size:20px;color:var(--text, #0f172a)}.cert-section-heading p{margin:3px 0 0;font-size:14px;color:var(--muted, #64748b)}.cert-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cert-rule{display:flex;gap:14px;padding:16px;border-radius:12px;background:var(--hover, #f8fafc);border:1px solid var(--border, #e5e7eb)}.cert-rule-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:10px}.cert-rule-icon.practice{background:#dbeafe;color:#2563eb}.cert-rule-icon.quiz{background:#fef9c3;color:#ca8a04}.cert-rule-icon.lock{background:#fee2e2;color:#dc2626}.cert-rule h4{margin:0 0 4px;font-size:14px;color:var(--text, #0f172a)}.cert-rule p{margin:0;font-size:13px;color:var(--muted, #64748b);line-height:1.5}.cert-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px 20px;color:var(--muted, #64748b)}.cert-empty{padding:20px;text-align:center;color:var(--muted, #64748b)}.cert-login-notice{display:flex;align-items:center;gap:16px;padding:22px 26px;margin-bottom:36px;border-radius:16px;background:#eef3ff;border:1px solid #c7d9ff;color:#1e3a8a}.cert-login-notice svg{flex-shrink:0;color:#2563eb}.cert-login-notice strong{display:block;margin-bottom:3px;font-size:15px}.cert-login-notice p{margin:0;font-size:13.5px;color:#475569}.cert-login-notice .cert-primary-btn{margin-left:auto}.cert-lang-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.cert-lang-card{padding:18px 18px 16px;border-radius:14px;background:var(--card-bg, #ffffff);border:1px solid var(--border, #e5e7eb);transition:border-color .15s ease,box-shadow .15s ease}.cert-lang-card:hover{border-color:#2563eb;box-shadow:0 4px 20px #2563eb14}.cert-lang-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.cert-lang-top h3{margin:0;font-size:17px;font-weight:700;color:var(--text, #0f172a)}.cert-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;border-radius:999px;text-transform:uppercase;letter-spacing:.4px}.cert-badge.earned{background:#dcfce7;color:#15803d}.cert-badge.ready{background:#dbeafe;color:#1d4ed8}.cert-badge.locked{background:#f1f5f9;color:#64748b}.cert-check-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted, #64748b);margin:8px 0}.cert-check-label{display:flex;align-items:center;gap:7px}.cert-check-label svg.ok{color:#16a34a}.cert-check-label svg.bad{color:#cbd5e1}.cert-check-row strong{color:var(--text, #0f172a);font-size:13px}.cert-progress-bar{height:6px;border-radius:3px;background:#eef2f7;overflow:hidden;margin:6px 0 10px}.cert-progress-bar>div{height:100%;background:linear-gradient(90deg,#2563eb,#4f8cff);border-radius:3px;transition:width .4s ease}.cert-action-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:10px 14px;margin-top:12px;font-size:13px;font-weight:600;border-radius:10px;border:1px solid var(--border, #e5e7eb);background:var(--card-bg, #fff);color:var(--text, #0f172a);cursor:pointer;transition:all .15s ease}.cert-action-btn:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}.cert-action-btn:disabled{opacity:.55;cursor:not-allowed}.cert-verify-form{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.cert-verify-input-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:220px;padding:0 14px;background:var(--hover, #f8fafc);border:1px solid var(--border, #e5e7eb);border-radius:10px;transition:border-color .15s ease}.cert-verify-input-wrap:focus-within{border-color:#2563eb;background:#fff}.cert-verify-input-wrap svg{color:var(--muted, #94a3b8);flex-shrink:0}.cert-verify-input-wrap input{flex:1;padding:12px 0;background:transparent;border:none;outline:none;font-size:14px;color:var(--text, #0f172a);font-family:JetBrains Mono,Consolas,monospace;letter-spacing:.5px}.cert-primary-btn{display:inline-flex;align-items:center;gap:6px;padding:11px 18px;background:#2563eb;color:#fff;font-size:14px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:background .15s ease,transform .05s ease}.cert-primary-btn:hover:not(:disabled){background:#1d4ed8}.cert-primary-btn:active:not(:disabled){transform:scale(.98)}.cert-primary-btn:disabled{opacity:.6;cursor:not-allowed}.cert-primary-btn.small{padding:8px 14px;font-size:13px}.cert-result{display:flex;gap:16px;padding:20px;border-radius:14px;margin-top:8px}.cert-result.valid{background:#f0fdf4;border:1px solid #bbf7d0}.cert-result.invalid{background:#fef2f2;border:1px solid #fecaca}.cert-result-icon{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;border-radius:50%}.cert-result-icon.ok{background:#dcfce7;color:#16a34a}.cert-result-icon.bad{background:#fee2e2;color:#dc2626}.cert-result-body h3{margin:0 0 6px;font-size:17px;color:var(--text, #0f172a)}.cert-result-body p{margin:0 0 12px;font-size:14px;color:var(--muted, #64748b)}.cert-result-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 24px}.cert-result-fields>div{display:flex;flex-direction:column;gap:2px}.cert-result-fields span{font-size:12px;color:var(--muted, #64748b);text-transform:uppercase;letter-spacing:.5px}.cert-result-fields strong{font-size:14px;color:var(--text, #0f172a);font-family:JetBrains Mono,Consolas,monospace}.cert-mine-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.cert-mine-card{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:var(--card-bg, #fff);border:1px solid var(--border, #e5e7eb)}.cert-mine-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;background:#fef3c7;color:#d97706;border-radius:10px}.cert-mine-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cert-mine-body strong{font-size:14px;color:var(--text, #0f172a)}.cert-mine-body span{font-size:12px;color:var(--muted, #64748b);font-family:JetBrains Mono,Consolas,monospace}.cert-mine-body small{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--muted, #94a3b8)}@media(max-width:780px){.cert-rules,.cert-result-fields{grid-template-columns:1fr}.cert-login-notice{flex-direction:column;text-align:center}.cert-login-notice .cert-primary-btn{margin-left:0}.cert-header h1{font-size:30px}}.dark .cert-section,.dark .cert-rule,.dark .cert-lang-card,.dark .cert-mine-card{background:#0d1a2b;border-color:#1e2a3d}.dark .cert-section h2,.dark .cert-section h3,.dark .cert-section h4,.dark .cert-lang-top h3,.dark .cert-check-row strong,.dark .cert-result-body h3,.dark .cert-result-fields strong,.dark .cert-mine-body strong{color:#f1f5f9}.dark .cert-section p,.dark .cert-rule p,.dark .cert-section-heading p,.dark .cert-result-body p,.dark .cert-result-fields span,.dark .cert-mine-body span,.dark .cert-mine-body small{color:#94a3b8}.dark .cert-action-btn{background:#0d1a2b;color:#d4e2f5;border-color:#24415f}.dark .cert-action-btn:hover:not(:disabled){background:#2563eb;color:#fff;border-color:#2563eb}.dark .cert-verify-input-wrap{background:#0d1a2b;border-color:#24415f}.dark .cert-verify-input-wrap input{color:#d4e2f5}.dark .cert-result.valid{background:#052e16;border-color:#166534}.dark .cert-result.invalid{background:#2a1212;border-color:#7f1d1d}.cert-mine-actions{display:flex;gap:6px;align-items:center}.cert-secondary-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:600;background:transparent;color:#0f172a;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:all .15s ease}.cert-secondary-btn:hover{background:#f1f5f9;border-color:#2563eb;color:#2563eb}@media(max-width:640px){.cert-mine-card{flex-wrap:wrap}.cert-mine-actions{width:100%;margin-top:10px}}.cert-section-icon.name{background:#fce7f3;color:#be185d}.cert-legal-form{display:flex;gap:10px;margin:4px 0 12px;flex-wrap:wrap}.cert-legal-input-wrap{flex:1;min-width:240px;display:flex;align-items:center;padding:0 14px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;transition:border-color .15s ease,background .15s ease}.cert-legal-input-wrap:focus-within{border-color:#be185d;background:#fff}.cert-legal-input-wrap input{flex:1;padding:12px 0;background:transparent;border:none;outline:none;font-size:14px;color:#0f172a;font-family:inherit}.cert-legal-error{margin:4px 0 0;font-size:13px;color:#dc2626}.cert-legal-saved{margin:4px 0 0;font-size:13px;color:#16a34a}.cert-legal-saved strong{color:#15803d;font-weight:700}.cert-legal-locked{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;margin-top:4px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px}.cert-legal-locked-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#dcfce7;color:#16a34a;border-radius:10px}.cert-legal-locked-body{display:flex;flex-direction:column;gap:3px;min-width:0}.cert-legal-locked-label{font-size:10px;letter-spacing:2px;font-weight:700;color:#16a34a;text-transform:uppercase}.cert-legal-locked-value{font-size:18px;font-weight:800;color:#0b1e3b;letter-spacing:-.2px}.cert-legal-locked-note{margin-top:4px;font-size:12px;color:#64748b}.cert-legal-hint{margin:8px 0 0;font-size:12.5px;color:#b45309;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;padding:8px 12px;line-height:1.5}.cert-legal-hint strong{color:#92400e}.company-page{padding:60px 0 80px}.company-container{max-width:780px;margin:0 auto;padding:0 20px}.company-header{margin-bottom:40px;padding-bottom:24px;border-bottom:1px solid var(--border, #e5e7eb)}.company-eyebrow{display:inline-block;padding:5px 12px;margin-bottom:16px;font-size:10px;letter-spacing:3px;font-weight:700;color:#2563eb;background:#2563eb14;border:1px solid rgba(37,99,235,.22);border-radius:999px;text-transform:uppercase}.company-meta{font-size:13px;color:var(--muted, #94a3b8);margin-top:8px}.company-h1{font-size:42px;font-weight:800;letter-spacing:-1.5px;line-height:1.1;color:var(--text, #0f172a);margin:0 0 20px}.company-h2{font-size:24px;font-weight:800;letter-spacing:-.5px;color:var(--text, #0f172a);margin:44px 0 12px;padding-top:8px}.company-h3{font-size:17px;font-weight:700;color:var(--text, #0f172a);margin:24px 0 6px}.company-h4{font-size:15px;font-weight:700;color:var(--text, #0f172a);margin:20px 0 6px}.company-p{font-size:15.5px;line-height:1.75;color:var(--muted, #475569);margin:0 0 14px}.company-strong{color:var(--text, #0f172a);font-weight:700}.company-em{color:var(--text, #0f172a);font-style:italic}.company-ul,.company-ol{padding-left:22px;margin:8px 0 20px}.company-li{font-size:15.5px;line-height:1.75;color:var(--muted, #475569);margin-bottom:8px}.company-li .company-strong{color:var(--text, #0f172a)}.company-link{color:#2563eb;font-weight:600;text-decoration:none;transition:color .12s ease}.company-link:hover{color:#1d4ed8;text-decoration:underline}.company-quote{margin:22px 0;padding:16px 20px;background:#fef9c3;border-left:4px solid #eab308;border-radius:8px;font-size:14.5px;line-height:1.65;color:#78350f}.company-quote p{margin:0 0 8px;font-size:14.5px;color:#78350f}.company-quote p:last-child{margin-bottom:0}.company-pre{margin:16px 0;padding:14px 18px;background:#f1f5f9;border:1px solid var(--border, #e5e7eb);border-radius:10px;font-family:JetBrains Mono,Consolas,monospace;font-size:13px;line-height:1.6;color:#0f172a;overflow-x:auto}.company-code{padding:2px 6px;background:#f1f5f9;border-radius:4px;font-family:JetBrains Mono,Consolas,monospace;font-size:.9em;color:#0b1e3b}.company-hr{border:none;border-top:1px solid var(--border, #e5e7eb);margin:36px 0}.company-table{width:100%;margin:16px 0;border-collapse:collapse;font-size:14.5px}.company-table th,.company-table td{padding:10px 12px;border:1px solid var(--border, #e5e7eb);text-align:left;vertical-align:top}.company-table th{background:#f8fafc;color:var(--text, #0f172a);font-weight:700}.company-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:44px;padding-top:32px;border-top:1px solid var(--border, #e5e7eb)}.company-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 22px;border-radius:10px;font-size:14px;font-weight:700;border:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .05s ease}.company-btn:active{transform:scale(.98)}.company-btn.primary{background:#2563eb;color:#fff}.company-btn.primary:hover{background:#1d4ed8}.company-btn.ghost{background:transparent;color:var(--text, #0f172a);border:1px solid var(--border, #e5e7eb)}.company-btn.ghost:hover{background:var(--hover, #f1f5f9);border-color:#2563eb}.company-loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:60px 20px;color:var(--muted, #64748b)}.company-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:20px 0}.company-contact-card{padding:18px 20px;border-radius:12px;background:var(--card-bg, #ffffff);border:1px solid var(--border, #e5e7eb);transition:border-color .15s ease,box-shadow .15s ease}.company-contact-card:hover{border-color:#2563eb;box-shadow:0 4px 20px #2563eb14}.company-contact-label{display:block;font-size:10px;letter-spacing:2.5px;font-weight:700;color:var(--muted, #94a3b8);text-transform:uppercase;margin-bottom:6px}.company-contact-value{font-size:15px;font-weight:700;color:var(--text, #0f172a)}.dark .company-h1,.dark .company-h2,.dark .company-h3,.dark .company-h4,.dark .company-strong,.dark .company-em,.dark .company-contact-value{color:#f1f5f9}.dark .company-p,.dark .company-li{color:#b8c7d9}.dark .company-quote{background:#3b2a0a;border-left-color:#92400e;color:#fcd34d}.dark .company-quote p{color:#fcd34d}.dark .company-hr,.dark .company-header,.dark .company-cta,.dark .company-table th,.dark .company-table td{border-color:#1e2a3d}.dark .company-table th{background:#0d1a2b;color:#f1f5f9}.dark .company-pre{background:#0d1a2b;border-color:#1e2a3d;color:#d4e2f5}.dark .company-code{background:#0d1a2b;color:#58a6ff}.dark .company-contact-card{background:#0d1a2b;border-color:#1e2a3d}.dark .company-btn.ghost{color:#d4e2f5;border-color:#24415f}.dark .company-btn.ghost:hover{background:#12243a;border-color:#58a6ff}@media(max-width:640px){.company-page{padding:40px 0 60px}.company-h1{font-size:30px;letter-spacing:-1px}.company-h2{font-size:20px}.company-h3{font-size:16px}.company-p,.company-li{font-size:15px}.company-cta{flex-direction:column;align-items:stretch}.company-btn{justify-content:center}}.contact-page{padding:60px 0 80px}.contact-container{max-width:640px;margin:0 auto;padding:0 20px}.contact-header{margin-bottom:36px;text-align:center}.contact-header h1{font-size:42px;font-weight:800;letter-spacing:-1.5px;line-height:1.1;color:var(--text, #0f172a);margin:0 0 12px}.contact-header p{font-size:15.5px;line-height:1.6;color:var(--muted, #64748b);max-width:520px;margin:0 auto}.contact-form{display:flex;flex-direction:column;gap:20px}.contact-field{display:flex;flex-direction:column;gap:8px}.contact-field label{font-size:14px;font-weight:600;color:var(--text, #0f172a)}.contact-required{color:#dc2626;margin-left:2px}.contact-input-wrap{display:flex;align-items:center;gap:10px;padding:0 14px;background:var(--card-bg, #ffffff);border:1.5px solid var(--border, #e5e7eb);border-radius:10px;transition:border-color .15s ease,background .15s ease}.contact-input-wrap:focus-within{border-color:#2563eb;background:#fff;box-shadow:0 0 0 3px #2563eb1a}.contact-input-wrap.error{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.contact-input-wrap svg{flex-shrink:0;color:var(--muted, #94a3b8)}.contact-input-wrap:focus-within svg{color:#2563eb}.contact-input-wrap.error svg{color:#dc2626}.contact-input-wrap input,.contact-input-wrap textarea{flex:1;padding:14px 0;background:transparent;border:none;outline:none;font-size:15px;color:var(--text, #0f172a);font-family:inherit}.contact-input-wrap input::placeholder,.contact-input-wrap textarea::placeholder{color:#94a3b8}.contact-input-wrap.textarea{align-items:flex-start;padding:14px 14px 10px}.contact-input-wrap.textarea textarea{padding:0;resize:vertical;min-height:120px;line-height:1.5}.contact-char-count{display:flex;justify-content:flex-end;font-size:12px;color:var(--muted, #94a3b8);padding-right:2px}.contact-char-count .warn{color:#d97706;font-weight:600}.contact-error{font-size:13px;color:#dc2626;padding-left:2px}.contact-submit-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:15px 22px;margin-top:4px;font-size:15px;font-weight:700;background:#0b1e3b;color:#fff;border:none;border-radius:10px;cursor:pointer;transition:background .15s ease,transform .05s ease}.contact-submit-btn:hover:not(:disabled){background:#1e3a8a}.contact-submit-btn:active:not(:disabled){transform:scale(.99)}.contact-submit-btn:disabled{opacity:.6;cursor:not-allowed}.contact-note{text-align:center;font-size:13px;color:var(--muted, #94a3b8);margin:6px 0 0}.contact-success{text-align:center;padding:40px 20px}.contact-success-icon{display:inline-grid;place-items:center;width:72px;height:72px;background:#dcfce7;color:#16a34a;border-radius:50%;margin-bottom:20px}.contact-success h1{font-size:28px;font-weight:800;color:var(--text, #0f172a);margin:0 0 12px}.contact-success p{font-size:15.5px;color:var(--muted, #475569);max-width:420px;margin:0 auto 28px;line-height:1.6}.contact-success-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.contact-btn{display:inline-flex;align-items:center;gap:6px;padding:12px 22px;border-radius:10px;font-size:14px;font-weight:700;border:none;cursor:pointer;transition:background .15s ease,border-color .15s ease}.contact-btn.primary{background:#2563eb;color:#fff}.contact-btn.primary:hover{background:#1d4ed8}.contact-btn.ghost{background:transparent;color:var(--text, #0f172a);border:1px solid var(--border, #e5e7eb)}.contact-btn.ghost:hover{background:var(--hover, #f1f5f9);border-color:#2563eb}.dark .contact-header h1,.dark .contact-field label,.dark .contact-success h1{color:#f1f5f9}.dark .contact-input-wrap{background:#0d1a2b;border-color:#1e2a3d}.dark .contact-input-wrap:focus-within{background:#0d1a2b}.dark .contact-input-wrap input,.dark .contact-input-wrap textarea{color:#d4e2f5}.dark .contact-btn.ghost{color:#d4e2f5;border-color:#24415f}.dark .contact-btn.ghost:hover{background:#12243a;border-color:#58a6ff}.dark .contact-success-icon{background:#052e16}@media(max-width:640px){.contact-page{padding:40px 0 60px}.contact-header h1{font-size:30px}.contact-success-actions{flex-direction:column}.contact-btn{justify-content:center}}.contact-info{display:flex;align-items:flex-start;gap:8px;padding:12px 14px;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;font-size:13.5px;line-height:1.5}.contact-info svg{flex-shrink:0;margin-top:1px}.contact-info strong{color:#1e3a8a}.dark .contact-info{background:#0c1e3a;border-color:#1e3a8a;color:#93c5fd}.dark .contact-info strong{color:#dbeafe}.contact-success-note{font-size:14px;color:var(--muted, #64748b);margin-top:-16px;margin-bottom:24px}.contact-success-note a{color:#2563eb;font-weight:600;text-decoration:none}.contact-success-note a:hover{text-decoration:underline}.contact-note a{color:#2563eb;font-weight:600;text-decoration:none}.contact-note a:hover{text-decoration:underline}.contact-submit-error{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#b91c1c;font-size:14px}
