.side-nav a{min-height:40px}.sidebar-note{margin-top:28px}.front-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:30px}.front-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:30px}.front-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:25px}.front-card h2{font-size:20px;font-weight:750;line-height:1.5;letter-spacing:-.5px}.front-card h3{font-size:15px;font-weight:700;line-height:1.6}.front-card p{font-size:12px;line-height:1.9;color:var(--muted)}.front-icon{width:48px;height:48px;display:grid;place-items:center;background:var(--soft);color:#ab92c3;border-radius:13px;font-size:23px;margin-bottom:22px}.front-card .btn{font-size:11px}.demo-label{display:inline-flex;align-items:center;gap:6px;border-radius:30px;background:var(--soft);color:#a18bb7;padding:5px 9px;font-size:9px;margin-bottom:14px}.front-toolbar{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:25px;flex-wrap:wrap}.front-toolbar .form-control{max-width:420px}.front-form .form-control,.front-form .form-select,.front-toolbar .form-control{background-color:var(--surface);color:var(--text);border-color:var(--border);font-size:12px;padding:12px;border-radius:7px}.front-form label{font-size:12px;line-height:1.8;margin-bottom:8px;display:block}.front-form .field{margin-bottom:22px}.front-form .field-help{font-size:10px;color:var(--muted);line-height:1.9;margin:7px 0}.front-form textarea{resize:vertical;min-height:90px}.front-form .inline-check{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.front-form .inline-check input{margin:0}.front-form .form-check-input:checked{background-color:#9981b6;border-color:#9981b6}.front-small{font-size:11px;color:var(--muted);line-height:1.9}.front-divider{border-top:1px solid var(--border);margin:25px 0}.front-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.front-stat{background:var(--surface);border:1px solid var(--border);padding:22px;border-radius:10px}.front-stat>span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.front-stat>strong{font-size:27px;color:#9b83b4;font-weight:650}.front-stat>small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:24px;margin-bottom:30px}.editor-tabs{display:flex;border:1px solid var(--border);background:var(--surface);border-radius:8px;padding:5px;gap:5px;margin-bottom:20px}.editor-tabs button{flex:1;border:0;border-radius:5px;background:none;font-size:12px;color:var(--muted);padding:11px}.editor-tabs button.active{background:var(--soft);color:var(--purple)}.editor-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:23px}.editor-side{align-self:start;position:sticky;top:105px}.editor-side h2{font-size:16px}.editor-side .btn{font-size:10px}.editor-side dl{margin-top:20px}.editor-side dl div{display:flex;justify-content:space-between;gap:10px;font-size:11px;padding:12px 0;border-bottom:1px solid var(--border)}.editor-side dt{font-weight:400;color:var(--muted)}.editor-side dd{margin:0}.question-editor{border:1px solid var(--border);border-radius:9px;padding:20px;margin:18px 0}.question-editor>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.question-editor>header strong{font-size:12px}.question-editor>header button{font-size:11px}.editor-options{display:grid;gap:10px}.editor-option{display:flex;align-items:center;gap:10px}.editor-option input[type=radio]{accent-color:#9075ad;width:16px;height:16px;flex-shrink:0}.editor-option>.form-control{flex:1;min-width:0}.editor-option>span{font-size:10px;color:var(--muted)}.draft-row{display:flex;gap:18px;align-items:center;padding:20px;border-bottom:1px solid var(--border)}.draft-row:last-child{border:0}.draft-row>div{flex:1;min-width:0}.draft-row h3{font-size:14px;margin:0 0 8px}.draft-row p{font-size:10px;color:var(--muted);margin:0;line-height:1.9}.draft-row .btn{font-size:10px;padding:8px 12px}.draft-row .draft-actions{display:flex;gap:7px;flex:0;flex-wrap:wrap}.generator-well{background:linear-gradient(120deg,var(--soft),var(--surface));border:1px solid var(--border);border-radius:12px;padding:30px;margin-bottom:24px}.generator-well .front-icon{background:var(--surface)}.generator-well h2{font-size:27px;font-weight:750;letter-spacing:-.7px}.generator-well p{font-size:12px;line-height:1.9;color:var(--muted);max-width:650px}.generated-question{border:1px solid var(--border);border-radius:8px;padding:20px;margin:13px 0}.generated-question h3{font-size:13px;line-height:1.8}.generated-question ul{font-size:11px;color:var(--muted);line-height:2.1}.generated-question .correct-choice{color:#87a28d;font-weight:600}.competition-cover{background:linear-gradient(130deg,#eae3f5,#f4effb);height:135px;display:flex;justify-content:space-between;align-items:center;padding:25px;color:#a28ab9;border-radius:8px;margin-bottom:20px}.competition-cover .bi{font-size:55px}.competition-cover span{font-family:Manrope,sans-serif;font-size:21px;font-weight:750;line-height:1.5}.competition-meta{display:flex;gap:17px;flex-wrap:wrap;font-size:10px;color:var(--muted);padding:17px 0;margin-bottom:8px}.competition-meta i{margin-right:5px}.competition-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:25px}.competition-tabs button{border:1px solid var(--border);background:var(--surface);color:var(--muted);font-size:11px;padding:9px 16px;border-radius:6px}.competition-tabs button.active{background:var(--soft);color:var(--purple)}.leaderboard-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:end;margin:35px 0}.podium-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px;text-align:center}.podium-card.winner{padding-top:40px;background:linear-gradient(var(--soft),var(--surface))}.podium-avatar{width:65px;height:65px;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:650;background:#eae3f4;color:#a18bb7;margin:0 auto 15px;position:relative}.podium-avatar>span{position:absolute;bottom:-5px;right:-3px;border:3px solid var(--surface);border-radius:50%;font-size:10px;background:#d3b889;color:white;width:25px;height:25px;display:grid;place-items:center}.podium-card h3{font-size:14px;font-weight:650;margin:12px 0 8px}.podium-card p{font-size:10px;color:var(--muted)}.podium-card strong{color:#a18bb7;font-size:23px}.front-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);margin-bottom:30px}.front-table{width:100%;font-size:12px;white-space:nowrap}.front-table th{padding:17px 22px;font-size:9px;letter-spacing:1px;color:var(--muted);font-weight:500;border-bottom:1px solid var(--border);background:var(--bg)}.front-table td{padding:19px 22px;border-bottom:1px solid var(--border)}.front-table tbody tr:last-child td{border:0}.table-name{display:flex;align-items:center;gap:10px}.small-avatar{width:30px;height:30px;border-radius:50%;background:var(--soft);color:#a18bb7;display:grid;place-items:center;font-size:11px;flex-shrink:0}.discussion-row{display:flex;gap:18px;padding:25px;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:13px}.discussion-row>div:nth-child(2){flex:1;min-width:0}.discussion-row h2{font-size:15px;font-weight:650;margin:0 0 9px;line-height:1.7;overflow-wrap:anywhere}.discussion-row p{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 12px;overflow-wrap:anywhere}.discussion-info{display:flex;gap:13px;flex-wrap:wrap;font-size:9px;color:var(--muted)}.discussion-count{font-size:11px;color:#a18bb7;white-space:nowrap;margin-left:auto}.discussion-body{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:14px;line-height:2}.reply-row{display:flex;gap:14px;border-top:1px solid var(--border);padding:22px 0}.reply-row>div{flex:1}.reply-row strong{font-size:12px}.reply-row p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:var(--muted);line-height:1.9;margin:10px 0 5px}.reply-row time{font-size:9px;color:var(--muted)}.messages-layout{display:grid;grid-template-columns:270px minmax(0,1fr);border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden;margin-bottom:30px;min-height:550px}.conversation-list{border-right:1px solid var(--border);padding:15px}.conversation-list button{width:100%;display:flex;align-items:center;gap:10px;border:0;border-radius:7px;background:none;text-align:left;padding:15px 10px;color:var(--text)}.conversation-list button.active{background:var(--soft)}.conversation-list strong{font-size:12px;display:block}.conversation-list small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.chat-content{display:flex;flex-direction:column;min-width:0}.chat-header{padding:22px;border-bottom:1px solid var(--border);font-size:14px;font-weight:600}.chat-log{padding:25px;flex:1;max-height:440px;overflow:auto;display:flex;flex-direction:column;gap:15px}.chat-bubble{padding:14px 17px;border-radius:10px;max-width:80%;background:var(--bg);font-size:12px;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.chat-bubble.mine{align-self:flex-end;background:var(--soft);color:#9b80b6}.chat-bubble small{display:block;font-size:8px;color:var(--muted);margin-top:5px}.chat-compose{padding:20px;border-top:1px solid var(--border);display:flex;gap:10px}.chat-compose input{flex:1;min-width:0}.chat-compose .btn{font-size:11px}.notification-row{display:flex;gap:15px;align-items:flex-start;padding:23px;border:1px solid var(--border);border-radius:9px;background:var(--surface);margin-bottom:12px}.notification-row.unread{border-left:3px solid #ab92c4;background:linear-gradient(110deg,var(--soft),var(--surface))}.notification-row>div{flex:1}.notification-row h2{font-size:13px;font-weight:650;margin:0 0 8px}.notification-row p{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 7px}.notification-row time{font-size:9px;color:var(--muted)}.notification-row .btn{font-size:10px}.chart-bars{display:flex;gap:17px;height:180px;align-items:end;padding:20px 5px 0;margin-bottom:30px}.chart-bar{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;height:100%;justify-content:end}.chart-bar>div{width:100%;max-width:50px;background:#b5a1cb;border-radius:6px 6px 0 0;min-height:3px}.chart-bar small{font-size:8px;color:var(--muted)}.subject-progress{margin-top:24px}.subject-progress>div:first-child{display:flex;justify-content:space-between;font-size:11px;margin-bottom:10px}.subject-progress .track{height:6px;background:var(--bg);border-radius:5px;overflow:hidden}.subject-progress .track>span{height:100%;background:#b5a1cb;display:block}.plan-price{font-size:34px;color:#a18bb7;font-weight:650;margin:20px 0}.plan-price small{font-size:12px;color:var(--muted);font-weight:400}.plan-list{padding-left:17px;color:var(--muted);font-size:12px;line-height:2.8;min-height:150px}.plan-featured{border-color:#b9a2d0;position:relative}.referral-code{border:1px dashed #baa5cf;background:var(--soft);border-radius:9px;padding:25px;font-size:24px;letter-spacing:4px;color:#9e84b8;text-align:center;margin:25px 0}.reward-timeline{padding:0;list-style:none}.reward-timeline li{display:flex;gap:14px;padding:20px 0;border-top:1px solid var(--border);align-items:center}.reward-timeline strong{font-size:12px}.reward-timeline p{margin:5px 0 0;font-size:11px;color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:950px;margin:25px auto 50px;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface)}.auth-art{background:linear-gradient(140deg,#ece5f7,#f5effb);padding:45px;display:flex;flex-direction:column;justify-content:center;color:#9d83b6}.auth-art>.bi{font-size:65px;margin-bottom:35px}.auth-art h2{font-size:35px;line-height:1.4;font-weight:800;letter-spacing:-1px}.auth-art p{font-size:13px;line-height:1.9;margin:20px 0}.auth-content{padding:38px}.auth-content h1{font-size:25px;line-height:1.4}.auth-content>p{font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:25px}.auth-links{display:flex;justify-content:space-between;gap:15px;font-size:10px;margin:20px 0}.auth-links a{color:var(--purple)}.auth-demo-note{font-size:10px;color:var(--muted);line-height:1.9;border-top:1px solid var(--border);padding-top:20px;margin-top:25px}.front-empty{text-align:center;padding:45px 20px;background:var(--surface);border:1px dashed var(--border);border-radius:10px;margin-bottom:25px}.front-empty>.bi{display:block;font-size:35px;color:#b49cc8;margin-bottom:20px}.front-empty h2{font-size:20px}.front-empty p{font-size:12px;color:var(--muted);line-height:1.9}.modal .front-form{padding:5px}.site-map-links{display:flex;flex-wrap:wrap;gap:10px}.site-map-links a{font-size:11px;border:1px solid var(--border);padding:10px 13px;border-radius:6px;color:var(--purple)}.dark .auth-art,.dark .competition-cover{background:linear-gradient(140deg,#33283f,#272232)}.dark .front-form input:disabled{background:var(--bg);color:var(--muted)}
@media(max-width:1199px){.front-grid{grid-template-columns:1fr 1fr}.editor-layout{grid-template-columns:minmax(0,1fr) 225px}.front-stats{grid-template-columns:1fr 1fr}.messages-layout{grid-template-columns:220px 1fr}.auth-art{padding:30px}.auth-art h2{font-size:29px}.auth-content{padding:28px}.draft-row{flex-wrap:wrap}.draft-row .draft-actions{flex-basis:100%;margin-left:0}.editor-side{padding:20px}}
@media(max-width:700px){.front-grid,.front-two{grid-template-columns:1fr}.front-card{padding:22px}.editor-layout{display:block}.editor-side{position:static;margin-top:20px}.front-toolbar{gap:12px}.front-toolbar .btn{font-size:10px}.front-stats{gap:12px}.front-stat{padding:18px}.front-stat>strong{font-size:23px}.front-stat>span{font-size:10px}.leaderboard-podium{gap:10px}.podium-card{padding:18px 10px}.podium-card.winner{padding-top:30px}.podium-avatar{width:48px;height:48px;font-size:18px}.podium-card h3{font-size:11px}.podium-card p{font-size:8px}.podium-card strong{font-size:18px}.front-table th,.front-table td{padding:15px}.discussion-row{padding:20px;gap:12px}.discussion-row h2{font-size:13px}.discussion-row p{font-size:11px}.discussion-count{display:none}.messages-layout{grid-template-columns:1fr}.conversation-list{border-right:0;border-bottom:1px solid var(--border);display:flex;overflow:auto;padding:10px}.conversation-list button{min-width:190px;padding:12px}.chat-log{min-height:280px}.auth-layout{display:block;margin-top:10px}.auth-art{padding:25px}.auth-art>.bi{font-size:35px;margin-bottom:15px}.auth-art h2{font-size:26px;margin:0}.auth-art p{font-size:11px;margin-bottom:0}.auth-content{padding:25px}.auth-content h1{max-width:none}.auth-content .field{margin-bottom:18px}.notification-row{padding:18px;gap:10px}.notification-row .front-icon{width:30px;height:30px;font-size:15px}.notification-row .btn{font-size:9px}.front-form label{font-size:11px}.front-form .form-control,.front-form .form-select{font-size:11px}.editor-tabs button{font-size:11px}.question-editor{padding:16px}.editor-option .form-control{padding:10px}.editor-actions .btn{font-size:10px}.draft-row{padding:18px}.generator-well{padding:25px}.generator-well h2{font-size:23px}.chart-bars{gap:9px}.chart-bar small{font-size:7px}}
