@charset "UTF-8";
:root{color-scheme:light;--navy:#132b35;--navy-deep:#0c2028;--ink:#18313b;--text:#263f49;--muted:#667c84;--line:#dce5e8;--surface:#fff;--page:#f3f6f7;--teal:#087d78;--teal-deep:#05615d;--teal-pale:#e8f5f2;--amber:#8c570a;--amber-bg:#fff6df;--red:#af3b3b;--red-bg:#fff0ee;--blue-bg:#edf4fa;--radius:18px;--shadow:0 7px 24px rgba(19,43,53,.045);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--text);background:var(--page)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #63b9bb;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1{font-size:2rem;line-height:1.18;letter-spacing:-.045em;color:var(--ink);font-weight:750}h2{font-size:1.3rem;line-height:1.3;letter-spacing:-.025em;color:var(--ink)}h3{font-size:1.05rem;line-height:1.4;color:var(--ink)}p+p{margin-top:.75rem}small{font-size:.8125rem}svg{width:22px;height:22px;display:block;flex:none}label{display:block;font-size:.9rem;font-weight:650;margin-bottom:.45rem;color:var(--ink)}input,select,textarea{width:100%;border:1px solid #c9d8dd;border-radius:10px;background:#fff;color:var(--ink);padding:.78rem .9rem;min-height:48px;transition:border-color .15s}input::placeholder,textarea::placeholder{color:#87979d}textarea{resize:vertical}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%235e777f' stroke-width='1.6'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-position:right .8rem center;background-repeat:no-repeat;padding-right:2.7rem}input[type=checkbox],input[type=radio]{accent-color:var(--teal)}input[type=checkbox]{width:19px;min-height:19px;height:19px;margin:0;flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:46px;padding:.74rem 1.2rem;border:1px solid transparent;border-radius:10px;font-size:.925rem;font-weight:700;text-decoration:none;line-height:1.35;transition:background .15s,box-shadow .15s}.button:hover{text-decoration:none}.button.primary{background:var(--teal);color:#fff}.button.primary:hover{background:var(--teal-deep)}.button.secondary{background:white;border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:#f2f7f8}.button.ghost{background:transparent;color:var(--muted)}.button.ghost:hover{background:#e9eff1;color:var(--ink)}.button.small{min-height:38px;padding:.5rem .85rem;font-size:.875rem}.button.light{background:#fff;color:var(--navy)}.button.full{width:100%}.icon-button{border:1px solid var(--line);background:#fff;color:var(--muted);width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-size:1.4rem;flex:none}.text-button{padding:0;border:0;background:transparent;color:var(--teal);font-weight:650;text-align:left;font-size:.9rem}.text-button:hover{text-decoration:underline}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.75rem;font-weight:750;color:var(--teal);margin-bottom:.55rem}.field-hint{font-size:.825rem;color:var(--muted);margin-top:.45rem}.form-error{color:var(--red);font-size:.9rem;margin-top:.75rem;white-space:pre-wrap}.form-error:empty{display:none}.field{margin-bottom:1.1rem}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;margin-top:1.4rem}.skip-link{position:fixed;left:1rem;top:-100px;z-index:200;padding:1rem;background:white;border:2px solid var(--teal);border-radius:10px}.skip-link:focus{top:1rem}.initial-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1rem}.spinner{display:block;width:28px;height:28px;border:3px solid #d9e9e8;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
/* Application frame */
.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--navy);color:#b7c9cf;padding:2rem 1.15rem 1.2rem;display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;width:230px;z-index:20}.brand{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none;padding:0 .5rem}.brand:hover{text-decoration:none}.brand-mark{height:40px;width:94px;padding:5px;border-radius:8px;background:#fff;display:grid;place-items:center;flex:none}.brand-mark img{display:block;width:100%;height:auto}.brand-name{font-size:1.25rem;font-weight:800;letter-spacing:-.035em}.brand-name span{display:block;font-size:.75rem;letter-spacing:.035em;font-weight:450;color:#b7c9cf}.sidebar-label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.13em;color:#7898a2;margin:2.6rem .7rem .8rem}.nav{display:flex;flex-direction:column;gap:.35rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.8rem .9rem;border-radius:10px;color:#b7c9cf;font-size:.9rem;font-weight:550;border:0;background:none;text-align:left;width:100%}.nav-link:hover{background:#1b3c46;color:white;text-decoration:none}.nav-link.active{background:#24505a;color:white}.nav-link svg{height:20px;width:20px}.sidebar-bottom{margin-top:auto;padding:.9rem .55rem 0}.sidebar-note{font-size:.76rem;line-height:1.65;color:#91abb4;margin-bottom:1.3rem}.sidebar-version{font-size:.75rem;color:#7898a2;border-top:1px solid #30505a;padding-top:.9rem}.workspace{grid-column:2;min-width:0}.topbar{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 3.1rem;border-bottom:1px solid var(--line);background:#fff;gap:1rem}.topbar-path{font-size:.875rem;color:var(--muted);display:flex;gap:.6rem;align-items:center}.topbar-path b{font-weight:600;color:var(--ink)}.user-menu{display:flex;align-items:center;gap:.8rem;min-width:0}.avatar{width:36px;height:36px;background:#eaf1f3;border-radius:50%;display:grid;place-items:center;color:#476773;font-size:.85rem;font-weight:750;flex:none}.user-text{font-size:.85rem;line-height:1.35}.user-text b{font-weight:650;display:block;color:var(--ink)}.user-text span{font-size:.75rem;color:var(--muted)}.logout-button{background:transparent;border:0;display:grid;place-items:center;width:35px;height:35px;color:var(--muted);border-radius:8px}.logout-button:hover{background:var(--page)}.mobile-brand{display:none}.main{padding:2.5rem 3.1rem 3.5rem;max-width:1450px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.7rem}.page-heading h1{margin-bottom:.55rem}.page-heading p{color:var(--muted);font-size:.925rem;max-width:720px}.date-label{color:var(--muted);font-size:.825rem;white-space:nowrap;padding-bottom:.15rem}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-body{padding:1.5rem}.section-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:2rem 0 1rem}.section-title h2{font-size:1.15rem}.section-title p{font-size:.825rem;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:6px;font-size:.75rem;font-weight:650;line-height:1.4;background:#edf1f3;color:#526c76}.badge.teal{background:var(--teal-pale);color:var(--teal-deep)}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.badge.blue{background:var(--blue-bg);color:#456d8a}.badge.dark{background:#34515a;color:#e5eff1}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{padding:1.1rem 1.25rem;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem;font-size:.825rem;color:var(--muted)}.stat-top svg{width:19px;height:19px;color:#90a3ac}.stat-value{font-size:2rem;letter-spacing:-.04em;color:var(--ink);font-weight:750;margin:.5rem 0 .2rem;line-height:1.2}.stat-value small{font-size:.9rem;font-weight:500;letter-spacing:0;color:var(--muted)}.stat-caption{font-size:.75rem;color:var(--muted)}.stat-card progress{width:100%;height:4px;margin-top:.9rem;display:block;border-radius:6px;border:0;overflow:hidden;background:#e8f0f1}progress::-webkit-progress-bar{background:#e8f0f1;border-radius:6px}progress::-webkit-progress-value{background:var(--teal);border-radius:6px}progress::-moz-progress-bar{background:var(--teal);border-radius:6px}.training-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:1.1rem}.training-card{padding:1.6rem 1.7rem}.card-icon{height:42px;width:42px;border-radius:12px;background:var(--teal-pale);color:var(--teal);display:grid;place-items:center;margin-bottom:1rem}.card-icon.amber{background:var(--amber-bg);color:var(--amber)}.training-card h2{margin-bottom:.5rem}.training-card>p{font-size:.9rem;color:var(--muted);max-width:510px}.training-config{display:grid;grid-template-columns:minmax(0,1fr) 115px;gap:.75rem;margin:1.4rem 0 1.1rem}.training-config label{font-size:.8rem}.training-config select{font-size:.875rem;padding-top:.65rem;padding-bottom:.65rem;min-height:44px}.training-footer{display:flex;align-items:center;gap:1rem;justify-content:space-between}.training-footer small{max-width:180px;color:var(--muted);line-height:1.5}.exam-card{background:var(--navy);border-color:var(--navy);color:white;position:relative;overflow:hidden;display:flex;flex-direction:column}.exam-card .card-icon{background:#2d505a;color:#c5e9e4}.exam-card h2{color:#fff}.exam-card>p{color:#b6cbd2}.exam-metrics{display:flex;gap:1.9rem;margin:1.55rem 0}.exam-metric strong{font-size:1.6rem;font-weight:750;display:block;line-height:1.2;letter-spacing:-.035em}.exam-metric span{font-size:.75rem;color:#b6cbd2}.exam-card .training-footer{margin-top:auto;align-items:center}.exam-card .training-footer small{color:#b6cbd2}.mode-card{display:flex;gap:1rem;padding:1.35rem 1.5rem;align-items:flex-start}.mode-card .card-icon{margin:0;flex:none}.mode-card h3{margin-bottom:.35rem}.mode-card p{font-size:.85rem;color:var(--muted);margin-bottom:.8rem}.mode-card .text-button{font-size:.875rem}.mode-card .mode-body{flex:1;min-width:0}.mode-count{font-size:.75rem;white-space:nowrap;color:var(--muted);padding-top:.2rem}.notice{display:flex;gap:.8rem;padding:1.05rem 1.2rem;border-radius:12px;background:var(--blue-bg);color:#375d70;font-size:.85rem;line-height:1.6}.notice svg{width:20px;height:20px;margin-top:.1rem}.notice.amber{background:var(--amber-bg);color:#7f591b}.notice.green{background:var(--teal-pale);color:var(--teal-deep)}.notice strong{font-weight:700}.notice a{color:inherit;text-decoration:underline}.bank-notice{margin-top:1.25rem}.resume-list{display:flex;flex-direction:column;gap:.7rem;margin-bottom:1.4rem}.resume-card{display:flex;align-items:center;gap:1rem;padding:1.1rem 1.25rem;border-left:4px solid var(--teal)}.resume-card .resume-copy{flex:1}.resume-card h3{font-size:.95rem}.resume-card p{font-size:.825rem;color:var(--muted);margin-top:.2rem}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:.875rem;white-space:nowrap}.data-table th{text-align:left;background:#f8fafb;color:var(--muted);font-size:.75rem;font-weight:650;padding:.85rem 1.2rem;border-bottom:1px solid var(--line)}.data-table td{padding:1rem 1.2rem;border-bottom:1px solid #e8eef0;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table td strong{font-weight:650;color:var(--ink)}.table-sub{font-size:.75rem;color:var(--muted);display:block;margin-top:.15rem;white-space:normal}.score-cell{font-weight:750;color:var(--ink)}.table-link{border:0;background:transparent;color:var(--teal);font-weight:650;font-size:.825rem;padding:.3rem 0}.empty-state{padding:2.4rem 1.5rem;text-align:center}.empty-state .empty-icon{color:#93aab3;margin-bottom:.75rem;display:flex;justify-content:center}.empty-state .empty-icon svg{height:32px;width:32px}.empty-state h3{margin-bottom:.5rem}.empty-state p{color:var(--muted);font-size:.875rem;max-width:510px;margin:auto}.empty-state .button{margin-top:1.1rem}.loading-panel{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:.85rem;min-height:280px;color:var(--muted)}.error-panel{max-width:700px;margin:2rem auto;padding:2rem}.error-panel h2{margin-bottom:.75rem}.error-panel p{color:var(--muted);margin-bottom:1.3rem}.back-link{display:inline-flex;align-items:center;gap:.45rem;font-size:.85rem;font-weight:600;margin-bottom:1.25rem;color:var(--muted)}.back-link svg{width:17px;height:17px}.back-link:hover{text-decoration:none;color:var(--teal)}
/* Question and results */
.attempt-layout{max-width:960px;margin:auto}.attempt-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.attempt-heading h1{font-size:1.5rem}.attempt-heading .eyebrow{margin-bottom:.35rem}.timer{display:flex;align-items:center;gap:.5rem;border:1px solid var(--line);padding:.55rem .8rem;border-radius:10px;background:#fff;white-space:nowrap;font-size:.85rem;color:var(--muted)}.timer strong{font-size:1.25rem;letter-spacing:.03em;font-variant-numeric:tabular-nums;color:var(--ink);line-height:1.3}.timer.urgent{background:var(--red-bg);color:var(--red);border-color:#efc8c3}.timer.urgent strong{color:var(--red)}.question-card{padding:1.8rem 2rem}.question-meta{display:flex;justify-content:space-between;gap:.8rem;align-items:center;font-size:.8rem;color:var(--muted);margin-bottom:.7rem}.question-meta span{min-width:0}.attempt-progress{width:100%;height:5px;display:block;border:0;border-radius:5px;overflow:hidden;margin-bottom:1.8rem}.question-topic{color:var(--teal);font-size:.8rem;font-weight:650;margin-bottom:.7rem}.question-text{font-size:1.25rem;line-height:1.6;letter-spacing:-.02em;font-weight:650;color:var(--ink);margin-bottom:1.5rem;white-space:pre-line;overflow-wrap:anywhere}.options{border:0;margin:0;padding:0;display:grid;gap:.7rem}.option{display:flex;align-items:flex-start;gap:.85rem;border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.15rem;cursor:pointer;background:#fff;font-size:.95rem;font-weight:450;line-height:1.65;margin:0;transition:background .12s,border-color .12s}.option:hover{border-color:#7bb4b1;background:#f7fbfa}.option.selected{border-color:var(--teal);background:#f0f9f7;box-shadow:inset 0 0 0 1px var(--teal)}.option.answer-correct{border-color:#8bbfb4;background:#eef8f4}.option.answer-wrong{border-color:#e9b8b1;background:#fff5f3}.option.answer-disputed{border-color:#e8ce91;background:#fff9eb}.option.disabled{cursor:default}.option input[type=radio]{width:19px;height:19px;min-height:19px;flex:none;margin:.3rem 0 0}.option-content{display:block;min-width:0;overflow-wrap:anywhere;white-space:pre-line}.option-number{font-size:.75rem;font-weight:650;color:var(--muted);margin-right:.35rem}.option-labels{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.55rem}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.6rem;border-top:1px solid var(--line);padding-top:1.25rem}.answer-buttons{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.checkbox-label{display:inline-flex;align-items:center;gap:.6rem;color:var(--muted);font-weight:450;font-size:.85rem;margin:0;cursor:pointer}.save-note{font-size:.75rem;color:var(--muted);margin-top:1rem;display:flex;align-items:center;gap:.4rem}.save-note svg{width:15px;height:15px}.attempt-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.attempt-bottom .text-button{color:var(--muted);font-size:.825rem}.feedback-panel{margin-top:1.3rem;border:1px solid #b4d9d0;border-radius:13px;overflow:hidden;background:#f7fcfa}.feedback-panel.amber{border-color:#e5cf97;background:#fffcf3}.feedback-panel.red{border-color:#e6b8b1;background:#fff9f7}.feedback-title{padding:1rem 1.15rem;font-size:.95rem;font-weight:700;display:flex;align-items:center;gap:.6rem;border-bottom:1px solid #dcebe6;color:var(--teal-deep)}.feedback-panel.amber .feedback-title{color:var(--amber);border-color:#eddfbb}.feedback-panel.red .feedback-title{color:var(--red);border-color:#f0d6d1}.feedback-body{padding:1.1rem 1.15rem;font-size:.875rem;line-height:1.7}.answer-fact+.answer-fact{margin-top:.85rem}.answer-fact dt{font-size:.75rem;color:var(--muted);font-weight:650;margin-bottom:.25rem}.answer-fact dd{margin:0;white-space:pre-line;overflow-wrap:anywhere}.answer-facts{margin:0}.answer-explanation{margin-top:1rem;white-space:pre-line}.answer-explanation strong{font-size:.8rem;display:block;margin-bottom:.3rem}.source-list{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-direction:column;gap:.35rem;font-size:.8rem}.source-list li{display:flex;align-items:flex-start;gap:.4rem}.source-list svg{width:14px;height:14px;flex:none;margin-top:.2rem}.source-list a{overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.result-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;padding:1.75rem 2rem;align-items:center;margin-bottom:1.1rem}.result-hero h1{font-size:1.75rem;margin-bottom:.65rem}.result-hero p{font-size:.9rem;max-width:620px;color:var(--muted)}.score-circle{width:132px;height:132px;border-radius:50%;border:8px solid #d9ebe7;display:flex;align-items:center;justify-content:center;flex-direction:column;flex:none;color:var(--teal-deep);background:#f4faf8}.score-circle strong{font-size:2.4rem;line-height:1.1;letter-spacing:-.06em}.score-circle span{font-size:.8rem;color:var(--muted);margin-top:.25rem}.score-circle.low{border-color:#f0d9b3;background:#fffaf0;color:var(--amber)}.result-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.1rem}.result-stat{padding:1.15rem}.result-stat p{font-size:.8rem;color:var(--muted)}.result-stat strong{font-size:1.45rem;color:var(--ink);display:block;margin:.35rem 0;letter-spacing:-.03em}.result-stat small{font-size:.75rem;color:var(--muted);display:block;line-height:1.5}.result-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.35rem 0 2rem}.filter-tabs{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.filter-tab{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:8px;font-size:.8rem;font-weight:600;min-height:38px;padding:.45rem .8rem}.filter-tab.active{background:var(--teal-pale);border-color:#a5d0c6;color:var(--teal-deep)}.review-list{display:flex;flex-direction:column;gap:.7rem}.review-item{overflow:hidden}.review-item summary{list-style:none;cursor:pointer;display:flex;gap:.9rem;align-items:flex-start;padding:1.1rem 1.3rem}.review-item summary::-webkit-details-marker{display:none}.review-number{height:31px;min-width:34px;border-radius:8px;display:grid;place-items:center;background:#eef2f4;color:var(--muted);font-size:.8rem;font-weight:700;margin-top:.1rem}.review-summary-copy{min-width:0;flex:1}.review-summary-copy>p{font-size:.9rem;font-weight:550;line-height:1.55;color:var(--ink)}.review-summary-copy .tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.55rem}.review-toggle{color:var(--muted);font-size:1.4rem;line-height:1;flex:none;margin-top:.25rem}.review-item[open] .review-toggle{transform:rotate(45deg)}.review-detail{padding:0 1.35rem 1.25rem;border-top:1px solid var(--line)}.review-detail .feedback-panel{margin-top:1rem}.review-detail .report-row{margin-top:1rem}.review-options{margin-top:1rem;font-size:.875rem;padding-left:1.4rem;line-height:1.65}.review-options li+li{margin-top:.5rem}.review-detail .review-options strong{color:var(--ink)}.review-options li{white-space:pre-line;overflow-wrap:anywhere}.result-version{font-size:.75rem;color:var(--muted);margin-top:1.25rem;overflow-wrap:anywhere}
.next-practice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.35rem 0 2rem;
  padding: 1.25rem;
}
.next-practice h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.next-practice p { margin: 0; color: var(--muted); }
.answer-fact dd small { display: block; }
.norm-review { margin: 1rem 0; padding-top: .8rem; border-top: 1px solid var(--line); }
.norm-review h3 { margin: 0 0 .4rem; font-size: 1rem; }
.norm-review p, .original-note p { margin: .4rem 0; }
.original-note summary { cursor: pointer; color: var(--teal-deep); }
/* Admin */
.tabs{display:flex;gap:.4rem;border-bottom:1px solid var(--line);margin-bottom:1.4rem;overflow:auto}.tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:.8rem 1rem;font-size:.9rem;color:var(--muted);font-weight:600;white-space:nowrap}.tab.active{color:var(--teal);border-bottom-color:var(--teal)}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1.2rem;align-items:start}.admin-create{padding:1.4rem}.admin-create h2{font-size:1.1rem;margin-bottom:1.2rem}.admin-create input,.admin-create select{font-size:.875rem}.admin-create label{font-size:.825rem}.admin-table-card{min-width:0}.toolbar{display:flex;gap:.7rem;margin-bottom:1rem;align-items:center;flex-wrap:wrap}.toolbar input{flex:1;min-width:200px;max-width:500px}.toolbar select{width:auto;min-width:200px}.bank-summary{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:1.25rem}.bank-item-meta{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin-top:.5rem}.bank-source-caption{font-size:.8rem;color:var(--muted);margin-bottom:1rem}.feedback-messages{display:flex;flex-direction:column;gap:.8rem}.feedback-message{padding:1.25rem 1.4rem}.feedback-message-top{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;font-size:.8rem;color:var(--muted);margin-bottom:.75rem}.feedback-message-top strong{color:var(--ink);font-size:.9rem}.feedback-message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.feedback-message small{display:block;margin-top:.7rem;color:var(--muted)}
/* Login and dialogs */
.login-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:var(--navy);color:#e2edf0;padding:3rem 4rem;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .brand{padding:0}.login-story .brand-mark{width:120px}.login-story-content{margin:auto 0;padding:3rem 0;max-width:560px;position:relative;z-index:1}.login-story .eyebrow{color:#8dc7be;margin-bottom:1.2rem}.login-story h1{color:white;font-size:3rem;line-height:1.2;letter-spacing:-.05em;margin-bottom:1.4rem}.login-story-content>p{font-size:1rem;line-height:1.8;color:#b7cbd1;max-width:470px}.login-lines{display:grid;gap:1.2rem;margin-top:2.5rem}.login-feature{display:flex;align-items:flex-start;gap:.8rem;color:#c9dadf;font-size:.9rem}.login-feature svg{color:#8bc7bc;width:20px;height:20px;margin-top:.1rem}.login-feature strong{display:block;font-weight:650;color:white;margin-bottom:.15rem}.login-story-footer{font-size:.8rem;color:#94adb5;position:relative;z-index:1}.login-art{position:absolute;bottom:0;right:-35px;opacity:.08;pointer-events:none;width:340px;height:340px}.login-art svg{width:100%;height:100%;stroke-width:.65}.login-form-area{display:flex;justify-content:center;align-items:center;padding:3rem 3rem}.login-form-card{max-width:390px;width:100%}.login-form-card .eyebrow{margin-bottom:.85rem}.login-form-card h2{font-size:1.9rem;margin-bottom:.65rem;letter-spacing:-.04em}.login-intro{font-size:.95rem;color:var(--muted);margin-bottom:2rem}.password-wrap{position:relative}.password-wrap input{padding-right:3rem}.password-toggle{position:absolute;right:.5rem;top:.4rem;width:36px;height:36px;display:grid;place-items:center;background:transparent;border:0;color:var(--muted)}.password-toggle svg{width:20px;height:20px}.login-footnote{margin-top:1.1rem;font-size:.8rem;color:var(--muted);line-height:1.7}.login-domain{margin-top:2rem;font-size:.75rem;color:#8a9ca4;letter-spacing:.04em}.modal{border:0;border-radius:18px;box-shadow:0 25px 80px #0b263b45;color:var(--text);padding:1.8rem;width:min(560px,calc(100% - 2rem));max-height:90dvh}.modal::backdrop{background:#0d263a66;backdrop-filter:blur(3px)}.modal.compact{max-width:460px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.modal-heading .eyebrow{font-size:.7rem}.modal>p,.modal form>p.muted{font-size:.9rem;margin-bottom:1.2rem}.toast-region{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);z-index:100;width:max-content;max-width:calc(100% - 2rem);pointer-events:none}.toast{background:var(--navy);color:#fff;box-shadow:0 8px 40px #0d26352b;border-radius:10px;padding:.9rem 1.2rem;font-size:.875rem;line-height:1.5}.toast.error{background:#8c3733}.connection-alert{position:sticky;top:0;padding:.65rem 1rem;text-align:center;color:var(--amber);background:var(--amber-bg);font-size:.85rem;z-index:30}.connection-alert:empty{display:none}.noscript{padding:1rem;text-align:center;background:var(--amber-bg)}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.main{padding-top:3rem}.topbar{padding-left:max(3.1rem,calc((100vw - 230px - 1350px)/2))}}
@media(max-width:1200px){.main{padding:2rem}.topbar{padding:0 2rem}.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{width:205px}.exam-metrics{gap:1.2rem}.admin-grid{grid-template-columns:1fr}.admin-create{max-width:100%}.admin-create form{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.admin-create .form-error,.admin-create .create-submit{grid-column:1/-1}.login-story{padding:2.5rem}.login-story h1{font-size:2.5rem}.training-grid{grid-template-columns:1.2fr 1fr}.training-card{padding:1.4rem}.training-footer{align-items:flex-start;flex-direction:column;gap:.7rem}.training-footer small{max-width:none}}
@media(max-width:1000px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{width:180px;padding-left:.7rem;padding-right:.7rem}.brand-name{font-size:1.15rem}.brand-mark{height:35px}.brand-name span{font-size:.68rem}.nav-link{font-size:.825rem;padding:.8rem .7rem;gap:.6rem}.main{padding:1.6rem}.topbar{padding:0 1.6rem}.stats-grid{gap:.7rem}.stat-card{padding:1rem}.stat-top{font-size:.75rem}.stat-top svg{display:none}.stat-value{font-size:1.8rem}.training-grid{grid-template-columns:1fr}.training-footer{flex-direction:row;align-items:center}.exam-card .training-footer{margin-top:.3rem}.mode-card{padding:1.2rem}.result-stats{grid-template-columns:1fr 1fr}.page-heading h1{font-size:1.8rem}.date-label{display:none}.question-card{padding:1.5rem}.login-story h1{font-size:2.25rem}.login-story{padding:2rem}.login-form-area{padding:2rem}}
@media(max-width:760px){h1{font-size:1.8rem}.app-shell{display:block}.sidebar{position:static;width:100%;padding:0;display:block}.sidebar>.brand,.sidebar-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow:auto;padding:.55rem 1rem;gap:.35rem;scrollbar-width:none}.nav-link{width:auto;white-space:nowrap;padding:.6rem .8rem;font-size:.8rem;gap:.45rem;flex:none}.nav-link svg{width:17px;height:17px}.workspace{display:block}.topbar{height:69px;padding:0 1.2rem}.topbar-path{display:none}.mobile-brand{display:block}.mobile-brand .brand{padding:0;color:var(--navy)}.mobile-brand .brand-mark{width:76px;height:33px;padding:3px;border:1px solid var(--line)}.mobile-brand .brand-name{font-size:1.15rem}.mobile-brand .brand-name span{color:var(--muted);font-size:.68rem}.user-menu{gap:.55rem}.user-text{display:none}.avatar{width:32px;height:32px;font-size:.75rem}.main{padding:1.5rem 1.15rem 2.5rem}.page-heading{margin-bottom:1.25rem}.page-heading h1{font-size:1.8rem}.page-heading p{font-size:.875rem}.eyebrow{font-size:.68rem}.stats-grid{grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.stat-card{padding:1rem 1.1rem;border-radius:13px}.stat-top{font-size:.8rem}.stat-top svg{display:block;width:17px;height:17px}.stat-value{font-size:1.85rem}.stat-card progress{margin-top:.75rem}.training-grid{gap:.85rem}.training-card{padding:1.4rem;border-radius:15px}.training-card>p{font-size:.875rem}.exam-card .exam-metrics{justify-content:space-between;gap:1rem;max-width:350px}.exam-card .training-footer{margin-top:.2rem}.mode-card{border-radius:15px;padding:1.2rem}.mode-count{display:none}.mode-card .card-icon{width:36px;height:36px;border-radius:10px}.section-title{margin-top:1.65rem}.section-title h2{font-size:1.1rem}.bank-notice{font-size:.8rem}.data-table th,.data-table td{padding:.85rem 1rem}.resume-card{padding:1rem}.resume-card .button{padding:.6rem .75rem;font-size:.825rem;min-height:40px}.resume-card>svg{display:none}.question-card{padding:1.15rem;border-radius:15px}.question-text{font-size:1.1rem;line-height:1.65;margin-bottom:1.1rem}.question-meta{font-size:.75rem}.question-meta .bank-number{white-space:nowrap}.attempt-progress{margin-bottom:1.25rem}.option{padding:.9rem .85rem;gap:.65rem;font-size:.9rem;line-height:1.65}.option input[type=radio]{width:18px;height:18px;min-height:18px}.question-actions{flex-direction:column;align-items:stretch;margin-top:1.2rem;padding-top:1.1rem;gap:1.1rem}.answer-buttons{justify-content:space-between}.answer-buttons .button.primary{flex:1}.answer-buttons .button.secondary{flex:1}.attempt-heading h1{font-size:1.25rem}.timer{padding:.5rem .6rem;gap:.4rem}.timer>svg{display:none}.timer strong{font-size:1.15rem}.timer .timer-caption{display:none}.attempt-bottom{align-items:flex-start;font-size:.8rem}.attempt-bottom .text-button{font-size:.8rem}.feedback-title{font-size:.875rem;padding:.9rem}.feedback-body{padding:.9rem;font-size:.85rem}.result-hero{padding:1.35rem;gap:1rem;align-items:start}.result-hero h1{font-size:1.35rem}.result-hero p{font-size:.825rem}.score-circle{width:94px;height:94px;border-width:6px;margin-top:1rem}.score-circle strong{font-size:1.9rem}.score-circle span{font-size:.7rem}.result-stat{padding:1rem}.result-stats{gap:.75rem}.result-stat strong{font-size:1.3rem}.result-actions .button{flex:1;min-width:145px;font-size:.825rem}.result-review-heading{align-items:flex-start;flex-direction:column}.review-item summary{padding:1rem;gap:.65rem}.review-summary-copy>p{font-size:.875rem}.review-number{min-width:30px;height:29px;font-size:.75rem}.review-detail{padding:0 1rem 1rem}.filter-tab{font-size:.75rem;padding:.4rem .6rem}.login-shell{display:flex;flex-direction:column;min-height:100dvh}.login-story{padding:1.6rem 1.5rem 1.8rem}.login-story>.brand .brand-name{font-size:1.25rem}.login-story-content{padding:2rem 0 0;margin:0;max-width:none}.login-story .eyebrow{font-size:.65rem;margin-bottom:.65rem}.login-story h1{font-size:1.9rem;margin-bottom:.8rem;max-width:400px}.login-story-content>p{font-size:.875rem;line-height:1.7;max-width:500px}.login-lines,.login-story-footer{display:none}.login-art{width:200px;height:200px;right:-30px}.login-form-area{padding:1.8rem 1.5rem 2.5rem;flex:1;align-items:flex-start}.login-form-card{max-width:500px}.login-form-card>.eyebrow{display:none}.login-form-card h2{font-size:1.55rem;margin-bottom:.5rem}.login-intro{font-size:.875rem;margin-bottom:1.5rem}.login-domain{margin-top:1.5rem}.modal{padding:1.3rem;border-radius:15px}.modal h2{font-size:1.15rem}.modal .form-actions{gap:.6rem}.admin-create form{grid-template-columns:1fr}.toolbar input,.toolbar select{max-width:none;width:100%;flex:none}.feedback-message{padding:1.1rem}.feedback-message-top{flex-wrap:wrap}.tabs{gap:0}.tab{padding:.8rem .75rem;font-size:.825rem}.back-link{margin-bottom:1rem}.toast-region{bottom:max(1rem,env(safe-area-inset-bottom))}}
@media(max-width:380px){.main{padding-left:.8rem;padding-right:.8rem}.training-config{grid-template-columns:minmax(0,1fr) 95px}.training-card{padding:1.2rem}.training-footer{align-items:stretch;flex-direction:column}.training-footer .button{width:100%}.stats-grid{gap:.6rem}.stat-card{padding:.9rem}.stat-top{font-size:.75rem}.stat-top svg{display:none}.result-hero{grid-template-columns:1fr}.score-circle{width:95px;height:95px;margin-top:0}.timer strong{font-size:1rem}.question-meta{font-size:.7rem}.modal .form-actions{flex-direction:column-reverse}.modal .form-actions .button{width:100%}}
.result-stat strong small.inline-label{display:inline;font-size:.9rem;font-weight:500;margin:0}
@media(max-width:760px){.app-shell{display:flex;flex-direction:column}.sidebar{order:2}.workspace{display:contents}.topbar{order:1}.connection-alert{order:3}.main{order:4;width:100%;margin:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation-duration:1.5s}}

/* GJI Stroy IT entry logos */
.dashboard-logo {
  width: min(100%, 20rem);
  margin-bottom: 1rem;
  padding: .35rem .5rem;
  border-radius: .5rem;
  background: #fff;
}
.login-logo {
  width: min(78%, 20rem);
  margin: 0 auto 1.5rem;
}
.dashboard-logo img, .login-logo img {
  display: block;
  width: 100%;
  height: auto;
}
