@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap";input,textarea,select{font-size:16px!important}html{-webkit-text-size-adjust:100%}:root{--text:#5d3b1f;--text-h:#2a5931;--bg:#f5f2e8;--border:#2a593126;--code-bg:#fff;--accent:#2e7d32;--accent-bg:#2e7d321a;--accent-border:#2e7d324d;--social-bg:#ffffff80;--shadow:#00000014 0 4px 12px;--sans:"Roboto", system-ui, -apple-system, sans-serif;--heading:"Roboto", system-ui, -apple-system, sans-serif;--mono:ui-monospace, Consolas, monospace;font:16px/145% var(--sans);letter-spacing:.1px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:left;box-sizing:border-box;flex-direction:column;width:100%;min-height:100vh;margin:0;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.exam-take-page{color:#3e2723;min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));-webkit-tap-highlight-color:transparent;background:linear-gradient(#f0f7f0 0%,#f5f2e8 120px 100%);font-family:Roboto,system-ui,sans-serif}.exam-take-page *{box-sizing:border-box}.exam-loading-wrap{flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:70dvh;padding:24px;display:flex}.exam-spinner{border:3px solid #e0e0e0;border-top-color:#2e7d32;border-radius:50%;width:44px;height:44px;animation:.9s linear infinite exam-spin}@keyframes exam-spin{to{transform:rotate(360deg)}}@keyframes exam-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.04)}}.exam-offline-bar{color:#e65100;text-align:center;background:#fff3e0;padding:10px 14px;font-size:12px;font-weight:600;line-height:1.4}.exam-header{z-index:100;background:#fff;border-bottom:1px solid #e8e8e8;position:sticky;top:0;box-shadow:0 2px 12px #2e7d3214}.exam-header-top{align-items:flex-start;gap:10px;padding:12px 14px 10px;display:flex}.exam-header-info{flex:1;min-width:0}.exam-header-title{color:#2e7d32;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:15px;font-weight:800;line-height:1.3;display:-webkit-box;overflow:hidden}.exam-header-sub{color:#757575;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 0;font-size:12px;display:flex}.exam-q-pill{color:#2e7d32;background:#e8f5e9;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:700}.exam-timer-wrap{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:6px;display:flex}.exam-timer{color:#2e7d32;text-align:center;background:#e8f5e9;border:2px solid #c8e6c9;border-radius:12px;min-width:84px;padding:8px 12px;font-family:ui-monospace,monospace;font-size:16px;font-weight:800}.exam-timer.urgent{color:#c62828;background:#ffebee;border-color:#ef9a9a;animation:1s ease-in-out infinite exam-pulse}.exam-progress-row{align-items:center;gap:10px;padding:0 14px 10px;display:flex}.exam-progress-track{background:#eee;border-radius:999px;flex:1;height:8px;overflow:hidden}.exam-progress-fill{background:linear-gradient(90deg,#43a047,#2e7d32);border-radius:999px;height:100%;transition:width .3s}.exam-progress-label{color:#616161;white-space:nowrap;font-size:11px;font-weight:700}.exam-main{max-width:720px;margin:0 auto;padding:14px 14px 8px}.exam-card{background:#fff;border:1px solid #ebebeb;border-radius:20px;margin-bottom:12px;overflow:hidden;box-shadow:0 4px 20px #0000000d}.exam-card-head{border-bottom:1px solid #f0f0f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;display:flex}.exam-type-badge{color:#2e7d32;background:#e8f5e9;border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700}.exam-card-actions{align-items:center;gap:8px;display:flex}.exam-save-status{color:#558b2f;font-size:11px;font-weight:600}.exam-save-status.failed{color:#c62828}.exam-flag-btn{color:#757575;cursor:pointer;background:#fff;border:1.5px solid #e0e0e0;border-radius:999px;min-height:36px;padding:0 12px;font-size:12px;font-weight:700}.exam-flag-btn.active{color:#e65100;background:#fff8e1;border-color:#ffb300}.exam-card-body{padding:16px 14px 18px}.exam-question-img{object-fit:contain;background:#fafafa;border:1px solid #eee;border-radius:12px;width:100%;max-height:220px;margin-bottom:14px}.exam-question-text{color:#3e2723;margin:0 0 18px;font-size:16px;font-weight:500;line-height:1.65}.exam-options{flex-direction:column;gap:10px;display:flex}.exam-option{text-align:left;color:#3e2723;cursor:pointer;touch-action:manipulation;background:#fafafa;border:2px solid #e8e8e8;border-radius:14px;align-items:center;gap:12px;width:100%;min-height:56px;padding:14px 16px;font-size:15px;line-height:1.45;transition:border-color .15s,background .15s,transform .1s;display:flex}.exam-option:active{transform:scale(.98)}.exam-option.selected{background:#e8f5e9;border-color:#2e7d32;box-shadow:0 0 0 1px #2e7d3226}.exam-option-label{color:#616161;background:#eee;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;font-weight:800;display:inline-flex}.exam-option.selected .exam-option-label{color:#fff;background:#2e7d32}.exam-option-text{flex:1}.exam-tf-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.exam-tf-btn{cursor:pointer;touch-action:manipulation;background:#fafafa;border:2px solid #e8e8e8;border-radius:14px;min-height:64px;font-size:16px;font-weight:800}.exam-tf-btn.selected{color:#2e7d32;background:#e8f5e9;border-color:#2e7d32}.exam-textarea{resize:vertical;background:#fafafa;border:2px solid #e8e8e8;border-radius:14px;width:100%;min-height:180px;padding:14px;font-family:inherit;font-size:16px;line-height:1.6}.exam-textarea:focus{background:#fff;border-color:#2e7d32;outline:none}.exam-clear-btn{color:#9e9e9e;cursor:pointer;background:0 0;border:none;margin-top:10px;padding:8px 0;font-size:13px;font-weight:600}.exam-nav-toggle{color:#2e7d32;cursor:pointer;background:#fff;border:1px solid #e8e8e8;border-radius:16px;justify-content:space-between;align-items:center;width:100%;margin-bottom:8px;padding:14px 16px;font-size:14px;font-weight:700;display:flex;box-shadow:0 2px 8px #0000000a}.exam-nav-panel{background:#fff;border:1px solid #e8e8e8;border-radius:16px;margin-bottom:8px;padding:14px}.exam-nav-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px;display:grid}.exam-nav-dot{color:#757575;cursor:pointer;touch-action:manipulation;background:#fafafa;border:1.5px solid #e0e0e0;border-radius:10px;min-height:44px;font-size:13px;font-weight:800}.exam-nav-dot.current{border:2px solid #2e7d32;box-shadow:0 0 0 2px #2e7d3233}.exam-nav-dot.answered{color:#fff;background:#2e7d32;border-color:#2e7d32}.exam-nav-dot.flagged{color:#fff;background:#ffb300;border-color:#ffb300}.exam-legend{color:#757575;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:11px;display:flex}.exam-legend i{vertical-align:middle;border-radius:3px;width:10px;height:10px;margin-right:4px;display:inline-block}.exam-bottom-bar{z-index:200;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e8e8e8;grid-template-columns:1fr 1fr 1.2fr;gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 24px #00000014}.exam-bottom-btn{cursor:pointer;touch-action:manipulation;border:none;border-radius:12px;min-height:48px;font-size:14px;font-weight:700}.exam-bottom-btn:disabled{opacity:.45;cursor:not-allowed}.exam-bottom-btn.secondary{color:#616161;background:#f5f5f5;border:1px solid #e0e0e0}.exam-bottom-btn.primary{color:#fff;background:#2e7d32}.exam-bottom-btn.submit{color:#fff;background:linear-gradient(135deg,#c62828,#b71c1c)}.exam-overlay{z-index:400;background:#00000080;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}@media (width>=480px){.exam-overlay{align-items:center;padding:16px}}.exam-dialog{padding:24px 20px calc(24px + env(safe-area-inset-bottom,0px));background:#fff;border-radius:20px 20px 0 0;width:100%;max-width:400px;box-shadow:0 -8px 40px #00000026}@media (width>=480px){.exam-dialog{border-radius:20px;padding:24px}}.exam-dialog-title{color:#2e7d32;margin:0 0 8px;font-size:20px;font-weight:800}.exam-dialog-body{color:#616161;margin:0 0 20px;font-size:14px;line-height:1.6}.exam-dialog-stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:18px;display:grid}.exam-stat-box{text-align:center;background:#f5f5f5;border-radius:12px;padding:10px 8px}.exam-stat-num{color:#2e7d32;font-size:18px;font-weight:800;display:block}.exam-stat-label{color:#757575;text-transform:uppercase;font-size:10px;font-weight:600}.exam-dialog-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.exam-btn{cursor:pointer;touch-action:manipulation;border:none;border-radius:12px;min-height:48px;font-size:15px;font-weight:700}.exam-btn.primary{color:#fff;background:#2e7d32}.exam-btn.secondary{color:#616161;background:#f5f5f5}.exam-btn.danger{color:#fff;background:#c62828}.exam-swipe-hint{text-align:center;color:#bdbdbd;margin:4px 0 0;font-size:11px}.exam-list-page,.exam-list-page *{box-sizing:border-box}.exam-list-page{max-width:720px;margin:0 auto;padding:16px 14px 88px}.exam-list-hero{color:#fff;background:linear-gradient(135deg,#2e7d32,#43a047);border-radius:20px;margin-bottom:16px;padding:20px 18px;box-shadow:0 8px 24px #2e7d3240}.exam-list-hero h1{margin:0 0 6px;font-size:22px;font-weight:800}.exam-list-hero p{opacity:.92;margin:0;font-size:13px;line-height:1.5}.exam-list-search{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%239e9e9e' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") 14px no-repeat;border:1px solid #e0e0e0;border-radius:14px;width:100%;min-height:48px;margin-bottom:12px;padding:0 14px 0 40px;font-size:16px}.exam-list-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch;gap:8px;margin-bottom:14px;padding-bottom:4px;display:flex;overflow-x:auto}.exam-list-tabs::-webkit-scrollbar{display:none}.exam-list-tab{color:#757575;cursor:pointer;background:#fff;border:1.5px solid #e0e0e0;border-radius:999px;flex-shrink:0;min-height:40px;padding:0 14px;font-size:12px;font-weight:700}.exam-list-tab.active{color:#fff;background:#2e7d32;border-color:#2e7d32}.exam-list-card{background:#fff;border:1px solid #ebebeb;border-radius:18px;margin-bottom:12px;padding:16px;box-shadow:0 2px 12px #0000000a}.exam-list-card-top{justify-content:space-between;gap:10px;margin-bottom:12px;display:flex}.exam-list-card-title{color:#3e2723;margin:0 0 6px;font-size:17px;font-weight:800;line-height:1.35}.exam-list-card-meta{color:#757575;margin:0;font-size:12px;line-height:1.5}.exam-list-pill{letter-spacing:.3px;border-radius:999px;flex-shrink:0;height:fit-content;padding:5px 10px;font-size:10px;font-weight:800}.exam-list-chips{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.exam-list-chip{color:#616161;background:#f5f5f5;border-radius:8px;padding:6px 10px;font-size:11px;font-weight:600}.exam-list-start{color:#fff;cursor:pointer;touch-action:manipulation;background:linear-gradient(135deg,#2e7d32,#388e3c);border:none;border-radius:14px;width:100%;min-height:52px;font-size:16px;font-weight:800;box-shadow:0 4px 14px #2e7d3259}.exam-list-start:disabled{opacity:.55;box-shadow:none}.exam-list-start-row{gap:8px;margin-top:10px;display:flex}.exam-list-access{border:1.5px solid #e0e0e0;border-radius:12px;width:100%;min-height:48px;margin-bottom:10px;padding:0 14px;font-size:16px}.exam-list-empty{text-align:center;color:#757575;background:#fff;border-radius:18px;padding:40px 20px}.exam-list-result{border-radius:12px;margin-bottom:12px;padding:12px 14px;font-size:14px;font-weight:800}.exam-list-result.pass{color:#2e7d32;background:#e8f5e9;border:1px solid #c8e6c9}.exam-list-result.fail{color:#c62828;background:#ffebee;border:1px solid #ffcdd2}
