@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");:root{color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg:#f6f2ea;--bg-alt:#f0ece2;--card:rgba(255,255,255,0.92);--stroke:#e4ded4;--text:#1c1f26;--muted:#5c6574;--primary:#0f6a7b;--primary-strong:#0b4d59;--accent:#e3a45b;--accent-soft:#fff1df;--success:#2f855a;--danger:#c0392b;--user-header-h:0px}*{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:var(--bg);background-image:radial-gradient(circle at top left,#fdf8f1 0,transparent 45%),radial-gradient(circle at 80% 10%,#e9f0f2 0,transparent 40%),radial-gradient(circle at 20% 80%,#f6efe6 0,transparent 45%);color:var(--text);font-family:Plus Jakarta Sans,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font-family:inherit}::selection{background:#cfe6e3}.app{max-width:1200px;margin:0 auto;padding:clamp(1.5rem,2vw + 1rem,3rem);display:flex;flex-direction:column;gap:1.25rem}.app.in-progress{padding-top:1.25rem;gap:1rem}.app.in-progress .hero{display:none}.hero{align-items:stretch;gap:1.5rem}.hero,.hero-actions{display:flex;flex-wrap:wrap}.hero-actions{margin-left:auto;align-items:center;gap:.75rem}.user-header{position:relative;z-index:2}.user-greeting{font-weight:600;color:var(--text);white-space:nowrap}.brand{display:flex;gap:.6rem;align-items:flex-start;flex:1 1 480px;flex-wrap:wrap}.brand-logo{width:36px;height:36px;border-radius:10px;padding:0}.brand-logo img{width:100%;height:100%;display:block;object-fit:contain}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;color:var(--primary);font-weight:600;margin:0 0 .5rem}.brand-heading{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-bottom:.5rem}.brand-heading .eyebrow{margin:0}.hero-title{font-family:Space Grotesk,Segoe UI,sans-serif;font-size:clamp(2.2rem,3vw + 1rem,3.3rem);margin:0 0 .75rem}.hero-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;grid-column-gap:.75rem;column-gap:.75rem;grid-row-gap:.35rem;row-gap:.35rem;margin-bottom:.75rem;width:100%}.hero-title-row .hero-title{margin-bottom:0;min-width:0}.hero-title-row .hero-actions{margin-left:0;justify-self:end;flex-wrap:nowrap}.hero .brand>div{flex:1 1;min-width:0}.hero-subtitle{margin:0;color:var(--muted);max-width:36rem;line-height:1.6}.hero-card{flex:0.75 1 240px;background:var(--card);border-radius:24px;border:1px solid var(--stroke);padding:1rem;position:relative;overflow:hidden;box-shadow:0 20px 40px rgba(20,31,50,.08)}.hero-card:after{content:"";position:absolute;top:-40px;right:-30px;width:140px;height:140px;background:radial-gradient(circle,rgba(227,164,91,.3),transparent 70%)}.hero-card h2{margin:0 0 1rem;font-family:Space Grotesk,Segoe UI,sans-serif;font-size:1rem;color:var(--muted)}.hero-list{display:grid;grid-gap:.6rem;gap:.6rem}.hero-list div{display:grid;grid-template-columns:auto 1fr;grid-gap:.6rem;gap:.6rem;align-items:start}.hero-list p{margin:0;font-size:.9rem;color:var(--muted)}.hero-list span{width:28px;height:28px;border-radius:999px;background:var(--accent-soft);color:#90571c;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.setup-grid{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}.setup-grid,.setup-main{display:grid;grid-gap:1.5rem;gap:1.5rem;align-items:stretch}.setup-main{grid-template-rows:auto minmax(0,1fr)}.setup-aside{display:grid;grid-gap:1.5rem;gap:1.5rem;align-items:stretch;grid-template-rows:minmax(0,1fr) auto}.panel{background:var(--card);border:1px solid var(--stroke);border-radius:26px;padding:1.5rem;box-shadow:0 16px 40px rgba(24,32,46,.08)}.tema-panel{display:flex;flex-direction:column;min-height:0}.panel-header{display:flex;justify-content:center;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;position:relative}.panel-header>div{width:100%;text-align:center}.panel-header>.btn{position:absolute;right:0;top:0}.panel-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.tema-panel .panel-header{margin-bottom:.5rem}.config-panel .panel-header{margin-bottom:.1rem}.panel-title{margin:0 0 .35rem;font-family:Space Grotesk,Segoe UI,sans-serif;font-size:1.5rem;text-align:center}.panel-subtitle{margin:0;color:var(--muted)}.panel-subtitle--justify{text-align:justify;text-justify:inter-word;font-size:.95rem}.panel-collapsible{padding:0}.results-collapsible{border:1px solid var(--stroke);border-radius:18px;background:#fff;margin-top:1rem}.results-collapsible+.results-collapsible{margin-top:.75rem}.results-collapsible .panel-collapsible-summary{padding:.9rem 1rem}.results-collapsible .panel-collapsible-summary .panel-title{font-size:1.15rem}.results-collapsible .panel-collapsible-body{padding:0 1rem 1rem}.panel-collapsible-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.5rem;cursor:pointer;list-style:none}.panel-collapsible-summary::-webkit-details-marker{display:none}.panel-collapsible-summary .panel-title{margin:0}.panel-collapsible-body{padding:0 1.5rem 1.5rem}.full-review-collapsible:not([open]){display:none}.panel-collapsible-cta{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:var(--primary);white-space:nowrap}.panel-collapsible-cta:after{content:"";width:8px;height:8px;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg);transition:transform .2s ease}.panel-collapsible-cta .cta-close{display:none}.full-review-collapsible[open] .panel-collapsible-cta:after{transform:rotate(-135deg)}.full-review-collapsible[open] .panel-collapsible-cta .cta-open{display:none}.full-review-collapsible[open] .panel-collapsible-cta .cta-close{display:inline}.panel-count{font-weight:600;color:var(--muted)}.text-justified{text-align:justify}.panel-subtitle p{margin:0 0 1rem}.panel-subtitle p:last-child{margin-bottom:0}.panel-subtitle ol{margin:0 0 1rem 1.25rem;padding:0}.panel-subtitle li{margin-bottom:.5rem}.panel-subtitle li:last-child{margin-bottom:0}.tema-groups{display:grid;grid-gap:1.25rem;gap:1.25rem;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}.tema-group{background:#fff;border-radius:20px;border:1px solid var(--stroke);padding:.6rem .8rem}.tema-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:0;margin-bottom:0}.tema-header>div{text-align:center;flex:1 1}.tema-header h3{margin:0;font-family:Space Grotesk,Segoe UI,sans-serif;font-size:1.1rem}.tema-header p{margin:0;color:var(--muted);font-size:.9rem}.tema-header .btn-ghost{padding:.5rem .95rem;font-size:.9rem}.tema-list{display:grid;grid-gap:.1rem;gap:.1rem}.exam-groups{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.exam-list{display:grid;grid-gap:.5rem;gap:.5rem;margin-top:.4rem}.exam-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.45rem .4rem;border-radius:10px;background:rgba(15,106,123,.04)}.exam-info{display:grid;grid-gap:.15rem;gap:.15rem}.exam-title{font-weight:600}.exam-meta{color:var(--muted);font-size:.85rem}.tema-item{position:relative;display:flex;align-items:flex-start;gap:.75rem;padding:.45rem .3rem;border-radius:10px;cursor:pointer;transition:background .2s ease}.tema-item:hover{background:rgba(15,106,123,.06)}.tema-item input{position:absolute;opacity:0;pointer-events:none}.tema-check{width:16px;height:16px;border-radius:6px;border:2px solid rgba(15,106,123,.35);display:inline-flex;align-items:center;justify-content:center;margin-top:2px}.tema-item input:checked+.tema-check{background:var(--primary);border-color:var(--primary)}.tema-item input:checked+.tema-check:after{content:"";width:8px;height:8px;background:#fff;border-radius:3px}.tema-text{display:grid;grid-gap:.2rem;gap:.2rem;font-weight:600;font-size:.92rem;color:var(--text)}.tema-count{font-size:.72rem;color:var(--muted);font-weight:500}.config-panel{display:flex;flex-direction:column;gap:.6rem;height:-moz-fit-content;height:fit-content}.setup-aside .config-panel{position:static;height:100%;min-height:0;gap:.9rem}.config-panel.panel{padding:1.1rem}.setup-aside .config-panel.panel{padding-bottom:.75rem}.setup-aside .config-panel .empty,.setup-aside .config-panel .helper,.setup-aside .config-panel .notice,.setup-aside .config-panel .panel-subtitle{line-height:1.5}.form-block{display:grid;grid-gap:.35rem;gap:.35rem}.form-block.form-block-spaced{margin-top:1rem}.form-block label{font-weight:600}.form-block input,.form-block select{padding:.75rem .9rem;border-radius:12px;border:1px solid var(--stroke);background:#fff;font-size:1rem}.form-block input:focus,.form-block select:focus{outline:2px solid rgba(15,106,123,.35);border-color:var(--primary)}.helper{margin:0;font-size:.85rem;color:var(--muted)}.summary-block{display:grid;grid-gap:.4rem;gap:.4rem;padding:1rem;border-radius:16px;background:var(--bg-alt);border:1px dashed rgba(15,106,123,.2);font-size:.95rem}.activation-calendar-month{margin:0;font-size:.85rem;color:var(--muted);text-transform:capitalize}.activation-months{display:grid;grid-gap:.9rem;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.activation-month{display:grid;grid-gap:.35rem;gap:.35rem}.activation-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:.35rem;gap:.35rem}.activation-day{border:1px solid var(--stroke);border-radius:10px;padding:.35rem .2rem;display:grid;grid-gap:.2rem;gap:.2rem;align-content:center;justify-items:center;min-height:44px;background:#fff;font-size:.75rem;color:var(--text)}.activation-day--label{border:none;background:transparent;font-weight:600;color:var(--muted);font-size:.7rem;min-height:auto;padding:0}.activation-day--empty{border:none;background:transparent;min-height:44px}.activation-day-number{font-weight:600;font-size:.75rem}.activation-day-count{font-weight:700;font-size:.8rem;color:var(--primary)}.activation-day[data-count="0"] .activation-day-count{color:var(--muted);font-weight:500}.results-action-grid{display:grid;grid-gap:.9rem;gap:.9rem;margin-top:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.results-action-grid--stacked{grid-template-columns:1fr}.results-action-button{border:1px solid var(--stroke);border-radius:18px;padding:1rem 2.75rem 1rem 1.2rem;background:var(--card);display:flex;align-items:center;justify-content:flex-start;text-align:left;position:relative;overflow:hidden;cursor:pointer;font-weight:700;font-size:1rem;color:var(--primary);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.results-action-button:before{content:"→";position:absolute;right:1.1rem;top:50%;transform:translateY(-50%);font-size:1.1rem;color:rgba(15,106,123,.7);transition:transform .2s ease,color .2s ease;z-index:1}.results-action-button:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(15,106,123,.08),transparent 60%);opacity:0;transition:opacity .2s ease;pointer-events:none}.results-action-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(12,38,48,.12);border-color:rgba(15,106,123,.35)}.results-action-button:hover:after{opacity:1}.results-action-button:hover:before{transform:translate(4px,-50%);color:var(--primary)}.results-action-button:focus-visible{outline:2px solid rgba(15,106,123,.35);outline-offset:2px}.results-action-label{position:relative;z-index:1}.summary-row{display:flex;justify-content:space-between;font-weight:600;font-size:.95rem}.weekly-summary{display:grid;grid-gap:.35rem;gap:.35rem;padding:.4rem 0;border-top:1px dashed rgba(15,106,123,.2)}.weekly-summary:first-child{border-top:none;padding-top:0}.weekly-summary-title{margin:0;font-weight:700}.weekly-summary-items{display:grid;grid-gap:.3rem;gap:.3rem}.chip-grid{display:flex;flex-wrap:wrap;gap:.4rem;min-height:2.4rem}.chip{padding:.35rem .75rem;border-radius:999px;background:#fff;border:1px solid var(--stroke);font-size:.85rem}.empty{margin:0;color:var(--muted);font-size:.9rem}.btn{border:1px solid var(--stroke);background:#fff;color:var(--text);padding:.7rem 1.3rem;border-radius:999px;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(12,38,48,.12)}.btn:disabled{cursor:not-allowed;opacity:.6;box-shadow:none;transform:none}.btn-primary{background:var(--primary);color:#fff;border-color:transparent}.btn-primary:hover{background:var(--primary-strong)}.btn-ghost{background:transparent;color:var(--primary);border-color:transparent;box-shadow:none}.btn-ghost:hover{background:rgba(15,106,123,.08);box-shadow:none}.quiz{display:grid;grid-gap:1rem;gap:1rem}.quiz-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.quiz-tools{display:grid;grid-gap:.6rem;gap:.6rem;justify-items:end}.quiz-body{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-gap:1rem;gap:1rem;align-items:start}.question-nav{background:var(--card);border:1px solid var(--stroke);border-radius:18px;padding:.8rem;box-shadow:0 12px 24px rgba(24,32,46,.08);display:grid;grid-gap:.75rem;gap:.75rem;position:-webkit-sticky;position:sticky;top:1rem}.question-nav-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-weight:600;font-size:.85rem;color:var(--muted)}.question-nav-header h3{margin:0;font-family:Space Grotesk,Segoe UI,sans-serif;font-size:1rem;color:var(--text)}.question-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));grid-gap:.4rem;gap:.4rem}.question-jump{height:36px;border-radius:10px;border:1px solid var(--stroke);background:#fff;font-weight:600;color:var(--muted);cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.question-jump:hover{border-color:rgba(15,106,123,.4);transform:translateY(-1px)}.question-jump.answered{background:#eef5f5;color:var(--primary-strong);border-color:rgba(15,106,123,.4)}.question-jump.current{border-color:rgba(15,106,123,.6);box-shadow:0 0 0 2px rgba(15,106,123,.25);color:var(--primary-strong)}.review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.6rem;gap:.6rem}.review-summary div{background:var(--bg-alt);border:1px dashed rgba(15,106,123,.2);border-radius:12px;padding:.6rem .75rem;display:flex;justify-content:space-between;gap:.5rem;align-items:center;font-weight:600}.review-summary span{font-size:.85rem;color:var(--muted)}.review-summary strong{font-size:1rem}.review-actions{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.review-list{max-height:260px;overflow:auto;padding-right:.25rem}.timer-card{min-width:220px;background:var(--card);border:1px solid var(--stroke);border-radius:16px;padding:.6rem .9rem;box-shadow:0 12px 24px rgba(24,32,46,.08)}.timer-head{display:flex;justify-content:space-between;font-weight:600;margin-bottom:.4rem;font-size:.9rem}.timer-bar{position:relative;height:6px;border-radius:999px;background:#ece6da;overflow:hidden}.timer-bar:after{content:"";position:absolute;inset:0;width:var(--progress,0);background:linear-gradient(90deg,var(--primary),var(--accent));border-radius:inherit;transition:width .2s ease}.question-card{background:#fff;border-radius:24px;border:1px solid var(--stroke);padding:1.2rem;box-shadow:0 18px 32px rgba(24,32,46,.1);display:grid;grid-gap:.9rem;gap:.9rem}.question-meta{display:flex;gap:.5rem;flex-wrap:wrap}.pill{padding:.3rem .75rem;border-radius:999px;background:var(--bg-alt);font-size:.75rem;font-weight:600}.question-text{margin:0;font-size:1.1rem;font-family:Space Grotesk,Segoe UI,sans-serif}.question-asset{margin-top:.8rem;display:flex;justify-content:center}.question-table-wrap{overflow-x:auto;border-radius:14px;border:1px solid var(--stroke);background:#fbfaf7;padding:.6rem}.question-table{width:100%;border-collapse:collapse;font-size:.9rem}.question-table td,.question-table th{border:1px solid var(--stroke);padding:.35rem .5rem;vertical-align:top}.question-image{width:100%;max-width:520px;height:auto;border-radius:14px;border:1px solid var(--stroke);display:block}.progress-bar{width:100%;height:6px;background:#efe9dd;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,var(--primary),var(--accent))}.answers{display:grid;grid-gap:.6rem;gap:.6rem}.answer{display:flex;align-items:flex-start;gap:.75rem;padding:.7rem .9rem;border-radius:16px;border:1px solid var(--stroke);background:#fbfaf7;text-align:left;transition:border-color .2s ease,transform .2s ease}.answer:hover{border-color:rgba(15,106,123,.45);transform:translateY(-1px)}.answer:disabled{cursor:default;transform:none}.answer-letter{width:28px;height:28px;border-radius:10px;background:#f1ece2;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--primary-strong);flex-shrink:0;font-size:.85rem}.answer.selected{border-color:rgba(15,106,123,.5);background:#eef5f5}.answer.correct{border-color:#1a7f37;background:rgba(26,127,55,.08)}.answer.incorrect{border-color:var(--danger);background:rgba(192,57,43,.08)}.answer-text{color:var(--text);font-size:.92rem;line-height:1.5}.answer-feedback{display:grid;grid-gap:.6rem;gap:.6rem}.answer-feedback .history-answer-summary{margin-bottom:0}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.question-actions-group{display:flex;gap:.6rem;flex-wrap:wrap}.results{display:flex;justify-content:center}.results-dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1.5rem;gap:1.5rem;align-items:stretch}.results-panel{min-height:0;height:100%}.error-list,.results-list{display:grid;grid-gap:.75rem;gap:.75rem}.error-list{margin-top:1rem}.error-groups{display:grid;grid-gap:1.5rem;gap:1.5rem}.error-group{border:1px solid var(--stroke);border-radius:18px;background:#fff;padding:.75rem 1rem}.error-group[open] .error-group-summary{margin-bottom:.75rem}.error-group-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem 1rem;cursor:pointer;list-style:none;flex-wrap:wrap}.error-group-summary::-webkit-details-marker{display:none}.error-group-summary .panel-title{margin:0;font-size:1.1rem;flex:1 1 240px;min-width:0}.error-group-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.btn.btn-small{padding:.35rem .75rem}.btn.btn-small,.error-group-count{font-size:.85rem;border-radius:999px}.error-group-count{color:var(--muted);font-weight:600;white-space:nowrap;margin-left:auto;padding:.1rem .5rem;border:1px solid var(--stroke);background:var(--bg-alt)}.error-group-body{display:grid;grid-gap:1rem;gap:1rem}.error-theme{display:grid;grid-gap:.5rem;gap:.5rem}.error-theme-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none}.error-theme-summary::-webkit-details-marker{display:none}.error-theme[open] .error-theme-summary{margin-bottom:.5rem}.error-actions{display:grid;grid-gap:.75rem;gap:.75rem;margin-top:.75rem;justify-items:center}.error-item{padding:.85rem 1rem;border-radius:16px;border:1px solid var(--stroke);background:#fff;display:grid;grid-gap:.4rem;gap:.4rem}.error-meta{display:flex;gap:.5rem;align-items:baseline;flex-wrap:wrap}.error-meta strong{font-size:.95rem}.error-text{margin:0}.error-answer{margin:0;font-size:.85rem;color:var(--muted)}.error-answer span{font-weight:600;color:var(--text)}.error-date{font-size:.8rem;color:var(--muted)}.results-item{display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap;padding:.85rem 1rem;border-radius:16px;border:1px solid var(--stroke);background:#fff;text-decoration:none;color:inherit;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.results-item:hover{border-color:rgba(15,106,123,.4);box-shadow:0 12px 24px rgba(15,106,123,.08);transform:translateY(-1px)}.results-meta{display:grid;grid-gap:.2rem;gap:.2rem}.results-meta strong{font-size:1rem}.history-list{display:grid;grid-gap:1rem;gap:1rem}.history-question{border:1px solid var(--stroke);border-radius:16px;background:#fff;padding:.75rem 1rem}.history-question[open] .history-summary{margin-bottom:.75rem}.history-summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none;font-weight:600}.full-review-summary{cursor:default}.history-summary::-webkit-details-marker{display:none}.history-status{font-size:.8rem;font-weight:700;padding:.2rem .6rem;border-radius:999px;background:var(--bg-alt);color:var(--muted);white-space:nowrap}.history-status.correct{background:rgba(26,127,55,.12);color:#1a7f37}.history-status.incorrect{background:rgba(192,57,43,.12);color:#a0261f}.history-status.unanswered{background:rgba(15,106,123,.1);color:var(--primary)}.history-question-text{margin:0 0 .5rem;font-weight:600}.history-meta{margin:0 0 .75rem;color:var(--muted);font-size:.85rem}.history-answer-list{list-style:none;padding:0;margin:0 0 .75rem;display:grid;grid-gap:.4rem;gap:.4rem}.history-answer{border:1px solid var(--stroke);border-radius:12px;padding:.45rem .6rem;background:#fff;display:grid;grid-auto-flow:column;grid-auto-columns:max-content 1fr;grid-gap:.4rem;gap:.4rem;align-items:baseline}.history-answer.correct{border-color:#1a7f37;background:rgba(26,127,55,.08)}.history-answer.selected.incorrect{border-color:var(--danger);background:rgba(192,57,43,.08)}.history-answer.selected:not(.incorrect):not(.correct){border-color:rgba(15,106,123,.5)}.history-answer-summary{display:grid;grid-gap:.4rem;gap:.4rem;margin-bottom:.75rem}.history-answer-summary span{color:var(--muted);font-size:.85rem;font-weight:600}.history-answer-summary strong{color:var(--text);font-weight:400}.history-feedback{border-radius:12px;border:1px dashed rgba(15,106,123,.2);background:var(--bg-alt);padding:.6rem .8rem;display:grid;grid-gap:.3rem;gap:.3rem}.history-feedback h4{margin:0;font-size:.95rem}.history-feedback p{margin:0;color:var(--muted)}.results-meta span{color:var(--muted);font-size:.85rem}.results-date{color:var(--muted);font-size:.8rem;white-space:nowrap}.global-panel{display:grid;grid-gap:1rem;gap:1rem;align-content:start;height:100%}.global-panel .panel-header{margin-bottom:.75rem}.global-panel .results-collapsible{margin-top:.5rem}.comparison-grid{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.modal .comparison-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.comparison-card{padding:.85rem .95rem;border-radius:16px;border:1px solid rgba(15,106,123,.18);background:var(--bg-alt);display:grid;grid-gap:.35rem;gap:.35rem;font-size:.95rem}.comparison-score{display:flex;align-items:baseline;gap:.5rem}.comparison-score strong{font-size:1.8rem;font-family:Space Grotesk,Segoe UI,sans-serif;color:var(--primary-strong)}.comparison-score span{color:var(--muted);font-size:.75rem;line-height:1.1}.global-score{display:flex;align-items:baseline;gap:.5rem}.global-score strong{font-size:2.4rem;font-family:Space Grotesk,Segoe UI,sans-serif;color:var(--primary-strong)}.global-score span{color:var(--muted);font-size:.9rem}.result-card{max-width:680px;text-align:left}.result-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(42px,1fr));grid-gap:.6rem;gap:.6rem;margin-bottom:1.5rem}.result-actions{flex-wrap:wrap;gap:.75rem}.result-actions,.result-dot{display:flex;align-items:center}.result-dot{height:42px;border-radius:12px;justify-content:center;font-weight:700;color:#fff;border:none;padding:0;cursor:pointer}.result-dot.correct{background:var(--success)}.result-dot.incorrect{background:var(--danger);box-shadow:0 10px 20px rgba(192,57,43,.2)}.result-dot.unanswered{background:var(--accent);color:#1d1a16}.modal-backdrop{position:fixed;inset:0;background:rgba(19,32,41,.45);display:flex;align-items:center;justify-content:center;padding:1.5rem;z-index:10}.modal{width:min(720px,100%);background:#fff;border-radius:22px;padding:1.6rem;border:1px solid var(--stroke);box-shadow:0 24px 48px rgba(16,24,40,.2);display:grid;grid-gap:1rem;gap:1rem;max-height:85vh;overflow:auto}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.modal-header h3{margin:0;font-family:Space Grotesk,Segoe UI,sans-serif}.modal-question{margin:0;font-size:1.05rem;color:var(--text)}.modal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:1rem;gap:1rem}.modal-grid span{display:block;color:var(--muted);font-size:.85rem;margin-bottom:.35rem;font-weight:600}.modal-grid strong{font-size:.95rem;font-weight:400}.modal-feedback{padding:1rem;border-radius:16px;background:var(--bg-alt);border:1px solid var(--stroke)}.modal-feedback h4{margin:0 0 .5rem;font-family:Space Grotesk,Segoe UI,sans-serif}.modal-feedback p{margin:0;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));grid-gap:1rem;gap:1rem;margin:1.5rem 0}.stat-card{background:#fff;border:1px solid var(--stroke);border-radius:16px;padding:1rem;display:grid;grid-gap:.4rem;gap:.4rem;box-shadow:0 12px 24px rgba(24,32,46,.08)}.stat-card strong{font-size:1.4rem;font-family:Space Grotesk,Segoe UI,sans-serif}.muted{color:var(--muted)}.reveal{animation:rise .6s ease both;animation-delay:var(--delay,0s)}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.auth-shell{min-height:100vh;justify-content:center}.auth-card{width:min(720px,100%)}.auth-card .brand{justify-content:flex-start;align-items:center;gap:.75rem;flex-wrap:wrap}.auth-card .brand-logo{width:32px;height:32px;flex-shrink:0}.home-shell{align-items:center}.home-card{text-align:center}.home-card .brand{justify-content:flex-start;align-items:center}.home-card .panel-subtitle{text-align:justify;text-align-last:left}.auth-actions{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;align-items:center;margin-top:1rem}.inline-link{color:var(--primary);font-weight:600}.notice{padding:.75rem 1rem;border-radius:12px;border:1px solid var(--stroke);background:var(--accent-soft);color:#6a4b1c}.hero-news{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-top:.75rem}.hero-news-stack{display:grid;grid-gap:.65rem;gap:.65rem;margin-top:.75rem}.hero-news-text{flex:1 1 240px}.hero-news-actions{display:flex;gap:.5rem;flex-wrap:wrap}.hero-news-actions-panel{width:100%}.hero-news-error{flex-basis:100%}.weekly-error{margin:.5rem 0 0}.table{display:grid;grid-gap:.75rem;gap:.75rem}.user-row{border-radius:16px;border:1px solid var(--stroke);background:#fff;overflow:hidden}.user-summary{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem;padding:.8rem;cursor:pointer;list-style:none}.user-summary::-webkit-details-marker{display:none}.user-details{display:grid;grid-gap:.4rem;gap:.4rem;padding:.6rem .8rem .8rem;border-top:1px solid var(--stroke)}.panel-collapsible-body .table{margin-top:.75rem}.row-actions{display:flex;gap:.5rem;flex-wrap:wrap}.user-status{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:var(--muted)}.user-status:before{content:"";width:8px;height:8px;border-radius:999px;background:#9aa1a9}.user-status.online{color:#1a7f37}.user-status.online:before{background:#1a7f37}.user-last-seen{font-size:.75rem;color:var(--muted)}.payment-status{display:inline-flex;align-items:center;padding:.15rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600;border:1px solid var(--stroke)}.payment-status.unpaid{background:var(--accent-soft);color:#8a4b1b}@media (max-width:980px){.modal .comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-grid{grid-template-columns:1fr}.hero{flex-direction:column}.config-panel{position:static}.tema-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-body{grid-template-columns:1fr}.question-nav{position:static}.results-dashboard{grid-template-columns:1fr}}@media (max-width:720px){.brand{flex-direction:column}.brand-logo{width:32px;height:32px}.auth-card .brand-logo{width:30px;height:30px}.hero-title,.hero-title-row{margin-bottom:.4rem}.question-card{padding:1.2rem}.tema-groups{grid-template-columns:1fr}}@media (max-width:640px){.modal .comparison-grid{grid-template-columns:1fr}.auth-shell,body{min-height:100dvh}.app{padding-top:calc(.5rem + var(--user-header-h));padding-bottom:calc(1rem + env(safe-area-inset-bottom));gap:0}.hero{gap:.2rem;padding-top:0;padding-bottom:0;margin-bottom:0;min-height:auto;height:auto}.brand{gap:.6rem;flex-direction:column;align-items:flex-start}.brand-logo{width:28px;height:28px;flex-shrink:0;overflow:hidden}.auth-card .brand-logo{width:26px;height:26px}.brand>div{text-align:left;padding-top:.2rem}.hero-title,.hero-title-row{margin-bottom:.1rem}.hero-title-row{grid-template-columns:1fr}.hero-title-row .hero-actions{margin-left:0;width:100%;justify-content:flex-start;justify-self:start;flex-wrap:wrap}.hero-news-stack{gap:.9rem}.hero-news{margin-top:0}.panel-header{flex-direction:column;align-items:center}.panel-header>.btn{position:static}.tema-header{flex-direction:column;align-items:center;gap:.35rem}.tema-header>div{text-align:center}.eyebrow{margin-top:.1rem}.brand-heading,.eyebrow{margin-bottom:.2rem}.hero-card{padding:.7rem}.hero+.setup-grid,.hero-card,.setup-grid{margin-top:0}.user-header{padding-top:env(safe-area-inset-top)}.hero-title-row .user-header{padding-top:0}}@media (prefers-reduced-motion:reduce){.reveal{animation:none}.answer:hover,.btn:hover,.question-jump:hover,.tema-item:hover{transform:none}}