@font-face{font-family:QMUSans;src:url('assets/qmu-regular.ttf') format('truetype');font-style:normal;font-weight:400 600;font-display:swap}@font-face{font-family:QMUSans;src:url('assets/qmu-bold.ttf') format('truetype');font-style:normal;font-weight:650 900;font-display:swap}
:root{--navy:#163e70;--navy-dark:#0a2d57;--teal:#208c86;--ink:#14304f;--muted:#647b94;--line:#dce6ef;--paper:#f5f7fa;--blue:#276ac4;--green:#22764b;--red:#c4354f;--amber:#916006;--radius:14px;--shadow:0 14px 40px #173f7012}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 QMUSans,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:var(--navy);text-decoration:none}a:hover{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #2e9fb8;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,2.6vw,36px);letter-spacing:-1.1px;line-height:1.25;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.5px;line-height:1.35;margin-bottom:16px}h3{font-size:16px;line-height:1.45;margin-bottom:8px}p{margin-bottom:14px}small,.small{font-size:12px}.muted{color:var(--muted)}.tiny{font-size:11px}.strong{font-weight:700}.nowrap{white-space:nowrap}.hidden{display:none!important}.icon{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 18px;border:1px solid var(--navy);border-radius:9px;background:var(--navy);color:#fff;font-weight:700;font-size:13px;line-height:1.5;transition:background .15s,transform .15s}.btn:hover{background:var(--navy-dark)}.btn:active{transform:translateY(1px)}.btn.secondary{background:#fff;color:var(--navy);border-color:#bbcfdf}.btn.secondary:hover{background:#edf4fa}.btn.ghost{background:transparent;color:var(--navy);border-color:transparent}.btn.danger{background:#fff0f2;border-color:#edbdc5;color:var(--red)}.btn.white{background:white;color:var(--navy);border-color:white}.btn.teal{background:var(--teal);border-color:var(--teal)}.btn.sm{padding:7px 11px;min-height:34px;font-size:12px}.btn.full{width:100%}.icon-btn{width:40px;height:40px;padding:0}.link{background:none;border:none;color:var(--navy);padding:0;display:inline-flex;gap:7px;align-items:center;font-size:12px;font-weight:700;cursor:pointer}.link:hover{text-decoration:underline}.link .icon{width:16px;height:16px}.badge{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;border-radius:30px;padding:4px 11px;font-size:11px;line-height:1.6;font-weight:700;background:#edf2f6;color:#607187}.badge.green,.tone-green{background:#e7f5ed;color:var(--green)}.badge.blue,.tone-blue{background:#e9f2ff;color:#2567b8}.badge.amber,.tone-amber{background:#fff1d7;color:var(--amber)}.badge.red,.tone-red{background:#ffedf1;color:var(--red)}.badge.gray,.tone-gray{background:#edf0f3;color:#607187}.badge.teal,.tone-teal{background:#e0f3f1;color:#137d76}.badge.white{background:#ffffff20;color:#fff}.avatar{width:43px;height:43px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;background:#d9f0ed;color:#15675f;flex-shrink:0}.avatar.lg{width:68px;height:68px;font-size:24px}.avatar.sm{width:34px;height:34px;font-size:11px}.icon-tile{width:48px;height:48px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#eaf3fc;color:var(--navy);flex-shrink:0}.icon-tile .icon{width:26px;height:26px}.brand{display:flex;align-items:center;gap:11px;min-width:160px}.brand img{height:55px;width:55px;object-fit:contain}.brand strong{font-size:28px;letter-spacing:-.7px;line-height:1.2;display:block;color:#092a53}.brand small{display:block;font-size:10px;letter-spacing:.2px;color:var(--navy)}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:16px}.grid{display:grid;gap:18px}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.span-2{grid-column:span 2}.card{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:22px;min-width:0}.card.flush{padding:0;overflow:hidden}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.card-title h2,.card-title h3{margin:0}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:4px 0 24px}.page-head p{margin:0;color:var(--muted)}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rule{border:0;border-top:1px solid var(--line);margin:22px 0}.notice{padding:12px 15px;border:1px solid #d8e5f0;border-radius:9px;background:#f1f6fc;color:#526b87;display:flex;align-items:flex-start;gap:9px;font-size:12px}.notice.amber{background:#fff8e8;color:var(--amber);border-color:#f0dfb4}.notice.red{background:#fff1f3;color:var(--red);border-color:#efcbd3}.notice.teal{background:#eef9f7;color:#25716c;border-color:#cbe8e4}.notice .icon{width:17px;height:17px;margin-top:2px}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:var(--ink)}.field input,.field select,.field textarea,.search-input{min-height:44px;width:100%;border:1px solid #bfd1e2;border-radius:8px;padding:10px 12px;background:white;color:var(--ink);font-weight:400;outline-offset:2px}.field textarea{resize:vertical;min-height:98px}.field small{font-weight:400;color:var(--muted)}input::placeholder,textarea::placeholder{color:#8ca0b6}.field-error{color:var(--red);font-size:12px;min-height:17px}.form-error:empty{display:none}.form-error{background:#fff0f3;color:var(--red);padding:10px 12px;border-radius:8px;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid>.full{grid-column:1/-1}.search{position:relative;min-width:230px;max-width:420px;flex:1}.search .icon{position:absolute;left:13px;top:13px;width:18px;height:18px;color:var(--muted)}.search-input{padding-left:40px;font-size:12px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.select-inline{min-height:40px;max-width:230px;padding:8px 12px;border:1px solid #bdcfe0;background:#fff;color:var(--navy);border-radius:8px;font-size:12px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto;scrollbar-width:thin}.tab{border:none;border-bottom:3px solid transparent;background:none;color:var(--muted);padding:11px 14px;white-space:nowrap;font-weight:700;font-size:12px}.tab.active{color:var(--navy);border-bottom-color:var(--navy)}.segmented{display:inline-flex;border:1px solid #c9d9e7;border-radius:9px;padding:3px;gap:3px;background:#f3f7fc}.segmented button{padding:7px 13px;border:none;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.segmented button.active{background:var(--navy);color:#fff}.progress{height:9px;border-radius:20px;background:#e6edf5;overflow:hidden}.progress>span{display:block;height:100%;background:var(--teal);border-radius:inherit;transition:width .3s}.stat{display:flex;gap:16px;align-items:center;padding:21px}.stat strong{display:block;font-size:29px;line-height:1.2;margin-top:3px;letter-spacing:-.8px}.stat small{font-size:11px;color:var(--muted)}.stat .icon-tile{border-radius:50%;width:50px;height:50px}.mini-stats{display:flex;gap:24px;flex-wrap:wrap}.mini-stats strong{font-size:22px;display:block;line-height:1.3}.mini-stats small{color:var(--muted);font-size:10px}.page{max-width:1350px;margin:auto;padding:30px 32px 50px}.student-header{height:88px;position:sticky;top:0;z-index:20;background:#fffffffa;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 32px;gap:30px}.student-header .brand{flex-shrink:0}.student-nav{display:flex;align-items:stretch;justify-content:center;align-self:stretch;flex:1;gap:9px}.student-nav a{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 13px;color:var(--muted);font-size:12px;white-space:nowrap;border-bottom:3px solid transparent}.student-nav a.active{color:var(--navy);background:#f5f9fd;border-color:var(--navy);font-weight:700}.header-user{display:flex;align-items:center;gap:11px}.header-user small{display:block;font-size:10px;color:var(--muted)}.bottom-nav{display:none}.welcome{display:flex;gap:18px;align-items:center}.welcome h1{font-size:27px}.hero-progress{background:var(--navy);color:#fff;padding:27px;border-color:var(--navy)}.hero-progress .progress{background:#ffffff25;height:13px;margin:21px 0 10px}.hero-progress h2{font-size:21px}.hero-progress p{font-size:12px;color:#e0edfb;margin-bottom:22px}.student-columns{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}.test-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.test-card{display:flex;flex-direction:column;gap:15px}.test-card h3{margin:0}.test-card p{font-size:12px;color:var(--muted);margin:0;min-height:38px}.test-card .test-meta{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--muted);margin-top:auto}.test-card .test-meta .icon{width:15px;height:15px}.test-card.completed{background:#fcfdfd}.test-card .card-title{margin:0}.result-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #edf1f6}.result-row:last-child{border:0}.result-row .result-main{flex:1}.result-row h3{font-size:13px;margin:0 0 3px}.result-row p{margin:0;font-size:11px;color:var(--muted)}.result-card .score{font-size:24px;font-weight:700;white-space:nowrap}.test-shell{max-width:840px;margin:26px auto 60px;padding:0 22px}.test-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.test-shell .progress{margin:16px 0 25px}.question-box{padding:27px;background:#f3f7fc;border:1px solid var(--line);border-radius:12px;margin:22px 0}.question-box h2{font-size:23px;line-height:1.6;margin-bottom:8px}.answers{display:grid;gap:12px;margin:20px 0}.answer{display:flex;text-align:left;gap:16px;align-items:center;border:1px solid #cddbe7;border-radius:10px;background:white;padding:20px;min-height:70px;color:var(--ink);font-weight:700}.answer:hover{border-color:var(--teal)}.answer.selected{background:#eaf7f5;border-color:var(--teal);box-shadow:0 0 0 1px var(--teal)}.radio-dot{width:22px;height:22px;border:2px solid #99adbf;border-radius:50%;flex-shrink:0;display:grid;place-items:center}.selected .radio-dot{background:var(--teal);border-color:var(--teal)}.selected .radio-dot:after{content:'';width:7px;height:7px;border-radius:50%;background:white}.test-controls{display:flex;justify-content:space-between;gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.test-controls .btn{min-width:140px}.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.color-choice{aspect-ratio:1;border:6px solid #fff;border-radius:12px;box-shadow:0 0 0 1px #dae4ed;min-height:86px;position:relative}.color-choice:hover{box-shadow:0 0 0 3px var(--teal)}.color-ranks{display:flex;gap:9px;flex-wrap:wrap;min-height:68px;padding:15px;margin:16px 0;background:#eef7f8;border-radius:10px}.color-ranks>span{height:36px;width:36px;border-radius:6px;position:relative;border:1px solid #0001}.color-ranks b{position:absolute;right:-5px;top:-9px;font-size:10px;background:white;border:1px solid #cad4df;color:var(--navy);width:19px;height:19px;border-radius:50%;text-align:center}.shape-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.shape-choice{flex-direction:column;min-height:140px;justify-content:center}.shape-choice:last-child:nth-child(odd){grid-column:1/-1}.shape-svg{width:80px;height:75px;fill:none;stroke:var(--navy);stroke-width:4;stroke-linejoin:round}.hand-art{display:flex;justify-content:center;background:#f0f5fa;border-radius:12px;padding:25px}.hand-art svg{width:160px;height:190px;fill:none;stroke:var(--navy);stroke-width:3;stroke-linejoin:round}.question-image{max-width:100%;max-height:280px;object-fit:contain;display:block;margin:15px auto}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.login-art{position:relative;overflow:hidden;background:#edf5fa;padding:55px 70px;display:flex;flex-direction:column;justify-content:space-between;min-height:650px}.login-art:after{content:'';position:absolute;width:700px;height:700px;right:-240px;bottom:-250px;border-radius:50%;border:1px solid #b4d2e4;box-shadow:0 0 0 38px #edf5fa,0 0 0 39px #c5dce9,0 0 0 76px #edf5fa,0 0 0 77px #d0e3ed;pointer-events:none}.login-art>*{position:relative;z-index:1}.login-art h1{font-size:clamp(36px,4.3vw,65px);max-width:580px;letter-spacing:-2px;margin-bottom:22px}.login-art .motto{font-size:20px;color:#4b6e8f;max-width:400px}.gold-line{width:50px;height:3px;background:#d5b56a;margin:35px 0}.login-form-side{padding:45px;display:flex;align-items:center;justify-content:center}.login-box{width:100%;max-width:400px}.login-box h2{font-size:27px;margin-bottom:10px}.login-box form{display:flex;flex-direction:column;gap:17px;margin-top:28px}.login-box .brand{margin-bottom:32px;display:none}.login-switch{margin-top:25px;display:flex;justify-content:space-between;gap:15px;font-size:12px}.login-demo{background:#f7f9fc;padding:15px;border-radius:9px;margin-top:25px;font-size:11px;color:var(--muted)}.login-footer{font-size:11px;color:#71869a;margin-top:28px}.admin-layout{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;background:#fff;border-right:1px solid var(--line);padding:28px 15px 18px;display:flex;flex-direction:column;z-index:40;overflow-y:auto}.sidebar .brand{flex-direction:column;text-align:center;gap:7px;margin:0 0 25px}.sidebar .brand img{width:82px;height:82px}.sidebar .brand strong{font-size:33px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:9px;color:#294b70;font-size:12px;line-height:1.6}.nav-item>.icon{width:20px;height:20px}.nav-item .count{margin-left:auto;border-radius:50px;font-size:10px;padding:1px 7px;background:#e5effb;color:#174a87;font-weight:700}.nav-item.active{background:var(--navy);color:white;box-shadow:0 5px 12px #163e7018}.nav-item.active .count{background:#fff;color:var(--navy)}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom p{padding:16px 12px 0;border-top:1px solid var(--line);font-size:10px;margin:12px 0 0;color:var(--muted)}.admin-workspace{grid-column:2;min-width:0}.admin-header{height:74px;background:#ffffffde;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 28px;position:sticky;top:0;z-index:25;backdrop-filter:blur(10px)}.breadcrumbs{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;flex-wrap:wrap}.breadcrumbs a:hover{text-decoration:underline}.admin-main{max-width:1660px;margin:auto;padding:27px 28px 45px}.admin-main .stat{padding:18px}.admin-main .stat strong{font-size:27px}.admin-main .stat .icon-tile{width:43px;height:43px}.admin-main .stat small{font-size:10px}.admin-charts{grid-template-columns:1.55fr 1fr}.chart{height:220px;display:flex;align-items:flex-end;gap:12px;padding:25px 8px 25px;border-bottom:1px solid var(--line);position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,#edf2f6 44px,#edf2f6 45px)}.chart-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;min-width:10px;gap:6px}.chart-col .bar{width:70%;max-width:48px;min-height:2px;background:var(--navy);border-radius:4px 4px 0 0;position:relative}.chart-col:nth-child(3n+2) .bar{background:var(--teal)}.chart-col:nth-child(3n) .bar{background:#9ac9ea}.chart-col small{font-size:9px;position:absolute;bottom:-22px}.chart-col b{font-size:9px;font-weight:400}.donut-row{display:flex;align-items:center;gap:28px;justify-content:center;min-height:238px}.donut{width:170px;height:170px;border-radius:50%;position:relative;display:grid;place-items:center;flex-shrink:0}.donut:before{content:'';position:absolute;inset:29px;border-radius:50%;background:#fff}.donut>span{position:relative;text-align:center;font-size:13px}.donut strong{display:block;font-size:31px}.legend{display:flex;flex-direction:column;gap:13px;font-size:11px}.legend>div{display:flex;gap:8px;align-items:center}.dot{height:10px;width:10px;border-radius:50%;display:inline-block;flex-shrink:0}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{padding:12px 13px;background:#f2f6fa;color:#54708b;font-size:10px;font-weight:700;white-space:nowrap}td{padding:14px 13px;border-bottom:1px solid #e9eff5;vertical-align:middle}tr:last-child td{border-bottom:0}td .sub{font-size:10px;color:var(--muted);display:block;margin-top:3px}.table-person{display:flex;align-items:center;gap:9px;white-space:nowrap}.table-person b{font-size:11px}tbody tr:hover{background:#f8fbfd}.pagination{padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted)}.faculty-card{display:flex;flex-direction:column;gap:18px}.faculty-card h3{margin:0}.faculty-card .mini-stats{gap:18px}.faculty-card .mini-stats strong{font-size:20px}.attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.attention-card{padding:20px;display:flex;flex-direction:column;gap:15px}.attention-card h3{margin:0}.attention-card p{font-size:11px;color:var(--muted);margin:3px 0 0}.count-strip{display:flex;gap:10px;font-size:11px;align-items:center;padding:11px;background:#fff5f6;border-radius:9px;color:var(--red)}.detail-top{display:flex;gap:15px;align-items:center;margin-bottom:20px}.detail-top h2{margin-bottom:4px}.detail-top p{margin:3px 0;font-size:12px;color:var(--muted)}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f4f7fb;padding:17px;border-radius:10px;font-size:12px}.details-grid small{display:block;color:var(--muted);font-size:10px}.dialog-results{margin-top:25px}.dialog-results .result-card{margin-bottom:12px;padding:16px}.import-drop{border:2px dashed #b7cfe0;border-radius:12px;background:#f6fafc;padding:35px;text-align:center}.import-drop .icon{width:38px;height:38px;color:var(--teal);margin-bottom:10px}.import-drop input{max-width:100%;font-size:12px;margin:15px auto}.stepper{display:flex;align-items:center;gap:15px;justify-content:center;margin:22px 0}.stepper span{font-size:12px;color:var(--muted)}.stepper span.active{color:var(--navy);font-weight:700}.stepper i{height:1px;background:var(--line);width:50px}.row-error{background:#fff5f7}.row-success{color:var(--green)}.appointment-card{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.appointment-card h3{margin-bottom:4px}.appointment-card p{font-size:12px;color:var(--muted);margin:9px 0}.appointment-card .reason{font-size:14px;color:var(--ink);font-weight:700}.chat-layout{display:grid;grid-template-columns:305px minmax(0,1fr);border:1px solid var(--line);border-radius:13px;background:white;overflow:hidden;height:calc(100vh - 160px);min-height:510px}.conversation-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.conversation-list .list-head{padding:20px 17px 0}.conversation-list .search{min-width:0}.conversation-items{overflow:auto;padding:8px}.conversation-item{display:flex;gap:10px;align-items:center;text-align:left;width:100%;border:1px solid transparent;background:white;border-radius:10px;padding:15px 12px;color:var(--ink)}.conversation-item.active{background:#eff6fc;border-color:#bdd2e5}.conversation-item h3{font-size:12px;margin:0}.conversation-item p{font-size:10px;color:var(--muted);margin:4px 0 0;max-width:170px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-head h3{margin:0}.chat-head small{color:var(--muted)}.messages{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:17px;min-height:250px}.message{max-width:76%;padding:14px 17px;border-radius:13px 13px 13px 3px;background:#edf3f8;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.message.mine{background:var(--navy);color:#fff;align-self:flex-end;border-radius:13px 13px 3px 13px}.message small{display:block;font-size:9px;text-align:right;color:#7990a6;margin-top:7px}.message.mine small{color:#c4d8ed}.date-separator{align-self:center;color:var(--muted);font-size:10px;background:#f6f8fb;padding:3px 13px;border-radius:20px}.message-form{padding:15px 20px;border-top:1px solid var(--line);display:flex;gap:10px}.message-form textarea{width:100%;min-height:45px;max-height:130px;resize:vertical;border:1px solid #c2d4e4;border-radius:9px;padding:11px 13px;font-size:12px}.chat-note{padding:0 20px 14px;font-size:10px;color:var(--muted)}.student-chat{height:calc(100vh - 245px);min-height:500px;max-width:900px;margin:auto;display:flex;flex-direction:column;padding:0;overflow:hidden}.test-editor{display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px}.test-editor-list{padding:10px}.test-editor-list a{display:flex;align-items:center;justify-content:space-between;padding:14px 11px;font-size:11px;border-radius:7px}.test-editor-list a.active{background:#e8f4fb;font-weight:700}.question-editor{padding:18px;background:#f8fafc;border:1px solid var(--line);border-radius:10px;margin-bottom:15px}.option-editor{display:grid;grid-template-columns:minmax(0,1fr) 78px 35px;gap:9px;align-items:center;margin:8px 0}.question-editor input,.question-editor textarea,.question-editor select{width:100%;border:1px solid #c9d9e7;border-radius:6px;padding:8px 10px;background:white;font-size:12px;color:var(--ink)}.editor-levels{display:grid;grid-template-columns:1fr 1fr;gap:14px}.level-editor{padding:16px;border:1px solid var(--line);border-radius:10px}.level-editor input,.level-editor textarea{width:100%;border:1px solid #c9d9e7;padding:8px;border-radius:6px;font-size:12px}.level-editor .range-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.demo-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:30px 0 0;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:#7c8d9d;flex-wrap:wrap}.state-switch{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.state-switch button{border:0;background:transparent;padding:3px 6px;font-size:10px;color:#6d8298;text-decoration:underline}.empty-state{padding:55px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:13px}.empty-state .icon-tile{height:66px;width:66px;border-radius:50%}.empty-state h3{font-size:18px;margin:0}.empty-state p{font-size:12px;max-width:380px;color:var(--muted);margin:0}.skeleton{background:linear-gradient(90deg,#edf2f6 25%,#f8fafc 50%,#edf2f6 75%);background-size:200% 100%;animation:skeleton 1.4s infinite;border-radius:8px;height:20px;margin:12px 0}.skeleton.big{height:95px}.skeleton.short{width:60%}@keyframes skeleton{to{background-position:-200% 0}}.component-swatch{height:68px;border-radius:10px;margin-bottom:7px}.mobile-menu-toggle{display:none}.sidebar-overlay{display:none}.skip-link{position:fixed;top:-100px;left:15px;z-index:200;background:white;padding:12px}.skip-link:focus{top:12px}dialog{border:1px solid var(--line);border-radius:16px;width:min(650px,calc(100vw - 30px));max-height:88vh;padding:0;color:var(--ink);box-shadow:0 25px 100px #0b274940;background:#fff}dialog::backdrop{background:#0b27495e;backdrop-filter:blur(3px)}dialog.wide{width:min(950px,calc(100vw - 30px))}dialog.drawer{width:min(660px,100vw);max-height:100dvh;height:100dvh;margin:0 0 0 auto;border-radius:0;border-right:0;border-top:0;border-bottom:0}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-header h2{margin:0;font-size:20px}.dialog-body{padding:24px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);flex-wrap:wrap}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#123c5a;color:white;padding:12px 23px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;z-index:200;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 30px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.plain-list{list-style:none;padding:0;margin:0}.password-wrap{position:relative}.password-wrap input{padding-right:48px}.password-wrap button{position:absolute;right:3px;top:2px;border:0;background:transparent;color:var(--muted)}.appointment-detail{display:grid;gap:13px}.appointment-detail p{margin:0}.mobile-chat-back{display:none}
@media(min-width:1600px){.admin-main{padding:35px 45px}.student-header{padding:0 max(32px,calc((100vw - 1400px)/2))}}@media(max-width:1250px){.student-header{gap:15px;padding:0 22px}.student-nav a{padding:0 8px;font-size:10px;gap:6px}.student-header .header-user .user-text{display:none}.admin-layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px}.admin-main{padding:23px 22px}.admin-main .cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.test-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-charts{grid-template-columns:1.4fr 1fr}.donut-row{flex-direction:column;gap:18px}.legend{flex-direction:row;flex-wrap:wrap;justify-content:center}.login-art{padding:45px}.test-editor{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:1000px){.student-nav a{flex-direction:column;gap:2px;font-size:9px}.student-header .brand img{width:43px;height:43px}.student-header .brand strong{font-size:24px}.student-header .brand{min-width:140px}.header-user .btn .btn-label{display:none}.page{padding:25px 22px 45px}.student-columns{grid-template-columns:1.2fr 1fr}.stat{padding:16px;gap:10px}.stat strong{font-size:25px}.stat .icon-tile{width:40px;height:40px}.stat small{font-size:9px}.admin-charts{grid-template-columns:1fr}.admin-charts .donut-row{flex-direction:row;min-height:180px}.admin-main .cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:245px minmax(0,1fr)}.chat-head{padding:14px}.chat-head .btn{padding:7px;font-size:10px}.messages{padding:17px}.test-editor{grid-template-columns:1fr}.test-editor-list{display:flex;overflow:auto;gap:5px}.test-editor-list a{white-space:nowrap}.sidebar .brand img{width:65px;height:65px}.sidebar .brand strong{font-size:28px}.nav-item{font-size:11px;padding:13px 10px}.admin-header .header-user .user-text{display:none}}
@media(max-width:760px){body{font-size:13px}.student-header{height:75px;padding:0 18px}.student-header .brand{min-width:0}.student-nav{display:none}.student-header .header-user{margin-left:auto}.student-header .header-user .avatar{display:none}.student-header .header-user .btn-label{display:inline}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:35;min-height:66px;padding-bottom:env(safe-area-inset-bottom);background:#fffffffc;border-top:1px solid var(--line);justify-content:space-around}.bottom-nav a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:10px 3px 7px;font-size:9px;color:var(--muted);position:relative}.bottom-nav a.active{color:var(--navy);font-weight:700}.bottom-nav a.active:before{content:'';height:3px;width:25px;border-radius:10px;background:var(--navy);position:absolute;top:0}.bottom-nav .icon{width:23px;height:23px}.page{padding:23px 18px 98px}.page-head{margin-bottom:20px;gap:13px}.page-head h1{font-size:27px}.page-head p{font-size:11px}.welcome{gap:13px}.welcome h1{font-size:22px;letter-spacing:-.6px}.welcome .avatar{width:56px;height:56px;font-size:20px}.cols-4{grid-template-columns:1fr 1fr}.cols-3{grid-template-columns:1fr}.student-columns{grid-template-columns:1fr}.test-list{grid-template-columns:1fr}.card{padding:18px}.stat{padding:16px}.stat strong{font-size:27px}.stat small{font-size:10px}.stat .icon-tile{width:40px;height:40px}.hero-progress{padding:22px}.hero-progress h2{font-size:18px}.login-page{display:block}.login-art{min-height:auto;padding:27px 25px 30px}.login-art .brand{margin-bottom:34px}.login-art .brand img{width:62px;height:62px}.login-art h1{font-size:38px;letter-spacing:-1.5px;line-height:1.15;max-width:330px;margin-bottom:16px}.login-art .motto{font-size:17px;max-width:290px;margin:0}.login-art .institution{display:none}.login-art .gold-line{margin:16px 0;width:35px}.login-form-side{padding:28px 25px 35px;background:#fff}.login-box{max-width:500px}.login-box>h2{font-size:23px}.login-box form{margin-top:20px}.login-demo{margin-top:20px}.login-switch{font-size:11px}.test-shell{padding:0 17px;margin-top:22px}.test-top h1{font-size:23px}.question-box{padding:20px}.question-box h2{font-size:19px;line-height:1.6}.answer{padding:17px;font-size:14px}.color-grid{grid-template-columns:repeat(2,1fr)}.color-choice{min-height:105px;aspect-ratio:1.5}.test-controls{position:sticky;bottom:0;background:#fff;padding:15px 0;z-index:10}.test-controls .btn{min-width:120px}.admin-layout{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:255px}.sidebar.open{transform:translateX(0)}.sidebar.open+.sidebar-overlay{display:block;position:fixed;inset:0;z-index:39;background:#102e4d77}.admin-workspace{display:block}.admin-header{height:67px;padding:0 17px}.mobile-menu-toggle{display:inline-flex}.admin-header .breadcrumbs{font-size:10px}.admin-header .header-user .badge{display:none}.admin-main{padding:21px 17px 35px}.admin-main .page-head{flex-direction:column;gap:12px}.admin-main .page-head>.actions{width:100%}.admin-main .stat{padding:14px;gap:10px}.admin-main .stat strong{font-size:25px}.admin-main .stat small{font-size:9px}.admin-main .stat .icon-tile{width:37px;height:37px}.admin-main .cols-3{grid-template-columns:1fr}.admin-main .cols-2{grid-template-columns:1fr}.admin-main .cols-4{gap:12px}.attention-grid{grid-template-columns:1fr}.attention-card{padding:20px}.admin-charts .donut-row{flex-direction:row}.chart{height:200px;gap:8px}.toolbar .search{max-width:none;min-width:190px;width:100%;flex-basis:100%}.toolbar{align-items:stretch}.toolbar>.segmented{align-self:flex-start}.faculty-card .mini-stats{justify-content:space-between}.appointment-card{flex-direction:column}.appointment-card>.actions{width:100%}.appointment-card>.actions .btn{flex:1}.table-wrap table{min-width:620px}.table-wrap.mobile-cards table{min-width:0}.mobile-cards thead{display:none}.mobile-cards table,.mobile-cards tbody,.mobile-cards tr,.mobile-cards td{display:block}.mobile-cards tr{padding:10px 0;border-bottom:1px solid var(--line)}.mobile-cards td{display:flex;align-items:center;justify-content:space-between;border:none;padding:7px 3px;gap:10px}.mobile-cards td:before{content:attr(data-label);font-size:10px;color:var(--muted);margin-right:auto}.mobile-cards td:first-child:before{display:none}.mobile-cards .table-person{font-size:13px}.mobile-cards .table-person b{font-size:12px}.chat-layout{height:calc(100dvh - 130px);min-height:420px;grid-template-columns:1fr}.conversation-list{border-right:0}.chat-layout.show-chat .conversation-list{display:none}.chat-layout:not(.show-chat) .chat-pane{display:none}.mobile-chat-back{display:inline-flex}.chat-head{padding:14px 13px}.chat-head .avatar{width:34px;height:34px;font-size:11px}.chat-head h3{font-size:12px}.chat-head .btn .btn-label{display:none}.chat-head .btn{width:35px;height:35px;min-height:35px;padding:0}.message{max-width:88%;padding:12px 14px;font-size:12px}.message-form{padding:12px}.chat-note{padding:0 13px 12px;font-size:9px}.student-chat{height:calc(100dvh - 235px);min-height:430px}.student-chat .messages{padding:18px 14px}.editor-levels{grid-template-columns:1fr}.details-grid{font-size:11px}.dialog-header{padding:18px}.dialog-body{padding:19px}.dialog-header h2{font-size:18px}dialog.drawer{width:100%;border-left:none}.demo-footer{font-size:9px}.state-switch button{font-size:9px}#toast{bottom:85px}.page-head .select-inline{max-width:175px}.test-editor-list a{padding:9px;font-size:10px}.tabs{margin-bottom:16px}.tab{padding:10px;font-size:11px}}
@media(max-width:420px){.stat{padding:13px;gap:8px}.stat .icon-tile{width:34px;height:34px}.stat .icon-tile .icon{width:20px;height:20px}.stat small{font-size:9px}.stat strong{font-size:25px}.grid{gap:13px}.form-grid{grid-template-columns:1fr}.form-grid>.full{grid-column:auto}.span-2{grid-column:auto}.student-header .brand strong{font-size:25px}.student-header .brand small{font-size:9px}.student-header .btn{padding:8px 10px;font-size:10px}.welcome h1{font-size:20px}.result-card .score{font-size:20px}.donut{height:140px;width:140px}.donut:before{inset:24px}.donut-row{gap:14px}.legend{font-size:10px}.admin-main .stat .icon-tile{display:none}.stepper{gap:8px}.stepper span{font-size:10px}.stepper i{width:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{.sidebar,.admin-header,.student-header,.bottom-nav,.demo-footer,.actions,.btn{display:none!important}.admin-layout{display:block}.admin-main,.page{padding:0}.card{break-inside:avoid}.table-wrap{overflow:visible}body{background:#fff;font-size:11px}}

.row>.progress{flex:1;min-width:50px}
/* University roster, full test titles and per-test results. */
.test-card h3,.test-top h1,.result-main h3,.result-card h3,.attention-card h3,.detail-top h2{overflow-wrap:anywhere;white-space:normal;line-height:1.5}.test-card h3{min-height:3em}.test-card .btn{white-space:normal;min-height:44px}.nav-unread{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:20px;background:#d54949;color:#fff;font-size:11px;font-weight:700;padding:0 5px;margin-left:5px}.mobile-nav a{position:relative}.mobile-nav .nav-unread{position:absolute;right:12px;top:0}.test-top h1{font-size:23px}.progress-caption{margin:18px 0 10px}.test-shell .answers{margin-top:24px}.answer{white-space:normal;align-items:flex-start;text-align:left;height:auto;min-height:60px;padding:18px;line-height:1.65}.answer>span:last-child{min-width:0;overflow-wrap:anywhere}.answer .radio-dot{flex:0 0 20px;margin-top:3px}.six-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wagner-image{min-height:260px;height:320px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;margin:24px auto}.wagner-image img{max-width:100%;max-height:100%;object-fit:contain;padding:20px}.wagner-image img[hidden]{display:none}.wagner-image.missing{background:#f1f4f7;color:var(--muted)}.wagner-image.missing .icon{width:48px;height:48px}.stage-transition{text-align:center;margin-top:30px;padding:36px}.stage-transition .icon-tile{margin:auto}.stage-transition h2{margin-top:22px}.stage-transition .btn{margin-top:24px}.rank-slots,.shape-result-order{list-style:none;padding:0;margin:24px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.rank-slots li,.shape-result-order li{background:#f4f7fa;border:1px dashed #c5d2df;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:120px;gap:10px;padding:10px}.rank-slots li.filled{border-style:solid;background:#edf7f6;border-color:#abd6d0}.rank-slots li b,.shape-result-order li>span{font-size:12px;background:var(--blue);border-radius:50%;width:24px;height:24px;display:grid;place-items:center;color:white}.rank-slots .shape-svg,.shape-result-order .shape-svg{width:55px;height:45px}.rank-slots small,.shape-result-order small{font-size:10px;overflow-wrap:anywhere;text-align:center}.rank-slots li>span{font-size:11px;color:var(--muted)}.result-card-header{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px}.result-card-header>div{min-width:0}.result-card-header small{display:block;margin-top:6px}.result-score{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.result-score>strong{font-size:36px;letter-spacing:-1px;color:var(--blue)}.result-score small{font-size:14px;font-weight:400;letter-spacing:0}.dual-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dual-result section{background:#f5f7fa;border-radius:12px;padding:20px}.dual-result h3{font-size:14px;margin-bottom:15px}.result-bars{display:grid;gap:18px;margin-top:20px}.result-bars .progress{margin-top:8px;height:8px}.result-bars .row{gap:15px;align-items:flex-start}.result-bars .row>strong{white-space:nowrap}.result-bars small{font-size:11px;font-weight:400;color:var(--muted)}.primary-result{padding:18px;background:#edf6f5;border-radius:12px}.primary-result small,.primary-shape small{color:var(--muted)}.primary-result h2{margin:5px 0 0}.color-result+ .color-result{margin-top:20px}.color-result h3{font-size:13px}.color-sequence{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:16px 0}.color-sequence li{display:flex;flex-direction:column;text-align:center;gap:8px}.result-color{display:block;height:40px;width:100%;border-radius:8px;box-shadow:inset 0 0 0 1px #00000012}.color-sequence small{font-size:11px;color:var(--muted)}.primary-shape{display:flex;align-items:center;gap:20px;padding:18px;background:#edf6f5;border-radius:12px}.primary-shape>.shape-svg{width:80px;height:70px}.primary-shape h2{margin:5px 0 0}.result-conclusion{margin-top:20px;border-top:1px solid var(--line);padding-top:18px;line-height:1.7;font-size:13px}.result-conclusion p{margin:6px 0 0;color:var(--muted)}.dialog-results .result-card{margin-top:16px}.horizontal-chart{display:grid;gap:16px;max-height:430px;overflow:auto;padding:8px 6px 8px 0;margin-top:20px;scrollbar-width:thin}.chart-line{display:grid;grid-template-columns:minmax(100px,38%) minmax(30px,1fr) 46px;gap:12px;align-items:center;min-height:25px}.chart-label{font-size:11px;line-height:1.45;overflow-wrap:anywhere;cursor:help}.chart-track{height:9px;display:block;border-radius:5px;background:#edf1f6;overflow:hidden}.chart-track>span{display:block;height:100%;background:var(--blue);border-radius:5px}.chart-line:nth-child(2n) .chart-track>span{background:var(--teal)}.chart-line strong{font-size:11px;text-align:right}.toolbar{flex-wrap:wrap;gap:12px}.toolbar .select-inline{max-width:100%;min-width:130px}.toolbar .test-select{max-width:300px}.table-person{align-items:flex-start;max-width:360px}.table-person>span:last-child{min-width:0}.table-person b{font-size:11px;white-space:normal;line-height:1.6;overflow-wrap:anywhere}.table-person .sub{white-space:normal;font-size:10px}.table-wrap td{max-width:400px;white-space:normal;overflow-wrap:anywhere}.table-wrap th{white-space:nowrap}.import-groups{max-height:380px;overflow:auto}.confirm-roster{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:18px 0}.confirm-roster input{width:18px;height:18px;flex:0 0 18px;margin-top:2px}.question-editor .field{margin:12px 0}.question-editor textarea{min-height:70px}.question-editor{padding-bottom:24px}.test-editor-list{max-height:660px;overflow:auto;align-self:start}summary{cursor:pointer;font-size:13px;font-weight:700;padding:12px 0}.result-card-header .icon-tile{flex-shrink:0}.welcome>div{min-width:0}
@media(max-width:760px){.welcome h1{font-size:clamp(17px,5.2vw,23px);line-height:1.35}.welcome p{font-size:10px;line-height:1.6;margin-top:6px}.welcome .avatar{width:42px;height:42px;font-size:15px;flex-shrink:0}.welcome{gap:10px}.page-head:has(.welcome)>.badge{display:none}.test-top h1{font-size:18px}.six-options{grid-template-columns:1fr}.wagner-image{height:280px;min-height:220px}.answer{padding:15px;font-size:13px}.rank-slots,.shape-result-order{gap:5px}.rank-slots li,.shape-result-order li{padding:5px;min-height:100px}.rank-slots .shape-svg,.shape-result-order .shape-svg{width:38px;height:36px}.rank-slots small,.shape-result-order small{font-size:9px}.dual-result{grid-template-columns:1fr}.result-score>strong{font-size:30px}.color-sequence{gap:5px}.result-color{height:30px}.toolbar .test-select{width:100%;max-width:none}.chart-line{grid-template-columns:minmax(90px,42%) minmax(25px,1fr) 38px;gap:8px}.horizontal-chart{max-height:480px}.table-person{max-width:none}.table-person b{font-size:11px}.test-controls{gap:10px}.test-controls .btn{font-size:12px}.stage-transition{padding:24px 18px}.result-card-header{gap:10px}.result-card-header h3{font-size:14px}.result-card-header small{font-size:10px}}
