:root{color-scheme:light;--bg:#f4f6fa;--surface:#fff;--ink:#14223c;--muted:#617088;--line:#e0e6ef;--blue:#245bdf;--navy:#142749;--red:#b82f39;--radius:14px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #88adff;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2.05rem;letter-spacing:-.035em;line-height:1.2;margin-bottom:10px}h2{font-size:1.5rem;line-height:1.35;letter-spacing:-.025em;margin:0 0 8px}h3{font-size:1.05rem;margin-bottom:12px}p{line-height:1.6}.muted{color:var(--muted);line-height:1.5}.small-note,.field-hint{font-size:.8125rem;color:var(--muted);line-height:1.5}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.13em;color:var(--muted);display:block;margin-bottom:14px}.app-header{height:84px;background:var(--surface);border-bottom:1px solid var(--line);padding:0 max(28px,calc((100vw - 1392px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:13px;align-items:center;font-size:1.15rem;letter-spacing:-.025em;color:var(--ink)}.brand span{font-weight:400}.account{display:flex;gap:18px;align-items:center;font-size:.875rem}.button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;min-height:43px;padding:10px 17px;display:inline-flex;gap:10px;align-items:center;justify-content:center;font-size:.875rem;font-weight:600;line-height:1.4;transition:background .15s}.button:hover{background:#f1f5fc}.button.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 2px 3px #183c9e1a}.button.primary:hover{background:#174bc7}.button.ghost{background:transparent;box-shadow:none}.button.danger{background:var(--red);color:white;border-color:var(--red)}.button.small{min-height:34px;padding:6px 11px}.button.wide{width:100%;justify-content:space-between}.icon-button{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:white;font-size:1.5rem;flex-shrink:0;color:var(--muted)}.login-view{max-width:1000px;margin:70px auto;display:grid;grid-template-columns:1fr 1fr;border-radius:22px;overflow:hidden;box-shadow:0 16px 64px #1427490a;border:1px solid var(--line);background:white}.login-card{padding:48px}.login-card h1{font-size:2.1rem;margin-bottom:15px}.login-card form{margin:30px 0 25px}.login-card label{margin-bottom:18px}.login-aside{background:var(--navy);color:white;padding:46px;display:flex;flex-direction:column;justify-content:space-between;gap:55px}.outline-tag{align-self:flex-start;border:1px solid #7384a666;border-radius:7px;padding:9px 12px;font-size:.75rem;letter-spacing:.13em}.journey>div{display:flex;gap:20px;align-items:baseline;padding:25px 0;border-top:1px solid #7384a644}.journey>div>span{font-size:.8125rem;color:#90aff9}.journey p{font-size:1.35rem;margin:0}.journey small{font-size:.875rem;display:block;color:#a7b7d2;margin-top:7px}.workspace{max-width:1448px;margin:auto;padding:0 28px}.main-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:34px;overflow-x:auto}.main-tabs button{white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);font-size:.875rem;font-weight:600;padding:24px 0 20px}.main-tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{margin:0;font-size:.875rem}.count{font-size:1rem;background:#e8edf5;padding:4px 9px;border-radius:8px;color:#566682;vertical-align:middle;margin-left:9px;letter-spacing:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 28px;border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden}.metric{padding:22px 25px;position:relative;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric-title{color:var(--muted);font-size:.875rem;display:block}.metric-value{font-size:1.85rem;letter-spacing:-.04em;font-weight:600;margin-top:8px;display:block}.metric-note{font-size:.75rem;color:var(--muted);margin-top:5px;display:block}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.toolbar{padding:19px 22px;display:flex;gap:14px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar input{max-width:360px;min-width:230px}.toolbar select{width:auto;min-width:190px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left}th{font-size:.75rem;color:var(--muted);font-weight:600;padding:16px 22px;background:#fafbfd;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:19px 22px;border-bottom:1px solid #edf0f5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fbff}.student-link{background:none;border:0;padding:0;text-align:left;font-weight:600;color:var(--ink);font-size:.9375rem;line-height:1.45}.student-link:hover{color:var(--blue)}.student-cell{display:flex;align-items:center;gap:13px}.avatar{width:37px;height:37px;flex-shrink:0;background:#eaf0fc;color:#3762b5;border-radius:11px;display:grid;place-items:center;font-size:.75rem;font-weight:600}.cell-sub{display:block;color:var(--muted);font-size:.8125rem;margin-top:5px;line-height:1.5}.nowrap{white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;background:#edf1f7;color:#56647a;font-size:.8125rem;line-height:1.3;white-space:nowrap}.badge.blue{background:#eaf0ff;color:#2c55b6}.badge.green{background:#e7f5ef;color:#247054}.badge.orange{background:#fff1dd;color:#946022}.badge.red{background:#ffebec;color:#ac3541}.empty{padding:60px 24px;text-align:center;max-width:560px;margin:auto}.empty-icon{display:grid;place-items:center;width:64px;height:64px;background:#edf3ff;color:var(--blue);border:1px solid #dbe6ff;border-radius:20px;font-size:1.8rem;margin:0 auto 22px}.empty h3{font-size:1.1rem}.empty p{font-size:.875rem;color:var(--muted);margin-bottom:24px}.empty.compact{padding:30px 18px}.empty.compact .empty-icon{width:48px;height:48px;font-size:1.3rem}.table-footer{padding:16px 22px;border-top:1px solid var(--line);font-size:.8125rem;color:var(--muted);display:flex;gap:15px;justify-content:space-between}.footer{padding:26px 0;display:flex;justify-content:space-between;gap:20px;font-size:.75rem;color:var(--muted)}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:500;line-height:1.5}input,textarea,select{width:100%;border:1px solid #d6deea;border-radius:8px;background:white;color:var(--ink);padding:11px 12px;min-height:44px;font-size:.9375rem;box-shadow:0 1px 2px #16233a03}input::placeholder,textarea::placeholder{color:#8794a8}input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--blue);box-shadow:none}textarea{resize:vertical;line-height:1.5;min-height:85px}.required{color:var(--blue);display:inline}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.span-2{grid-column:span 2}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.error{color:var(--red);font-size:.875rem;line-height:1.5;margin-top:12px}.error:empty{display:none}dialog{border:1px solid var(--line);background:white;color:var(--ink);padding:0;box-shadow:0 18px 100px #14274924}dialog::backdrop{background:#0c1b3699;backdrop-filter:blur(2px)}dialog.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(850px,100%);max-width:100%;height:100dvh;max-height:100dvh;border-radius:20px 0 0 20px;overflow:hidden}dialog.drawer[open]{display:flex;flex-direction:column}.drawer-header{padding:30px 34px 24px;display:flex;align-items:flex-start;gap:20px;justify-content:space-between}.drawer-header .eyebrow{margin-bottom:12px}.drawer-header h2{padding-right:8px;overflow-wrap:anywhere}.drawer-header .muted{font-size:.875rem}.detail-tabs{display:flex;gap:25px;padding:0 34px;border-bottom:1px solid var(--line);flex-shrink:0}.detail-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:16px 0;color:var(--muted);font-size:.875rem;font-weight:600;white-space:nowrap}.detail-tabs button[aria-selected=true]{color:var(--blue);border-bottom-color:var(--blue)}.detail-tabs span{font-size:.75rem;background:#edf1f6;border-radius:5px;padding:2px 6px;margin-left:4px}.drawer-body{padding:30px 34px;overflow-y:auto;flex:1;min-height:0}dialog.modal{width:min(550px,calc(100% - 32px));max-height:calc(100dvh - 40px);border-radius:18px;padding:28px;overflow:auto}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.modal-header h2{font-size:1.3rem}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.section-heading h3{margin:0}.section-heading p{font-size:.8125rem;margin:5px 0 0}.upload-zone{border:1.5px dashed #bdcceb;border-radius:13px;background:#f7faff;padding:30px 22px;text-align:center;margin-bottom:23px}.upload-zone.dragover{background:#e3edff;border-color:var(--blue)}.upload-zone p{margin:13px 0 0;font-size:.8125rem;color:var(--muted)}.file-row{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:15px 0}.file-icon{background:#edf2fb;border:1px solid #dde6f4;color:#476493;font-size:.65rem;font-weight:700;border-radius:7px;width:42px;height:47px;display:grid;place-items:center;flex-shrink:0}.file-info{flex:1;min-width:0}.file-name{font-size:.875rem;overflow-wrap:anywhere;font-weight:500}.file-actions{display:flex;gap:8px}.file-actions button{font-size:.75rem}.stages-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:28px}.stage-card{padding:18px 20px;background:#f7f9fc;border:1px solid var(--line);border-radius:11px}.stage-card h3{margin-bottom:10px}.timeline{margin-top:15px}.exam-item{border:1px solid var(--line);border-radius:12px;padding:20px;margin-bottom:14px}.exam-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.exam-item h3{margin:0 0 7px}.exam-item .muted{font-size:.8125rem}.exam-comment{white-space:pre-wrap;font-size:.875rem;margin:15px 0 0;overflow-wrap:anywhere}.exam-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.exam-actions .button{font-size:.8125rem}.info-note{padding:16px 19px;background:#edf3ff;border:1px solid #dce7fc;border-radius:10px;line-height:1.6;font-size:.875rem;color:#365681;margin-bottom:22px}.retention-grid{display:grid;grid-template-columns:minmax(280px,350px) 1fr;gap:24px;align-items:start}.settings-panel{padding:25px}.settings-panel label{margin-top:20px}.settings-panel p{font-size:.8125rem}.settings-panel .button{margin-top:23px}.check-label{display:flex;flex-direction:row;align-items:center;gap:10px}.confirm-description{font-size:.875rem;line-height:1.7;color:var(--muted);margin:18px 0;max-height:240px;overflow:auto}.confirm-description ul{padding-left:20px}.confirm-description strong{color:var(--ink)}#toast{position:fixed;z-index:1000;bottom:24px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border:1px solid #60779c;border-radius:11px;padding:15px 24px;max-width:calc(100% - 32px);box-shadow:0 8px 25px #14274922;font-size:.875rem;line-height:1.5}.loading{padding:65px;text-align:center;color:var(--muted)}@media(max-width:1150px){th,td{padding-left:16px;padding-right:16px}.metric{padding:20px}.hide-medium{display:none}.retention-grid{grid-template-columns:280px 1fr}}@media(max-width:760px){.app-header{height:72px;padding:0 20px}.brand{font-size:1rem}.brand img{width:34px;height:34px}.account{gap:8px}.account>span{max-width:100px;overflow:hidden;text-overflow:ellipsis}.workspace{padding:0 18px}.main-tabs{gap:24px;margin-bottom:25px}.page-heading{align-items:flex-start;margin-bottom:20px}h1{font-size:1.6rem}.metrics{grid-template-columns:1fr 1fr}.metric{padding:18px;border-bottom:1px solid var(--line)}.metric:nth-child(2){border-right:0}.metric:nth-child(3){border-bottom:0}.metric-value{font-size:1.6rem}.metric-title{font-size:.8125rem}.metric-note{display:none}.page-heading .button{padding:9px 11px;font-size:.8125rem}.toolbar{padding:16px}.toolbar input,.toolbar select{max-width:100%;min-width:0;flex:1}.mobile-table thead{display:none}.mobile-table tbody,.mobile-table tr{display:block}.mobile-table tr{padding:14px 16px;border-bottom:1px solid var(--line)}.mobile-table td{display:block;padding:5px 0;border:0}.mobile-table td[data-label]::before{content:attr(data-label) ': ';color:var(--muted);font-size:.8125rem}.mobile-table td.hide-mobile{display:none}.mobile-table .student-cell{padding-bottom:7px}.mobile-table .cell-sub{display:inline;margin-left:6px}.mobile-table .student-cell .cell-sub{display:block;margin-left:0}.table-footer{font-size:.75rem;padding:14px 16px}.footer{font-size:.75rem;flex-wrap:wrap}.retention-grid{grid-template-columns:1fr}.login-view{grid-template-columns:1fr;margin:25px 18px}.login-card{padding:30px}.login-aside{display:none}.drawer-header{padding:24px 22px 16px}.drawer-header h2{font-size:1.2rem}.drawer-body{padding:24px 22px}.detail-tabs{padding:0 22px;gap:20px;overflow:auto}.detail-tabs button{font-size:.8125rem}.form-grid{gap:18px;grid-template-columns:1fr}.span-2{grid-column:span 1}.file-row{flex-wrap:wrap}.file-actions{margin-left:56px}.form-actions{flex-wrap:wrap}.stages-summary{gap:10px}.stage-card{padding:15px}.modal-header h2{font-size:1.2rem}.section-heading{flex-wrap:wrap}dialog.modal{padding:24px}dialog.drawer{border-radius:0}.confirm-description{max-height:200px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.review-banner{display:flex;gap:18px;align-items:center;justify-content:center;flex-wrap:wrap;background:#e8efff;color:#30569d;border-bottom:1px solid #d6e1fa;padding:12px 20px;font-size:.8125rem;line-height:1.5}.review-banner strong{font-weight:600}.review-banner span{color:#49638d}


.completion-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--line);border-radius:12px;background:#f7f9fc;padding:21px;margin-top:28px}.completion-panel h3{font-size:.9375rem;line-height:1.5;margin:0 0 5px}.completion-panel p{font-size:.8125rem;color:var(--muted);margin:0;max-width:440px;line-height:1.6}.completion-panel .button{flex-shrink:0}.completion-panel.completed{background:#f1f8f5;border-color:#d7e8df}.completion-panel.completed h3{color:#247054}@media(max-width:650px){.completion-panel{flex-direction:column;align-items:flex-start;gap:15px;padding:18px}}
