@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.left-1\/2{left:50%}.z-50{z-index:50}.container{width:100%}.mx-auto{margin-inline:auto}.mt-auto{margin-top:auto}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.min-h-\[32px\]{min-height:32px}.min-h-\[44px\]{min-height:44px}.min-h-\[52px\]{min-height:52px}.min-h-\[400px\]{min-height:400px}.min-h-screen{min-height:100vh}.w-full{width:100%}.min-w-\[32px\]{min-width:32px}.min-w-\[44px\]{min-width:44px}.min-w-\[52px\]{min-width:52px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.bg-transparent{background-color:#0000}.text-center{text-align:center}.text-\[14px\]{font-size:14px}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-0:focus{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media(min-width:480px){.min-\[480px\]\:flex-row{flex-direction:row}.min-\[480px\]\:flex-wrap{flex-wrap:wrap}}:root{font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;line-height:1.5}body{min-width:320px;min-height:100vh;margin:0;font-size:16px}button,a.btn,input[type=button],input[type=submit],input[type=reset]{min-width:44px;min-height:44px}@media(max-width:767px){input,select,textarea,button{font-size:16px}input,select,textarea{min-height:44px}a,button,input,select,textarea{-webkit-tap-highlight-color:#0000001a}p,li,.question-text{line-height:1.6}.question-option,.option-item{margin-bottom:.75rem}input[type=radio],input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sr-only:focus,.sr-only:active{width:auto;height:auto;padding:inherit;margin:inherit;clip:auto;white-space:normal;position:static;overflow:visible}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}.navbar{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000d;position:fixed;top:0;left:0;right:0;z-index:1000}.nav-container{max-width:1200px;margin:0 auto;padding:0 1rem;display:flex;justify-content:space-between;align-items:center;height:64px;min-width:1000px}.nav-brand a{text-decoration:none;display:flex;align-items:center;cursor:pointer;transition:opacity .2s ease-in-out}.nav-brand a:hover{opacity:.8}.nav-brand h1{font-size:1.25rem;font-weight:600;color:#2563eb;margin:0;display:flex;align-items:center}.logo-icon{display:inline-block;font-size:1.5rem;margin-right:.5rem;filter:drop-shadow(0 0 2px rgba(37,99,235,.3));animation:logoGlow 2s ease-in-out infinite}@keyframes logoGlow{0%,to{filter:drop-shadow(0 0 2px rgba(37,99,235,.3))}50%{filter:drop-shadow(0 0 8px rgba(37,99,235,.6))}}.nav-menu{display:flex;align-items:center;gap:2rem}.nav-link{color:#64748b;text-decoration:none;font-weight:500;transition:all .2s ease-in-out;padding:.5rem 0;border-bottom:2px solid transparent}.nav-link:hover,.nav-link.active{color:#2563eb;border-bottom-color:#2563eb}.nav-user{display:flex;align-items:center;gap:1rem}.user-name{font-weight:500;color:#1e293b;cursor:pointer;padding:8px 12px;border-radius:4px;transition:background .3s}.user-name:hover{background:#f8fafc}.nav-auth{display:flex;gap:1rem}.login-btn,.register-btn,.logout-btn{padding:.5rem 1rem;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#1e293b;font-weight:500;cursor:pointer;transition:all .2s ease-in-out;text-decoration:none;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center}.login-btn:hover,.register-btn:hover,.logout-btn:hover{background:#f8fafc;border-color:#2563eb;color:#2563eb}.register-btn{background:#2563eb;color:#fff;border-color:#2563eb}.register-btn:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}@media(max-width:768px){.nav-container{flex-direction:column;height:auto;padding:1rem;min-width:auto}.nav-menu{margin-top:1rem;flex-wrap:wrap;justify-content:center;gap:1rem}.nav-brand h1{font-size:1rem}.nav-link{font-size:.875rem}}@media(max-width:480px){.nav-container{padding:.5rem}.nav-menu,.nav-auth{gap:.5rem}.login-btn,.register-btn,.logout-btn{padding:.375rem .75rem;font-size:.75rem}}.exit-confirm{padding:1rem 0}.exit-warning{text-align:center;margin-bottom:1.5rem}.exit-warning h3{color:#dc2626;margin:.5rem 0;font-size:1.125rem}.exit-warning p{color:#6b7280;margin:.25rem 0;font-size:.875rem}.confirm-actions{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}.btn-secondary,.btn-danger{padding:.75rem 1.5rem;border:1px solid;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease-in-out;text-decoration:none;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;background:#fff}.btn-secondary{border-color:#d1d5db;color:#374151}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.btn-danger{border-color:#dc2626;color:#dc2626}.btn-danger:hover{background:#dc2626;color:#fff}.breadcrumb{background:#fff;padding:1rem 0;border-bottom:1px solid #e5e7eb}.breadcrumb-list{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;gap:.5rem}.breadcrumb-item{display:flex;align-items:center;gap:.5rem}.breadcrumb-link{color:#2563eb;text-decoration:none;transition:color .2s}.breadcrumb-link:hover{color:#1d4ed8;text-decoration:underline}.breadcrumb-link:focus{outline:2px solid #2563eb;outline-offset:2px;border-radius:2px}.breadcrumb-separator{color:#9ca3af;-webkit-user-select:none;-moz-user-select:none;user-select:none}.breadcrumb-current{color:#6b7280;font-weight:500}@media(max-width:768px){.breadcrumb{padding:.75rem 0}.breadcrumb-list{font-size:.875rem}}.main-content{margin-top:64px;min-height:calc(70vh - 64px)}@media(max-width:768px){.main-content{margin-top:120px;min-height:calc(100vh - 120px)}}.login-form,.register-form{width:100%}.form-group{margin-bottom:1.1rem}.form-group:last-of-type{margin-bottom:1.5rem}.checkbox-group{margin-bottom:1rem}.remember-group{margin-bottom:1rem!important}.remember-label{display:flex;align-items:center;gap:7px;font-size:.875rem;color:#4b5563;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:-moz-fit-content;width:fit-content}.remember-checkbox{width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;accent-color:#4f46e5;cursor:pointer;flex-shrink:0;margin:0!important;padding:0!important;background:unset!important;border-radius:3px!important;outline:none!important;box-shadow:none!important}.error-message{display:flex;align-items:flex-start;gap:8px;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:12px 14px;margin-bottom:1rem;color:#dc2626;font-size:.875rem;line-height:1.5}.error-message:before{content:"⚠";flex-shrink:0;font-size:.9rem}@media(max-width:767px){.form-group{margin-bottom:.9rem}.checkbox-label{font-size:.9375rem;min-height:44px}.error-message{font-size:.9375rem;padding:10px 12px}}@media(max-width:479px){.form-group{margin-bottom:.8rem}}.protected-route-loading{display:flex;align-items:center;justify-content:center;min-height:400px}.loading-spinner{font-size:16px;color:#6b7280}.protected-route-prompt{display:flex;align-items:center;justify-content:center;min-height:400px;padding:40px 20px}.prompt-content{text-align:center;max-width:400px}.prompt-content h2{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:.75rem}.prompt-content p{font-size:1rem;color:#6b7280;margin-bottom:1.5rem}.btn-primary{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border:none;border-radius:10px;padding:12px 32px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s,transform .1s;box-shadow:0 4px 12px #4f46e54d}.btn-primary:hover{opacity:.9;transform:translateY(-1px)}.btn-primary:active{transform:translateY(0)}.login-form .form-group,.register-form .form-group{padding:0 .125rem;box-sizing:border-box}.login-form .w-full,.register-form .w-full{max-width:100%;box-sizing:border-box}.login-form button[type=submit],.register-form button[type=submit]{background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;border:none!important;border-radius:12px!important;font-size:1rem!important;font-weight:600!important;letter-spacing:.02em;color:#fff!important;box-shadow:0 4px 14px #4f46e566!important;transition:opacity .2s,transform .15s,box-shadow .2s!important;min-height:48px!important}.login-form button[type=submit]:hover:not(:disabled),.register-form button[type=submit]:hover:not(:disabled){opacity:.92!important;transform:translateY(-1px)!important;box-shadow:0 6px 20px #4f46e573!important}.login-form button[type=submit]:active:not(:disabled),.register-form button[type=submit]:active:not(:disabled){transform:translateY(0)!important;box-shadow:0 2px 8px #4f46e54d!important}.login-form input:not([type=checkbox]),.register-form input:not([type=checkbox]){border-radius:10px!important;border-color:#e5e7eb!important;padding:.65rem .875rem!important;font-size:.9375rem!important;transition:border-color .2s,box-shadow .2s!important;background:#fafafa!important;box-sizing:border-box!important;width:100%!important;box-shadow:none!important}.login-form input:not([type=checkbox]):focus,.register-form input:not([type=checkbox]):focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px #4f46e51f!important;background:#fff!important;outline:none!important}.login-form input:not([type=checkbox])::-moz-placeholder,.register-form input:not([type=checkbox])::-moz-placeholder{color:#9ca3af!important}.login-form input:not([type=checkbox])::placeholder,.register-form input:not([type=checkbox])::placeholder{color:#9ca3af!important}.login-form label:not([role]),.register-form label:not([role]){font-size:.875rem!important;font-weight:500!important;color:#374151!important}.login-form p[role=alert],.register-form p[role=alert]{color:#dc2626!important;font-size:.8125rem!important;font-weight:400!important}.home-page{max-width:100%;margin:0;padding:0;background-color:#f8fafc;min-height:calc(100vh - 64px)}.hero-section{text-align:center;padding:5rem 2rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:#fff;margin-bottom:0;clip-path:ellipse(150% 100% at 50% 0%)}.hero-section h1{color:#fff!important;text-shadow:0 2px 4px rgba(0,0,0,.1);font-size:3rem;letter-spacing:-.02em}.hero-section p{color:#ffffffe6!important;font-size:1.25rem;max-width:600px;margin-left:auto;margin-right:auto}.stats-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;max-width:1200px;margin:-4rem auto 4rem;padding:0 2rem;position:relative;z-index:10}.stat-card{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;text-align:center;border-bottom:4px solid transparent;transition:transform .3s ease}.stat-card:hover{transform:translateY(-5px)}.stat-card:nth-of-type(1){border-bottom-color:#3b82f6}.stat-card:nth-of-type(2){border-bottom-color:#10b981}.stat-card:nth-of-type(3){border-bottom-color:#f59e0b}.stat-card:nth-of-type(4){border-bottom-color:#8b5cf6}.stat-value{font-size:2.5rem;font-weight:800;color:#1e293b;margin-bottom:.25rem}.stat-label{color:#64748b;font-size:.875rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.features-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;max-width:1200px;margin:0 auto;padding:0 2rem 5rem}.feature-card{background:#fff;padding:1.25rem 1.5rem;border-radius:1.25rem;box-shadow:0 4px 6px -1px #0000000d;cursor:pointer;transition:all .4s cubic-bezier(.4,0,.2,1);text-align:center;border:1px solid #f1f5f9;display:flex;flex-direction:column;align-items:center}.feature-card:hover{transform:translateY(-8px);box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;border-color:#e2e8f0}.feature-icon{font-size:1.75rem;margin-bottom:.5rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f1f5f9;transition:all .3s ease}.feature-card:hover .feature-icon{transform:scale(1.1) rotate(5deg)}.feature-card:nth-child(1) .feature-icon{background:#eff6ff}.feature-card:nth-child(2) .feature-icon{background:#ecfdf5}.feature-card:nth-child(3) .feature-icon{background:#fffbeb}.feature-card:nth-child(4) .feature-icon{background:#f5f3ff}.feature-title{font-size:1.25rem;font-weight:700;color:#0f172a;margin-bottom:.5rem}.feature-description{color:#475569;line-height:1.5;font-size:.875rem}@media(max-width:767px){.hero-section{padding:3rem 1rem}.hero-section h1{font-size:1.75rem}.stats-section{margin-top:-2rem;grid-template-columns:repeat(2,1fr);gap:1rem;padding:0 1rem}.stat-card{padding:1.5rem 1rem}.features-section{padding:2rem 1rem 3rem}}.login-page{min-height:calc(80vh - 100px);display:flex;align-items:center;justify-content:center;padding:2rem 1.5rem;background:linear-gradient(145deg,#f0f4ff,#faf5ff)}.login-container{width:100%;max-width:420px;background:#fff;border-radius:20px;box-shadow:0 8px 40px #4f46e51a,0 2px 8px #0000000f;padding:2.5rem 2.25rem;overflow:hidden;box-sizing:border-box}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:2rem}.login-brand-icon{width:38px;height:38px;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;box-shadow:0 4px 10px #4f46e54d}.login-brand-name{font-size:.875rem;font-weight:600;color:#4f46e5;letter-spacing:.02em}.login-header{margin-bottom:1.75rem}.login-header h1{font-size:1.625rem;font-weight:700;color:#111827;margin-bottom:.375rem;letter-spacing:-.02em}.login-header p{font-size:.875rem;color:#6b7280}.login-form-wrapper{margin-bottom:1.25rem}.login-footer{text-align:center;padding-top:1.25rem;border-top:1px solid #f3f4f6}.login-footer p{font-size:.875rem;color:#6b7280}@media(max-width:479px){.login-page{padding:1rem;align-items:flex-end;background:linear-gradient(145deg,#4f46e5,#7c3aed)}.login-container{border-radius:20px 20px 0 0;padding:2rem 1.5rem 2.5rem;box-shadow:0 -4px 30px #00000026}}@media(max-width:767px){.login-form-wrapper input{font-size:16px}}.register-page{min-height:calc(80vh - 100px);display:flex;align-items:center;justify-content:center;padding:2rem 1.5rem;background:linear-gradient(145deg,#f0f4ff,#faf5ff)}.register-container{width:100%;max-width:440px;background:#fff;border-radius:20px;box-shadow:0 8px 40px #4f46e51a,0 2px 8px #0000000f;padding:2.5rem 2.25rem;overflow:hidden;box-sizing:border-box}.register-brand{display:flex;align-items:center;gap:10px;margin-bottom:2rem}.register-brand-icon{width:38px;height:38px;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;box-shadow:0 4px 10px #4f46e54d}.register-brand-name{font-size:.875rem;font-weight:600;color:#4f46e5;letter-spacing:.02em}.register-header{margin-bottom:1.5rem}.register-header h1{font-size:1.625rem;font-weight:700;color:#111827;margin-bottom:.375rem;letter-spacing:-.02em}.register-header p{font-size:.875rem;color:#6b7280}.register-form-wrapper{margin-bottom:1.25rem}.register-footer{text-align:center;padding-top:1.25rem;border-top:1px solid #f3f4f6}.register-footer p{font-size:.875rem;color:#6b7280}.link-primary{color:#4f46e5;font-weight:600;text-decoration:none;margin-left:.35rem;transition:color .2s}.link-primary:hover{color:#4338ca;text-decoration:underline}@media(max-width:479px){.register-page{padding:1rem;align-items:flex-end;background:linear-gradient(145deg,#4f46e5,#7c3aed)}.register-container{border-radius:20px 20px 0 0;padding:2rem 1.5rem 2.5rem;box-shadow:0 -4px 30px #00000026}}@media(max-width:767px){.register-form-wrapper input{font-size:16px}}.question-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:24px;margin-bottom:20px;box-shadow:0 2px 4px #0000000d;transition:box-shadow .3s ease}.question-card:hover{box-shadow:0 4px 8px #0000001a}.question-header{display:flex;align-items:center;margin-bottom:16px}.question-type-badge{display:inline-block;padding:4px 12px;background:#1976d2;color:#fff;border-radius:4px;font-size:14px;font-weight:500}.question-content{margin-bottom:20px}.question-content p{font-size:16px;line-height:1.6;color:#333;margin:0}.question-options{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.question-option{display:flex;align-items:center;padding:12px 16px;border:2px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s ease;background:#fff}.question-option:hover:not(.option-disabled){border-color:#1976d2;background:#f5f9ff}.question-option input[type=radio],.question-option input[type=checkbox]{margin-right:12px;cursor:pointer;width:18px;height:18px;flex-shrink:0}.option-label{display:flex;align-items:flex-start;flex:1;font-size:15px;line-height:1.5;color:#333}.option-key{font-weight:600;margin-right:8px;flex-shrink:0}.option-text{flex:1}.option-selected{border-color:#1976d2;background:#e3f2fd}.option-correct{border-color:#4caf50;background:#e8f5e9}.option-incorrect{border-color:#f44336;background:#ffebee}.option-disabled{cursor:not-allowed;opacity:.7}.option-disabled input{cursor:not-allowed}.option-indicator{margin-left:12px;font-size:18px;font-weight:700;flex-shrink:0}.correct-indicator{color:#4caf50}.incorrect-indicator{color:#f44336}.question-feedback{margin-top:20px;padding-top:20px;border-top:1px solid #e0e0e0}.feedback-correct,.feedback-incorrect{display:flex;align-items:center;padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:15px;font-weight:500}.feedback-correct{background:#e8f5e9;color:#2e7d32;border:1px solid #4caf50}.feedback-incorrect{background:#ffebee;color:#c62828;border:1px solid #f44336}.feedback-icon{font-size:20px;margin-right:8px}.feedback-text{flex:1}.correct-answer-display{padding:12px 16px;background:#f5f5f5;border-radius:6px;margin-bottom:16px;font-size:15px}.correct-answer-display strong{color:#333;margin-right:8px}.correct-answer-display span{color:#1976d2;font-weight:600}.explanation{padding:16px;background:#fff9e6;border-left:4px solid #ffc107;border-radius:4px;font-size:14px;line-height:1.6}.explanation strong{display:block;color:#f57c00;margin-bottom:8px;font-size:15px}.explanation p{margin:0;color:#666}@media(max-width:768px){.question-card{padding:16px;margin-bottom:16px}.question-content p{font-size:15px}.question-option{padding:10px 12px}.option-label{font-size:14px}.option-key{margin-right:6px}.question-option input[type=radio],.question-option input[type=checkbox]{width:16px;height:16px;margin-right:10px}.feedback-correct,.feedback-incorrect{padding:10px 12px;font-size:14px}.correct-answer-display,.explanation{padding:12px;font-size:13px}}@media(max-width:480px){.question-card{padding:12px;border-radius:6px}.question-type-badge{font-size:12px;padding:3px 10px}.question-content p{font-size:14px}.question-option{padding:8px 10px}.option-label{font-size:13px}}.practice-page{max-width:1200px;margin:0 auto;padding:2rem;min-height:calc(100vh - 200px)}.practice-page-split{display:flex;height:100vh;overflow:hidden}.practice-sidebar{width:25%;min-width:320px;max-width:450px;background:#f9fafb;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;transition:width .3s ease,margin-left .3s ease;overflow:hidden}.practice-sidebar.collapsed{width:60px;min-width:60px}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #e5e7eb;gap:.5rem}.sidebar-header .btn-back{flex:1;padding:.5rem .75rem;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-header .btn-reset-all{padding:.5rem .75rem;font-size:.875rem;background:#ef4444;color:#fff;border:1px solid #dc2626;border-radius:.375rem;cursor:pointer;transition:all .2s;white-space:nowrap}.sidebar-header .btn-reset-all:hover:not(:disabled){background:#dc2626;border-color:#b91c1c}.sidebar-header .btn-reset-all:disabled{opacity:.6;cursor:not-allowed}.practice-sidebar.collapsed .sidebar-header .btn-back,.practice-sidebar.collapsed .sidebar-header .btn-reset-all{display:none}.btn-toggle-sidebar{padding:.5rem;font-size:1.25rem;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;cursor:pointer;transition:all .2s;min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}.btn-toggle-sidebar:hover{background:#f3f4f6;color:#3b82f6}.sidebar-title{padding:1rem;margin:0;font-size:1.125rem;font-weight:600;color:#1f2937;border-bottom:1px solid #e5e7eb}.sidebar-source-list{flex:1;overflow-y:auto;padding:.5rem}.sidebar-source-item{width:100%;padding:.75rem;margin-bottom:.5rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;transition:all .2s;text-align:left;display:flex;flex-direction:column;gap:.5rem;min-height:44px}.sidebar-source-item:hover{border-color:#3b82f6;box-shadow:0 2px 8px #3b82f633}.sidebar-source-item.active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 2px 8px #3b82f64d}.sidebar-source-item .source-info h3{font-size:.875rem;font-weight:600;color:#1f2937;margin:0 0 .25rem;line-height:1.3}.sidebar-source-item .source-number{font-size:.875rem;color:#6b7280;margin:0}.source-progress-mini{display:flex;align-items:center;gap:.5rem}.source-progress-mini .progress-text{font-size:.875rem;color:#1f2937;font-weight:700;min-width:50px}.progress-bar-mini{flex:1;height:4px;background:#e5e7eb;border-radius:2px;overflow:hidden}.progress-fill-mini{height:100%;background:#3b82f6;transition:width .3s ease}.practice-main{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding:2rem}.btn-question-nav{padding:.5rem 1rem;background:#3b82f6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;min-height:44px;min-width:44px}.btn-question-nav:hover{background:#2563eb}.question-nav-panel{width:280px;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1rem;display:flex;flex-direction:column;max-height:55vh;box-shadow:0 4px 6px #0000001a;overflow:hidden}.question-nav-header{display:flex;flex-direction:column;gap:.5rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb;flex-shrink:0}.question-nav-header h3{margin:0;font-size:.9375rem;font-weight:600;color:#1f2937}.question-nav-stats{display:flex;flex-direction:column;gap:.375rem;font-size:.8125rem}.question-nav-stats span{display:flex;align-items:center;gap:.5rem}.stat-correct{color:#059669;font-weight:600}.stat-incorrect{color:#dc2626;font-weight:600}.stat-unanswered{color:#6b7280;font-weight:600}.question-nav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.375rem;overflow-y:auto;padding-top:1rem;flex:1}.question-nav-item{aspect-ratio:1;border:2px solid #e5e7eb;border-radius:.375rem;background:#fff;cursor:pointer;font-size:.8125rem;font-weight:600;color:#6b7280;transition:all .2s;min-height:40px;min-width:40px;display:flex;align-items:center;justify-content:center;padding:0}.question-nav-item:hover{transform:scale(1.05);box-shadow:0 2px 8px #0000001a}.question-nav-item.current{border-color:#3b82f6;background:#3b82f6;color:#fff;font-weight:700}.question-nav-item.correct{background:#d1fae5;border-color:#059669;color:#059669}.question-nav-item.correct.current{background:#059669;color:#fff}.question-nav-item.incorrect{background:#fee2e2;border-color:#dc2626;color:#dc2626}.question-nav-item.incorrect.current{background:#dc2626;color:#fff}.question-nav-item.unanswered{background:#fff;border-color:#e5e7eb;color:#6b7280}.question-nav-item.unanswered.current{background:#3b82f6;border-color:#3b82f6;color:#fff}.welcome-container{flex:1;display:flex;align-items:center;justify-content:center;min-height:400px}.welcome-content{text-align:center;max-width:600px;padding:2rem}.welcome-title{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:1rem}.welcome-description{font-size:1.125rem;color:#6b7280;margin-bottom:3rem}.welcome-features{display:flex;flex-direction:column;gap:1.5rem;align-items:center}.feature-item{display:flex;align-items:center;gap:1rem;padding:1rem 2rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;min-width:300px;transition:all .2s}.feature-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f633}.feature-icon{font-size:2rem}.feature-text{font-size:1rem;color:#374151;font-weight:500}.practice-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;gap:1rem}.btn-back{padding:.75rem 1.5rem;font-size:1rem;font-weight:500;color:#3b82f6;background:#fff;border:2px solid #3b82f6;border-radius:.5rem;cursor:pointer;transition:all .2s;min-height:44px;min-width:44px}.btn-back:hover{background:#3b82f6;color:#fff}.btn-reset{padding:.5rem 1rem;background:#ef4444;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s;min-height:44px;min-width:44px}.btn-reset:hover:not(:disabled){background:#dc2626}.btn-reset:disabled{opacity:.6;cursor:not-allowed}.practice-progress{flex:1;max-width:600px}.progress-text{display:block;font-size:1rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.progress-bar{width:100%;height:12px;background:#e5e7eb;border-radius:6px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);transition:width .3s ease}.error-banner{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:.5rem;margin-bottom:1.5rem;border:1px solid #fecaca;text-align:center}.practice-content{margin-bottom:.5rem}.practice-actions{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem;margin-top:.5rem}.answer-mode-controls{display:flex;justify-content:center;padding:1rem;background:#f8fafc;border-radius:.5rem;border:1px solid #e2e8f0}.answer-mode-toggle{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-size:.875rem;color:#374151;-webkit-user-select:none;-moz-user-select:none;user-select:none}.answer-mode-toggle input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.toggle-text{font-weight:600;color:#1f2937}.toggle-description{color:#6b7280;font-size:.8125rem}.navigation-buttons{display:flex;gap:1rem;justify-content:center}.btn{padding:.875rem 2rem;font-size:1rem;font-weight:600;border:none;border-radius:.5rem;cursor:pointer;transition:all .2s;min-height:44px;min-width:120px}.btn-primary{color:#fff;background:#3b82f6}.btn-secondary{color:#374151;background:#e5e7eb}.btn-secondary:hover:not(:disabled){background:#d1d5db}.btn-success{color:#fff;background:#10b981;width:100%}.btn-success:hover:not(:disabled){background:#059669;transform:translateY(-1px);box-shadow:0 4px 6px #10b9814d}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none!important}.practice-stats{display:flex;gap:2rem;justify-content:center;padding:1.5rem;background:#fff;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.stat-item{display:flex;align-items:center;gap:.5rem;font-size:1rem}.stat-label{color:#6b7280}.stat-value{font-weight:600;color:#1f2937;font-size:1.125rem}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center}.loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.error-message{color:#dc2626;font-size:1rem;margin-bottom:1rem}@media(min-width:768px)and (max-width:1023px){.practice-page{padding:1.5rem}.practice-sidebar{width:30%;min-width:280px;max-width:350px}.practice-main{padding:1.5rem}.practice-header{flex-direction:column;align-items:stretch}.practice-progress{max-width:100%}.practice-stats{gap:1.5rem}}@media(max-width:767px){.practice-page{padding:1rem}.practice-page-split{flex-direction:column}.practice-sidebar{width:100%;height:auto;max-height:40vh;border-right:none;border-bottom:1px solid #e5e7eb}.practice-sidebar.collapsed{width:100%;height:60px;max-height:60px}.sidebar-header{padding:.75rem}.sidebar-title{padding:.75rem;font-size:1rem}.practice-main{padding:1rem;height:auto}.practice-header{flex-direction:column;align-items:stretch;gap:1rem}.btn-back{width:100%;padding:.75rem 1rem;font-size:.875rem}.practice-progress{max-width:100%}.progress-text{font-size:.875rem}.progress-bar{height:10px}.navigation-buttons{flex-direction:column;gap:.75rem}.btn{width:100%;padding:.875rem 1rem;font-size:.875rem;min-width:auto}.practice-stats{flex-direction:column;gap:1rem;padding:1rem}.stat-item{justify-content:space-between;font-size:.875rem}.stat-value{font-size:1rem}.answer-mode-controls{padding:.75rem}.answer-mode-toggle{font-size:.8125rem;gap:.5rem}.toggle-description{font-size:.75rem}.question-nav-panel{position:fixed;inset:0;width:100%;max-height:100vh;border-radius:0;z-index:100}}@media(max-width:479px){.practice-page,.practice-main{padding:.75rem}.practice-header{gap:.75rem}.btn-back{padding:.625rem .875rem;font-size:.8125rem}.progress-text{font-size:.8125rem}.btn{padding:.75rem .875rem;font-size:.8125rem}.practice-stats{padding:.875rem}.stat-item,.sidebar-source-item .source-info h3{font-size:.8125rem}}button,a.btn,.btn-back,.btn-primary,.btn-secondary,.btn-success{min-height:44px;min-width:44px}body{font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media(max-width:767px){input,select,textarea{font-size:16px;min-height:44px}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.modal-content{background:#fff;border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:500px;width:90%;max-height:90vh;overflow:hidden;animation:slideIn .2s ease-out}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 1.5rem 1rem;border-bottom:1px solid #e5e7eb}.modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.modal-close{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:.25rem;line-height:1;transition:color .2s}.modal-close:hover{color:#374151}.modal-body{padding:1rem 1.5rem}.modal-body p{margin:0 0 1rem;color:#374151;line-height:1.6}.modal-body ul{margin:1rem 0;padding-left:1.5rem;color:#6b7280}.modal-body li{margin:.5rem 0}.modal-footer{display:flex;gap:.75rem;padding:1rem 1.5rem 1.5rem;justify-content:flex-end;border-top:1px solid #e5e7eb}.btn-cancel{padding:.5rem 1rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:all .2s}.btn-cancel:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.btn-confirm-reset{padding:.5rem 1rem;background:#ef4444;color:#fff;border:1px solid #dc2626;border-radius:.375rem;cursor:pointer;font-size:.875rem;transition:all .2s}.btn-confirm-reset:hover:not(:disabled){background:#dc2626;border-color:#b91c1c}.btn-cancel:disabled,.btn-confirm-reset:disabled{opacity:.6;cursor:not-allowed}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:768px){.modal-content{width:95%;margin:1rem}.modal-header,.modal-body,.modal-footer{padding-left:1rem;padding-right:1rem}.modal-footer{flex-direction:column}.btn-cancel,.btn-confirm-reset{width:100%;justify-content:center}}.auth-required{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;padding:2rem;text-align:center}.auth-required h2{margin:0 0 1rem;color:#374151;font-size:1.5rem}.auth-required p{margin:0 0 2rem;color:#6b7280;font-size:1rem}.auth-required button{padding:.75rem 1.5rem;background:#3b82f6;color:#fff;border:none;border-radius:.375rem;cursor:pointer;font-size:1rem;transition:background .2s}.auth-required button:hover{background:#2563eb}.timer{display:flex;align-items:center;gap:1rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.timer-display{display:flex;align-items:center;gap:.5rem}.timer-icon{font-size:1.5rem;color:#fff}.timer-time{font-size:1.5rem;font-weight:700;font-family:Courier New,monospace;color:#fff;letter-spacing:.05em;min-width:5ch;text-align:center}.timer-toggle{padding:.5rem 1rem;background:#fff3;border:1px solid rgba(255,255,255,.3);border-radius:4px;color:#fff;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease}.timer-toggle:hover{background:#ffffff4d;border-color:#ffffff80}.timer-toggle:active{transform:scale(.95)}.timer-toggle:focus{outline:2px solid white;outline-offset:2px}.timer-caution{background:linear-gradient(135deg,#f093fb,#f5576c)}.timer-warning{background:linear-gradient(135deg,#fa709a,#fee140);animation:pulse-warning 2s ease-in-out infinite}.timer-expired{background:linear-gradient(135deg,#ff6b6b,#c92a2a);animation:pulse-expired 1s ease-in-out infinite}.timer-paused{background:linear-gradient(135deg,#868e96,#495057);opacity:.8}@keyframes pulse-warning{0%,to{box-shadow:0 2px 8px #0000001a}50%{box-shadow:0 4px 16px #fa709a66}}@keyframes pulse-expired{0%,to{box-shadow:0 2px 8px #0000001a}50%{box-shadow:0 4px 16px #ff6b6b99}}.timer-expired-message{font-size:.875rem;font-weight:600;color:#fff;animation:fade-in .3s ease-in}@keyframes fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.timer{padding:.5rem 1rem;gap:.75rem}.timer-time,.timer-icon{font-size:1.25rem}.timer-toggle{padding:.375rem .75rem;font-size:.8125rem}}@media(max-width:480px){.timer{flex-direction:column;gap:.5rem;padding:.75rem}.timer-toggle{width:100%}}@media(prefers-contrast:high){.timer,.timer-toggle{border:2px solid white}}@media(prefers-reduced-motion:reduce){.timer,.timer-toggle,.timer-expired-message{animation:none;transition:none}}.question-nav{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000000d}.question-nav-header{margin-bottom:16px;padding-bottom:16px;border-bottom:2px solid #f0f0f0}.question-nav-title{font-size:18px;font-weight:600;color:#333;margin:0 0 12px}.question-nav-stats{display:flex;gap:16px;flex-wrap:wrap}.stat-item{display:flex;align-items:center;font-size:14px}.stat-label{color:#666;margin-right:4px}.stat-value{font-weight:600;color:#333}.answered-stat .stat-value{color:#4caf50}.unanswered-stat .stat-value{color:#ff9800}.question-nav-legend{display:flex;gap:16px;margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:6px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:6px;font-size:13px;color:#666}.legend-indicator{width:24px;height:24px;border-radius:4px;border:2px solid transparent;display:inline-block}.current-indicator{background:#1976d2;border-color:#1565c0}.answered-indicator{background:#4caf50;border-color:#388e3c}.unanswered-indicator{background:#fff;border-color:#bdbdbd}.question-nav-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:8px}.question-nav-button{width:100%;min-width:44px;min-height:44px;padding:8px;border:2px solid #bdbdbd;border-radius:4px;background:#fff;color:#333;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.question-nav-button:hover{transform:translateY(-2px);box-shadow:0 2px 4px #00000026}.question-nav-button:active{transform:translateY(0)}.question-nav-button:focus{outline:2px solid #1976d2;outline-offset:2px}.question-nav-button.answered{background:#4caf50;border-color:#388e3c;color:#fff}.question-nav-button.answered:hover{background:#45a049;border-color:#2e7d32}.question-nav-button.unanswered{background:#fff;border-color:#bdbdbd;color:#666}.question-nav-button.unanswered:hover{background:#f5f5f5;border-color:#9e9e9e}.question-nav-button.current{background:#1976d2;border-color:#1565c0;color:#fff;box-shadow:0 0 0 3px #1976d233}.question-nav-button.current:hover{background:#1565c0;border-color:#0d47a1}.question-nav-button.current.answered{background:linear-gradient(135deg,#1976d2 50%,#4caf50 50%);border-color:#1565c0}@media(max-width:768px){.question-nav{padding:16px}.question-nav-title{font-size:16px}.question-nav-stats{gap:12px}.stat-item{font-size:13px}.question-nav-legend{gap:12px;padding:10px}.legend-item{font-size:12px}.legend-indicator{width:20px;height:20px}.question-nav-grid{grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:6px}.question-nav-button{min-width:40px;min-height:40px;font-size:13px}}@media(max-width:480px){.question-nav{padding:12px}.question-nav-title{font-size:15px;margin-bottom:10px}.question-nav-stats{gap:10px}.stat-item{font-size:12px}.question-nav-legend{gap:10px;padding:8px;margin-bottom:12px}.legend-item{font-size:11px;gap:4px}.legend-indicator{width:18px;height:18px}.question-nav-grid{grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:5px}.question-nav-button{min-width:36px;min-height:36px;font-size:12px;padding:6px}}@media print{.question-nav{display:none}}.question-nav-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 16px;margin-bottom:16px;border-bottom:1px solid #e5e7eb}.pagination-button{width:32px;height:32px;border:1px solid #d1d5db;background-color:#fff;border-radius:4px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s}.pagination-button:hover:not(:disabled){background-color:#f3f4f6;border-color:#9ca3af}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.pagination-info{font-size:14px;color:#6b7280;min-width:100px;text-align:center}.question-nav-quick-jump{padding:12px 16px;border-top:1px solid #e5e7eb;margin-top:16px}.quick-jump-label{font-size:14px;color:#6b7280;margin-bottom:8px;display:block}.quick-jump-buttons{display:flex;gap:8px;flex-wrap:wrap}.quick-jump-button{min-width:32px;height:32px;padding:0 8px;border:1px solid #d1d5db;background-color:#fff;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.quick-jump-button:hover{background-color:#f3f4f6;border-color:#9ca3af}.quick-jump-button.active{background-color:#3b82f6;color:#fff;border-color:#3b82f6}.question-nav-grid-container{position:relative;overflow-y:auto;overflow-x:hidden}.question-nav-grid-spacer{position:relative}.question-nav-grid-container::-webkit-scrollbar{width:8px}.question-nav-grid-container::-webkit-scrollbar-track{background:#f1f1f1}.question-nav-grid-container::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.question-nav-grid-container::-webkit-scrollbar-thumb:hover{background:#555}.exam-page{max-width:1400px;margin:0 auto;padding:1rem;min-height:calc(100vh - 200px)}.page-header{margin-bottom:1rem;text-align:center}.page-header h1{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.page-header p{color:#6b7280;font-size:1rem}.exam-instructions{background:#fff;padding:0rem;border-radius:.75rem;box-shadow:0 1px 3px #0000;max-width:800px;margin:0 auto}.instructions-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:1rem;text-align:center;padding-bottom:.4rem;border-bottom:2px solid #e5e7eb}.instructions-content{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.5rem}.instruction-item{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;background:#f9fafb;border-radius:.5rem;border-left:4px solid #3b82f6}.instruction-icon{font-size:1.5rem;flex-shrink:0}.instruction-text h3{font-size:1rem;font-weight:600;color:#1f2937;margin-bottom:.125rem}.instruction-text p{color:#6b7280;font-size:.875rem;line-height:1.5}.instructions-actions{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:2rem}.actions-buttons-group{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;width:100%}.btn-start-exam{padding:.875rem 2.5rem;font-size:1.125rem;font-weight:600;color:#fff;background:#3b82f6;border:2px solid #3b82f6;border-radius:.5rem;cursor:pointer;transition:all .2s;min-width:200px;width:200px}.btn-start-exam:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px #3b82f64d}.btn-start-exam:disabled{background:#9ca3af;cursor:not-allowed}.btn-simulation-mode{padding:.875rem 2.5rem;font-size:1.125rem;font-weight:600;color:#3b82f6;background:#fff;border:2px solid #3b82f6;border-radius:.5rem;cursor:pointer;transition:all .2s;min-width:200px;width:200px}.btn-simulation-mode:hover{background:#eff6ff;transform:translateY(-1px);box-shadow:0 2px 4px #3b82f633}.simulation-mode-desc{font-size:.8125rem;color:#9ca3af;margin-top:.25rem}.exam-in-progress{max-width:1400px}.exam-header{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:1.5rem;border-radius:.75rem;box-shadow:0 1px 3px #0000001a;margin-bottom:1.5rem}.exam-info{flex:1}.exam-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.exam-stats{display:flex;gap:1.5rem;font-size:.875rem;color:#6b7280}.stat-item{display:inline-flex;align-items:center;gap:.25rem}.exam-timer{flex-shrink:0}.exam-content{display:grid;grid-template-columns:1fr 320px;gap:1.5rem;align-items:start}.exam-question-area{background:#fff;padding:2rem;border-radius:.75rem;box-shadow:0 1px 3px #0000001a}.question-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.question-number{font-size:1.25rem;font-weight:600;color:#1f2937}.question-navigation-buttons{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:1px solid #e5e7eb}.btn-nav-prev,.btn-nav-next{flex:1;padding:.75rem 1.5rem;font-size:1rem;font-weight:500;color:#3b82f6;background:#fff;border:2px solid #3b82f6;border-radius:.5rem;cursor:pointer;transition:all .2s}.btn-nav-prev:hover:not(:disabled),.btn-nav-next:hover:not(:disabled){background:#3b82f6;color:#fff}.btn-nav-prev:disabled,.btn-nav-next:disabled{color:#9ca3af;border-color:#d1d5db;cursor:not-allowed;opacity:.5}.exam-submit-area{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb;text-align:center}.btn-submit-exam{padding:.875rem 2.5rem;font-size:1.125rem;font-weight:600;color:#fff;background:#10b981;border:none;border-radius:.5rem;cursor:pointer;transition:all .2s;min-width:200px}.btn-submit-exam:hover:not(:disabled){background:#059669;transform:translateY(-1px);box-shadow:0 4px 6px #10b9814d}.btn-submit-exam:disabled{background:#9ca3af;cursor:not-allowed}.submit-hint{margin-top:.75rem;font-size:.875rem;color:#6b7280}.exam-nav-area{position:sticky;top:2rem}.error-message{background:#fee2e2;color:#991b1b;padding:1rem;border-radius:.5rem;margin-bottom:1rem;text-align:center;border:1px solid #fecaca}.login-prompt,.submit-confirm{text-align:center;position:relative}.login-prompt p,.submit-confirm .confirm-message{font-size:1rem;color:#374151;margin-bottom:1.5rem;line-height:1.6}.confirm-stats{background:#f9fafb;padding:1.5rem;border-radius:.5rem;margin-bottom:1.5rem;border:1px solid #e5e7eb}.confirm-stats p{margin:.5rem 0;font-size:.875rem;color:#6b7280;display:flex;justify-content:space-between;align-items:center}.stat-value{font-weight:600;color:#1f2937}.warning-text{color:#dc2626!important;font-weight:600}.confirm-warning{font-size:.875rem;color:#dc2626;margin-bottom:1.5rem;font-weight:500;padding:.75rem;background:#fef2f2;border-radius:.375rem;border:1px solid #fecaca}.login-prompt-actions,.confirm-actions{display:flex;justify-content:center;gap:1rem;margin-top:1.5rem}.btn-primary,.btn-secondary{padding:.75rem 1.5rem;font-size:1rem;font-weight:500;border:none;border-radius:.5rem;cursor:pointer;transition:all .2s;min-width:120px;position:relative;overflow:hidden;pointer-events:auto;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.btn-primary{color:#fff;background:#3b82f6;box-shadow:0 1px 3px #0000001a}.btn-primary:hover:not(:disabled){background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px #3b82f64d}.btn-primary:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 4px #3b82f64d}.btn-primary:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.btn-secondary{color:#374151;background:#f3f4f6;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.btn-secondary:active:not(:disabled){background:#d1d5db}.btn-secondary:disabled{color:#9ca3af;background:#f9fafb;cursor:not-allowed}.btn-confirm-submit{background:#10b981;min-width:140px}.btn-confirm-submit:hover:not(:disabled){background:#059669;box-shadow:0 4px 6px #10b9814d}.btn-confirm-submit:active:not(:disabled){background:#047857;box-shadow:0 2px 4px #10b9814d}.loading-spinner-inline{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s ease-in-out infinite;margin-right:.5rem}.submitting-overlay{position:absolute;inset:0;background:#ffffffe6;display:flex;align-items:center;justify-content:center;border-radius:.5rem;pointer-events:none}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1024px){.exam-content{grid-template-columns:1fr}.exam-nav-area{position:static;order:-1}.exam-header{flex-direction:column;gap:1rem;align-items:stretch}.exam-stats{justify-content:space-around}}@media(max-width:768px){.exam-page{padding:1rem}.exam-instructions{padding:1.5rem}.instructions-title{font-size:1.25rem}.instruction-item{flex-direction:column;text-align:center}.exam-question-area{padding:1.5rem}.question-navigation-buttons{flex-direction:column}.btn-nav-prev,.btn-nav-next{width:100%}.exam-stats{flex-direction:column;gap:.5rem}.page-header h1{font-size:1.5rem}}@media(max-width:480px){.exam-instructions{padding:1rem}.btn-start-exam,.btn-submit-exam{width:100%;min-width:auto}.login-prompt-actions,.confirm-actions{flex-direction:column}.btn-primary,.btn-secondary{width:100%}}.btn-secondary{background:#6b7280;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-height:44px;touch-action:manipulation}.btn-secondary:hover{background:#4b5563;transform:translateY(-1px)}.btn-secondary:active{transform:translateY(0)}.btn-secondary:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.exit-confirm{padding:1rem}.exit-warning{text-align:center;margin-bottom:1.5rem;padding:1.5rem;background:#fef3c7;border:2px solid #f59e0b;border-radius:.5rem}.warning-icon{font-size:2rem;margin-bottom:.5rem}.exit-warning h3{font-size:1.25rem;font-weight:600;color:#92400e;margin-bottom:.75rem}.exit-warning p{color:#78350f;margin-bottom:.5rem;line-height:1.5}.btn-danger{background:#dc2626;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:.5rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-height:44px;touch-action:manipulation}.btn-danger:hover{background:#b91c1c;transform:translateY(-1px)}.btn-danger:active{transform:translateY(0)}.btn-danger:disabled{background:#9ca3af;cursor:not-allowed;transform:none}
