.quizsmart-app{--qs-primary:var(--wp--preset--color--primary,#2563eb);--qs-secondary:var(--wp--preset--color--secondary,#7c3aed);--qs-bg:#f8fafc;--qs-card:#fff;--qs-text:#0f172a;--qs-muted:#526176;--qs-border:#dbe3ee;width:100%;max-width:100%;color-scheme:light;color:var(--qs-text);font:inherit;line-height:1.5;box-sizing:border-box;overflow-wrap:anywhere}.quizsmart-app *{box-sizing:border-box}.quizsmart-app :where(img,svg,video){max-width:100%}.quizsmart-loading{min-height:240px;display:flex;align-items:center;justify-content:center;gap:12px}.quizsmart-spinner{width:24px;height:24px;border:3px solid #cbd5e1;border-top-color:var(--qs-primary);border-radius:50%;animation:qs-spin .8s linear infinite}@keyframes qs-spin{to{transform:rotate(360deg)}}
.quizsmart-auth,.qs-setup,.qs-result{width:min(980px,calc(100% - 32px));margin:32px auto}.quizsmart-auth-card,.qs-setup,.qs-result{border:1px solid var(--qs-border);border-radius:24px;background:var(--qs-card)!important;color:var(--qs-text)!important;padding:clamp(20px,4vw,40px);box-shadow:0 24px 70px rgba(15,23,42,.08)}.quizsmart-auth-card{max-width:520px;margin:auto}.quizsmart-auth input[type=text],.quizsmart-auth input[type=password]{width:100%;min-height:48px;border:1px solid var(--qs-border);border-radius:12px;padding:10px 12px;background:var(--qs-card);color:var(--qs-text)}.quizsmart-auth input[type=submit],.quizsmart-register-button,.qs-primary,.qs-secondary,.qs-submit{display:inline-flex;min-height:46px;align-items:center;justify-content:center;border:0;border-radius:12px;padding:10px 18px;font:inherit;cursor:pointer;text-decoration:none}.quizsmart-auth input[type=submit],.quizsmart-register-button,.qs-primary{background:linear-gradient(135deg,var(--qs-primary),var(--qs-secondary));color:#fff!important;-webkit-text-fill-color:#fff!important}.quizsmart-register-button{width:100%;margin-top:10px}.quizsmart-notice,.qs-error{border:1px solid #fda4af;background:#fff1f2;color:#9f1239;padding:16px;border-radius:14px;margin:20px 0}
.qs-setup-head,.qs-player-head,.qs-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.qs-setup-head span,.qs-brand span{font-size:12px;color:var(--qs-muted);text-transform:uppercase;letter-spacing:.12em}.qs-setup-head h2{margin:4px 0 0;color:var(--qs-text)!important}.qs-user{padding:9px 14px;border:1px solid var(--qs-border);border-radius:999px}.qs-setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}.qs-setup label>span,.qs-section-title{display:block;font-size:13px;color:var(--qs-muted)!important;margin-bottom:7px}.qs-setup select,.qs-setup input:not([type=checkbox]),.qs-readonly{width:100%;min-height:48px;border:1px solid var(--qs-border)!important;border-radius:12px;background:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;padding:10px 12px}.qs-setup select option{background:var(--qs-card);color:var(--qs-text)}.qs-subject-panel{margin:24px 0}.qs-subject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qs-subject-choice{display:flex!important;align-items:center;gap:9px;padding:13px;border:1px solid var(--qs-border);border-radius:12px}.qs-subject-choice>span{margin:0!important;color:var(--qs-text)!important}.qs-subject-choice input{width:18px!important;min-height:18px!important;accent-color:var(--qs-primary)}
.quizsmart-exam-active{overflow:hidden!important}.quizsmart-app.is-exam{position:fixed;inset:0;z-index:2147483000;background:var(--qs-bg);overflow:auto}.quizsmart-app:fullscreen{width:100%;height:100%;background:var(--qs-bg)}.qs-player{min-height:100vh;display:flex;flex-direction:column;background:var(--qs-bg)}.qs-player-head{position:sticky;top:0;z-index:5;min-height:72px;padding:12px clamp(14px,3vw,36px);border-bottom:1px solid var(--qs-border);background:var(--qs-card)}.qs-brand{display:flex;flex-direction:column}.qs-candidate{text-align:center}.qs-candidate span,.qs-candidate small{display:block}.qs-candidate small{color:var(--qs-muted)}.qs-timer{font-variant-numeric:tabular-nums;font-size:20px;padding:9px 14px;border-radius:12px;background:var(--qs-primary);color:#fff}.qs-timer.warning{background:#dc2626}.qs-subject-tabs{display:flex;gap:8px;overflow-x:auto;padding:12px clamp(14px,3vw,36px);border-bottom:1px solid var(--qs-border);background:var(--qs-card);scrollbar-width:thin}.qs-subject-tabs button{flex:0 0 auto;border:1px solid var(--qs-border);border-radius:999px;background:var(--qs-card);color:var(--qs-text);padding:9px 14px;cursor:pointer}.qs-subject-tabs button.active{border-color:var(--qs-primary);background:var(--qs-primary);color:#fff}.qs-subject-tabs small{margin-left:5px;opacity:.8}.qs-question-layout{width:min(1400px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;padding:clamp(14px,2vw,28px);flex:1}.qs-question-card,.qs-review{min-width:0;border:1px solid var(--qs-border);border-radius:20px;background:var(--qs-card);padding:clamp(16px,2.5vw,30px)}.qs-review{align-self:start;position:sticky;top:118px}.qs-question-meta{display:flex;justify-content:space-between;color:var(--qs-muted);font-size:13px}.qs-passage{margin:18px 0;padding:16px;border-left:4px solid var(--qs-primary);background:color-mix(in srgb,var(--qs-primary) 7%,var(--qs-card));border-radius:10px}.qs-question-text{font-size:clamp(17px,2vw,22px);margin:22px 0;overflow-x:auto}.qs-question-text table{display:block;max-width:100%;overflow-x:auto}.qs-media{display:block;width:100%;border:0;background:transparent;cursor:zoom-in;margin:12px 0}.qs-media img{max-height:360px;object-fit:contain}.qs-media.zoomed{position:fixed;inset:0;z-index:20;background:rgba(2,6,23,.92);display:flex;align-items:center;justify-content:center;cursor:zoom-out}.qs-media.zoomed img{max-width:94vw;max-height:94vh}.qs-options{display:grid;gap:12px}.qs-option{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--qs-border);border-radius:15px;padding:14px;cursor:pointer;background:var(--qs-card);color:var(--qs-text)}.qs-option:hover,.qs-option.selected{border-color:var(--qs-primary);background:color-mix(in srgb,var(--qs-primary) 8%,var(--qs-card))}.qs-option input{accent-color:var(--qs-primary)}.qs-option-key{display:flex;width:32px;height:32px;align-items:center;justify-content:center;border-radius:9px;background:color-mix(in srgb,var(--qs-primary) 13%,var(--qs-card));font-weight:700}.qs-number-grid{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:9px}.qs-number-grid button{display:inline-flex!important;width:100%;min-width:42px;min-height:42px;aspect-ratio:1;align-items:center;justify-content:center;margin:0!important;padding:0!important;border:1px solid var(--qs-border)!important;border-radius:11px;background:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;font-size:14px!important;font-weight:600!important;line-height:1!important;font-variant-numeric:tabular-nums;white-space:nowrap!important;word-break:normal!important;writing-mode:horizontal-tb!important;cursor:pointer}.qs-number-grid button.answered{background:color-mix(in srgb,var(--qs-primary) 18%,var(--qs-card))!important;border-color:var(--qs-primary)!important}.qs-number-grid button.current{background:var(--qs-primary)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}.qs-actions{position:sticky;bottom:0;z-index:6;padding:12px clamp(14px,3vw,36px);border-top:1px solid var(--qs-border);background:var(--qs-card)}.qs-secondary{border:1px solid var(--qs-border);background:var(--qs-card);color:var(--qs-text)}.qs-submit{background:#dc2626;color:#fff}.qs-primary:disabled{opacity:.6;cursor:wait}
.qs-modal{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(2,6,23,.76)}.qs-modal[hidden]{display:none}.qs-modal-card{width:min(560px,100%);max-height:85vh;overflow:auto;border:1px solid var(--qs-border);border-radius:20px;background:var(--qs-card)!important;color:var(--qs-text)!important;padding:24px}.qs-modal-card :where(h1,h2,h3,h4,h5,h6,p,span){color:var(--qs-text)!important}.qs-skipped-list{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.qs-skipped-list button,.qs-modal-card .qs-secondary{border:1px solid var(--qs-border);border-radius:8px;background:var(--qs-card)!important;color:var(--qs-text)!important;padding:7px 10px}.qs-modal-card .qs-submit{background:#dc2626!important;color:#fff!important}.qs-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.qs-result{width:min(1180px,calc(100% - 32px));max-width:1180px;text-align:left}.qs-result-head{text-align:center}.qs-result-head>span,.qs-result-head p{color:var(--qs-muted)!important}.qs-result-head h2{margin:8px 0 2px!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;font-size:clamp(48px,10vw,76px);line-height:1}.qs-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.qs-result-grid>div{border:1px solid var(--qs-border);border-radius:14px;padding:16px;background:var(--qs-bg)}.qs-result-grid small,.qs-result-grid strong{display:block}.qs-result-grid small{color:var(--qs-muted)}.qs-result-grid strong{margin-top:6px;color:var(--qs-text);font-size:22px}.qs-result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 16px}.qs-result-toolbar h3,.qs-result-toolbar p{margin:0}.qs-result-toolbar p{color:var(--qs-muted)}.qs-result-review{display:grid;gap:16px}.qs-result-question{border:1px solid var(--qs-border);border-left-width:5px;border-radius:16px;padding:20px;background:var(--qs-card);overflow:hidden}.qs-result-question.is-correct{border-left-color:#22c55e}.qs-result-question.is-wrong{border-left-color:#ef4444}.qs-result-question.is-skipped{border-left-color:#f59e0b}.qs-result-question>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.qs-result-question>header>div{display:flex;gap:10px}.qs-result-question>header small{color:var(--qs-muted)}.qs-result-status{border-radius:999px;padding:6px 10px;font-size:12px}.is-correct .qs-result-status{background:#dcfce7;color:#166534!important}.is-wrong .qs-result-status{background:#fee2e2;color:#991b1b!important}.is-skipped .qs-result-status{background:#fef3c7;color:#92400e!important}.qs-result-question-text{font-size:clamp(16px,2vw,19px);overflow-x:auto}.qs-result-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.qs-result-answer{border:1px solid var(--qs-border);border-radius:12px;padding:12px;background:var(--qs-bg)}.qs-result-answer.is-correct{border-color:#22c55e}.qs-result-answer.is-wrong{border-color:#ef4444}.qs-result-answer.is-skipped{border-color:#f59e0b}.qs-result-answer-label{display:block;margin-bottom:8px;color:var(--qs-muted)!important;font-size:12px;font-weight:600;text-transform:uppercase}.qs-result-answer>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px}.qs-result-answer b{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:8px;background:var(--qs-card)}.qs-result-explanation{margin-top:14px;padding:14px;border:1px solid var(--qs-border);border-radius:12px;background:color-mix(in srgb,var(--qs-primary) 7%,var(--qs-card))}.qs-result-explanation>span{display:block;margin-bottom:6px;color:var(--qs-primary)!important;font-size:12px;font-weight:700;text-transform:uppercase}.qs-result-footer{display:flex;justify-content:center;margin-top:24px}
@media(max-width:800px){.qs-question-layout{grid-template-columns:1fr}.qs-review{position:static;order:-1;padding:14px}.qs-number-grid{display:flex;overflow-x:auto;padding:2px 2px 8px}.qs-number-grid button{flex:0 0 42px;width:42px}.qs-candidate{display:none}.qs-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qs-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qs-result-toolbar{align-items:stretch;flex-direction:column}.qs-result-toolbar .qs-primary{width:100%}.qs-result-answers{grid-template-columns:1fr}}
@media(max-width:520px){.quizsmart-auth,.qs-setup,.qs-result{width:calc(100% - 16px);margin:8px auto;padding:16px;border-radius:16px}.qs-setup-grid,.qs-subject-grid{grid-template-columns:1fr}.qs-player-head{min-height:62px}.qs-timer{font-size:16px}.qs-actions{display:grid;grid-template-columns:1fr 1fr;padding-bottom:max(12px,env(safe-area-inset-bottom))}.qs-submit{grid-column:1/-1;grid-row:2}.qs-modal{padding:10px}.qs-modal-card{padding:18px}.qs-modal-actions{flex-direction:column}.qs-result-question{padding:14px}.qs-result-question>header{align-items:flex-start}.qs-result-question>header>div{flex-direction:column;gap:2px}.qs-result-footer .qs-primary{width:100%}.qs-option{padding:11px}}
@media(prefers-color-scheme:dark){.quizsmart-app{--qs-bg:#07101f;--qs-card:#111827;--qs-text:#f8fafc;--qs-muted:#cbd5e1;--qs-border:#334155;color-scheme:dark}}html[data-theme=dark] .quizsmart-app,html[data-resolved-theme=dark] .quizsmart-app,body.dark-mode .quizsmart-app,body.wp-dark-mode-active .quizsmart-app{--qs-bg:#07101f;--qs-card:#111827;--qs-text:#f8fafc;--qs-muted:#cbd5e1;--qs-border:#334155;color-scheme:dark}
html[data-theme=light] .quizsmart-app,html[data-resolved-theme=light] .quizsmart-app,body.light-mode .quizsmart-app{--qs-bg:#f8fafc;--qs-card:#fff;--qs-text:#0f172a;--qs-muted:#526176;--qs-border:#dbe3ee;color-scheme:light}

/* Authoritative contrast layer: prevent WordPress themes from recoloring CBT content. */
.quizsmart-app,.quizsmart-app :where(section,article,header,main,aside,footer,nav,div,form,label){border-color:var(--qs-border)}
.quizsmart-app :where(h1,h2,h3,h4,h5,h6,p,label,li,dt,dd,small,strong,em,b,span,div){color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important}
.quizsmart-app :where(.qs-setup-head>div>span,.qs-brand>span,.qs-candidate small,.qs-section-title,.qs-question-meta,.qs-result-head>span,.qs-result-head>p,.qs-result-toolbar p,.qs-result-grid small,.qs-result-answer-label,.qs-result-question>header small){color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important}
.quizsmart-app :where(.quizsmart-auth-card,.qs-setup,.qs-question-card,.qs-review,.qs-actions,.qs-subject-tabs,.qs-modal-card,.qs-result,.qs-result-question){background-color:var(--qs-card)!important;color:var(--qs-text)!important}
.quizsmart-app :where(.qs-player,.quizsmart-app.is-exam){background-color:var(--qs-bg)!important;color:var(--qs-text)!important}
.quizsmart-app .qs-player-head{background-color:var(--qs-card)!important;color:var(--qs-text)!important}
.quizsmart-app :where(input:not([type=checkbox]):not([type=radio]),select,textarea,.qs-readonly){border-color:var(--qs-border)!important;background-color:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;caret-color:var(--qs-text)!important;opacity:1!important}
.quizsmart-app :where(input,textarea)::placeholder{color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;opacity:1!important}
.quizsmart-app select option{background-color:var(--qs-card)!important;color:var(--qs-text)!important}
.quizsmart-app input[type=checkbox],.quizsmart-app input[type=radio]{accent-color:var(--qs-primary)!important}
.quizsmart-app :where(.qs-question-text,.qs-question-text *,.qs-passage,.qs-passage *,.qs-option,.qs-option *,.qs-result-question-text,.qs-result-question-text *,.qs-result-explanation,.qs-result-explanation>div,.qs-result-explanation>div *,.qs-result-answer,.qs-result-answer>div,.qs-result-answer>div *){color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important}
.quizsmart-app .qs-option{background-color:var(--qs-card)!important;border-color:var(--qs-border)!important}.quizsmart-app .qs-option:hover,.quizsmart-app .qs-option.selected{background-color:color-mix(in srgb,var(--qs-primary) 12%,var(--qs-card))!important;border-color:var(--qs-primary)!important}
.quizsmart-app :where(.qs-primary,.quizsmart-register-button,.quizsmart-auth input[type=submit],.qs-subject-tabs button.active,.qs-timer){color:#fff!important;-webkit-text-fill-color:#fff!important}.quizsmart-app .qs-primary{background:linear-gradient(135deg,var(--qs-primary),var(--qs-secondary))!important}.quizsmart-app .qs-subject-tabs button.active,.quizsmart-app .qs-timer{background-color:var(--qs-primary)!important}.quizsmart-app .qs-timer.warning{background-color:#dc2626!important}
.quizsmart-app .qs-subject-tabs button.active small{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
.quizsmart-app .qs-secondary{border-color:var(--qs-border)!important;background-color:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important}.quizsmart-app .qs-submit{background-color:#dc2626!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.quizsmart-app .qs-number-grid button{background-color:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important}.quizsmart-app .qs-number-grid button.answered{background-color:color-mix(in srgb,var(--qs-primary) 20%,var(--qs-card))!important}.quizsmart-app .qs-number-grid button.current{background-color:var(--qs-primary)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.quizsmart-app .qs-result-status{color:inherit!important;-webkit-text-fill-color:currentColor!important}.quizsmart-app .is-correct .qs-result-status{background-color:#dcfce7!important;color:#166534!important;-webkit-text-fill-color:#166534!important}.quizsmart-app .is-wrong .qs-result-status{background-color:#fee2e2!important;color:#991b1b!important;-webkit-text-fill-color:#991b1b!important}.quizsmart-app .is-skipped .qs-result-status{background-color:#fef3c7!important;color:#92400e!important;-webkit-text-fill-color:#92400e!important}
.quizsmart-app .qs-result-explanation>span{color:var(--qs-primary)!important;-webkit-text-fill-color:var(--qs-primary)!important}.quizsmart-app .qs-result-answer b{background-color:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important}
.quizsmart-app :where(.quizsmart-notice,.qs-error){border-color:#fda4af!important;background-color:#fff1f2!important;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important}.quizsmart-app :where(.quizsmart-notice,.qs-error) *{color:#9f1239!important;-webkit-text-fill-color:#9f1239!important}
@media(prefers-color-scheme:dark){.quizsmart-app :where(.quizsmart-notice,.qs-error){border-color:#fb7185!important;background-color:#4c1625!important;color:#ffe4e6!important;-webkit-text-fill-color:#ffe4e6!important}.quizsmart-app :where(.quizsmart-notice,.qs-error) *{color:#ffe4e6!important;-webkit-text-fill-color:#ffe4e6!important}}
html[data-theme=dark] .quizsmart-app :where(.quizsmart-notice,.qs-error),html[data-resolved-theme=dark] .quizsmart-app :where(.quizsmart-notice,.qs-error),body.dark-mode .quizsmart-app :where(.quizsmart-notice,.qs-error),body.wp-dark-mode-active .quizsmart-app :where(.quizsmart-notice,.qs-error){border-color:#fb7185!important;background-color:#4c1625!important;color:#ffe4e6!important;-webkit-text-fill-color:#ffe4e6!important}

/* Guest account portal. */
.quizsmart-auth{--qs-soft:#f1f5f9;width:min(1040px,calc(100% - 32px));margin:32px auto;border:1px solid var(--qs-border)!important;border-radius:26px;background:var(--qs-bg)!important;color:var(--qs-text)!important;padding:clamp(16px,3vw,30px);box-shadow:0 26px 80px rgba(15,23,42,.12);box-sizing:border-box}.quizsmart-auth *{box-sizing:border-box}.quizsmart-auth-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}.quizsmart-auth-head img{width:48px;height:48px;flex:0 0 48px}.quizsmart-auth-head span{display:block;margin-bottom:2px;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:12px;letter-spacing:.1em;text-transform:uppercase}.quizsmart-auth-head h2{margin:0;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;font-size:clamp(22px,3vw,30px);line-height:1.2}.quizsmart-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.quizsmart-auth-grid.is-single{grid-template-columns:minmax(0,560px);justify-content:center}.quizsmart-auth-card{min-width:0;max-width:none;margin:0;border:1px solid var(--qs-border)!important;border-radius:18px;background:var(--qs-card)!important;color:var(--qs-text)!important;padding:clamp(18px,3vw,28px);box-shadow:0 10px 30px rgba(15,23,42,.06)}.quizsmart-auth-card-head{margin-bottom:20px}.quizsmart-auth-card-head span{display:block;margin-bottom:4px;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.quizsmart-auth-card-head h3{margin:0;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;font-size:22px}.quizsmart-auth form{margin:0}.quizsmart-auth form p{margin:0 0 16px}.quizsmart-auth form label,.quizsmart-auth-field label{display:block;margin-bottom:7px;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;font-size:14px;font-weight:600}.quizsmart-auth input[type=text],.quizsmart-auth input[type=email],.quizsmart-auth input[type=password]{display:block;width:100%!important;max-width:none!important;min-height:50px!important;margin:0!important;border:2px solid var(--qs-border)!important;border-radius:12px!important;outline:0;background:var(--qs-soft)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;caret-color:var(--qs-text)!important;padding:11px 13px!important;font:inherit!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.05)!important;opacity:1!important}.quizsmart-auth input[type=text]:focus,.quizsmart-auth input[type=email]:focus,.quizsmart-auth input[type=password]:focus{border-color:var(--qs-primary)!important;background:var(--qs-card)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--qs-primary) 20%,transparent)!important}.quizsmart-auth .login-remember label{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:500}.quizsmart-auth .login-remember input{width:18px;height:18px;margin:0;accent-color:var(--qs-primary)}.quizsmart-auth .login-submit{margin-top:20px}.quizsmart-auth input[type=submit],.quizsmart-auth .quizsmart-register-button{display:inline-flex;width:100%!important;min-height:50px!important;align-items:center;justify-content:center;margin:0!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--qs-primary),var(--qs-secondary))!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding:10px 18px!important;font:600 15px/1.2 inherit!important;cursor:pointer}.quizsmart-auth-link{display:inline-flex;margin-top:2px;color:var(--qs-primary)!important;-webkit-text-fill-color:var(--qs-primary)!important;font-weight:600;text-decoration:none}.quizsmart-auth-link:hover{text-decoration:underline}.quizsmart-auth-field{margin-bottom:16px}.quizsmart-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.quizsmart-auth-alert{margin-bottom:18px;border:1px solid #fda4af!important;border-radius:12px;background:#fff1f2!important;color:#9f1239!important;-webkit-text-fill-color:#9f1239!important;padding:13px 15px;font-weight:600}
html[data-theme=dark] .quizsmart-auth,html[data-resolved-theme=dark] .quizsmart-auth,body.dark-mode .quizsmart-auth,body.wp-dark-mode-active .quizsmart-auth{--qs-soft:#1e293b;--qs-border:#475569}html[data-theme=light] .quizsmart-auth,html[data-resolved-theme=light] .quizsmart-auth,body.light-mode .quizsmart-auth{--qs-soft:#f1f5f9}
html[data-theme=dark] .quizsmart-auth .quizsmart-auth-link,html[data-resolved-theme=dark] .quizsmart-auth .quizsmart-auth-link,body.dark-mode .quizsmart-auth .quizsmart-auth-link,body.wp-dark-mode-active .quizsmart-auth .quizsmart-auth-link{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}
@media(prefers-color-scheme:dark){.quizsmart-auth{--qs-soft:#1e293b;--qs-border:#475569}}
@media(prefers-color-scheme:dark){.quizsmart-auth .quizsmart-auth-link{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}}
html[data-theme=light] .quizsmart-auth,html[data-resolved-theme=light] .quizsmart-auth,body.light-mode .quizsmart-auth{--qs-soft:#f1f5f9;--qs-border:#dbe3ee}html[data-theme=light] .quizsmart-auth .quizsmart-auth-link,html[data-resolved-theme=light] .quizsmart-auth .quizsmart-auth-link,body.light-mode .quizsmart-auth .quizsmart-auth-link{color:#1d4ed8!important;-webkit-text-fill-color:#1d4ed8!important}
@media(max-width:800px){.quizsmart-auth-grid{grid-template-columns:1fr}}
@media(max-width:520px){.quizsmart-auth{width:calc(100% - 16px);margin:8px auto;padding:14px;border-radius:18px}.quizsmart-auth-head{align-items:flex-start}.quizsmart-auth-head img{width:42px;height:42px;flex-basis:42px}.quizsmart-auth-card{padding:18px;border-radius:15px}}

/* Registration profile and live password strength. */
.quizsmart-auth-grid{align-items:start}.quizsmart-register-card{order:-1}.quizsmart-auth-card#quizsmart-signin{scroll-margin-top:24px}.quizsmart-auth-field label>span{display:inline;margin-left:4px;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:12px;font-weight:500}.quizsmart-auth input[type=date]{display:block;width:100%!important;max-width:none!important;min-height:50px!important;margin:0!important;border:2px solid var(--qs-border)!important;border-radius:12px!important;outline:0;background:var(--qs-soft)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;caret-color:var(--qs-text)!important;padding:11px 13px!important;font:inherit!important;color-scheme:inherit;box-shadow:inset 0 1px 2px rgba(15,23,42,.05)!important;opacity:1!important}.quizsmart-auth input[type=date]:focus{border-color:var(--qs-primary)!important;background:var(--qs-card)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--qs-primary) 20%,transparent)!important}.quizsmart-auth :where(input,textarea)::placeholder{color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;opacity:1!important}.quizsmart-password-control{position:relative}.quizsmart-password-control input{padding-right:72px!important}.quizsmart-password-toggle{position:absolute;top:50%;right:7px;min-width:56px;min-height:36px;transform:translateY(-50%);border:1px solid var(--qs-border)!important;border-radius:9px!important;background:var(--qs-card)!important;color:var(--qs-text)!important;-webkit-text-fill-color:var(--qs-text)!important;padding:6px 9px!important;font:600 12px/1 inherit!important;cursor:pointer}.quizsmart-password-toggle:focus-visible{outline:3px solid color-mix(in srgb,var(--qs-primary) 28%,transparent);outline-offset:1px}.quizsmart-password-strength{margin:2px 0 14px}.quizsmart-strength-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:8px}.quizsmart-strength-track span{height:5px;border-radius:999px;background:var(--qs-border)!important}.quizsmart-password-strength strong{display:block;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:12px;font-weight:600}.quizsmart-password-strength strong span{color:inherit!important;-webkit-text-fill-color:inherit!important}.quizsmart-password-strength[data-score="1"] .quizsmart-strength-track span:nth-child(1),.quizsmart-password-strength[data-score="2"] .quizsmart-strength-track span:nth-child(-n+1){background:#ef4444!important}.quizsmart-password-strength[data-score="2"] .quizsmart-strength-track span:nth-child(2),.quizsmart-password-strength[data-score="3"] .quizsmart-strength-track span:nth-child(-n+2){background:#f59e0b!important}.quizsmart-password-strength[data-score="3"] .quizsmart-strength-track span:nth-child(3),.quizsmart-password-strength[data-score="4"] .quizsmart-strength-track span:nth-child(-n+3){background:#3b82f6!important}.quizsmart-password-strength[data-score="4"] .quizsmart-strength-track span:nth-child(4),.quizsmart-password-strength[data-score="5"] .quizsmart-strength-track span{background:#16a34a!important}.quizsmart-password-rules{display:grid;gap:8px;margin:0 0 20px!important;padding:0!important;list-style:none!important}.quizsmart-password-rules li{display:flex;align-items:flex-start;gap:9px;margin:0!important;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:13px;line-height:1.35}.quizsmart-password-rules li>span{display:inline-flex;flex:0 0 18px;width:18px;height:18px;align-items:center;justify-content:center;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-weight:700;line-height:1}.quizsmart-password-rules li.is-valid,.quizsmart-password-rules li.is-valid>span{color:#15803d!important;-webkit-text-fill-color:#15803d!important}.quizsmart-auth-switch{margin:16px 0 0!important;text-align:center;color:var(--qs-muted)!important;-webkit-text-fill-color:var(--qs-muted)!important;font-size:14px}.quizsmart-auth-switch a{color:#1d4ed8!important;-webkit-text-fill-color:#1d4ed8!important;font-weight:700;text-decoration:none}.quizsmart-auth-switch a:hover{text-decoration:underline}
html[data-theme=dark] .quizsmart-password-rules li.is-valid,html[data-theme=dark] .quizsmart-password-rules li.is-valid>span,html[data-resolved-theme=dark] .quizsmart-password-rules li.is-valid,html[data-resolved-theme=dark] .quizsmart-password-rules li.is-valid>span,body.dark-mode .quizsmart-password-rules li.is-valid,body.dark-mode .quizsmart-password-rules li.is-valid>span,body.wp-dark-mode-active .quizsmart-password-rules li.is-valid,body.wp-dark-mode-active .quizsmart-password-rules li.is-valid>span{color:#86efac!important;-webkit-text-fill-color:#86efac!important}html[data-theme=dark] .quizsmart-auth-switch a,html[data-resolved-theme=dark] .quizsmart-auth-switch a,body.dark-mode .quizsmart-auth-switch a,body.wp-dark-mode-active .quizsmart-auth-switch a{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}
@media(prefers-color-scheme:dark){.quizsmart-password-rules li.is-valid,.quizsmart-password-rules li.is-valid>span{color:#86efac!important;-webkit-text-fill-color:#86efac!important}.quizsmart-auth-switch a{color:#93c5fd!important;-webkit-text-fill-color:#93c5fd!important}}
html[data-theme=light] .quizsmart-password-rules li.is-valid,html[data-theme=light] .quizsmart-password-rules li.is-valid>span,html[data-resolved-theme=light] .quizsmart-password-rules li.is-valid,html[data-resolved-theme=light] .quizsmart-password-rules li.is-valid>span,body.light-mode .quizsmart-password-rules li.is-valid,body.light-mode .quizsmart-password-rules li.is-valid>span{color:#15803d!important;-webkit-text-fill-color:#15803d!important}html[data-theme=light] .quizsmart-auth-switch a,html[data-resolved-theme=light] .quizsmart-auth-switch a,body.light-mode .quizsmart-auth-switch a{color:#1d4ed8!important;-webkit-text-fill-color:#1d4ed8!important}
.quizsmart-password-strength[data-score="1"] .quizsmart-strength-track span:nth-child(-n+1),.quizsmart-password-strength[data-score="2"] .quizsmart-strength-track span:nth-child(-n+2){background:#ef4444!important}.quizsmart-password-strength[data-score="3"] .quizsmart-strength-track span:nth-child(-n+3){background:#f59e0b!important}.quizsmart-password-strength[data-score="4"] .quizsmart-strength-track span:nth-child(-n+4){background:#3b82f6!important}.quizsmart-password-strength[data-score="5"] .quizsmart-strength-track span{background:#16a34a!important}
