:root{--maroon:maroon;--maroon-dark:#5a0000;--maroon-light:#a00000;--maroon-faint:#fff5f5;--gold:#c9a84c;--ink:#1a1a2e;--ink-2:#2d2d44;--muted:#6b6b80;--subtle:#9b9baa;--border:#e8e8f0;--surface:#fff;--bg:#f7f7fb;--admin-dark:#1e293b;--admin-mid:#334155}html,body{height:100%;margin:0;padding:0}body{color:var(--ink);-webkit-font-smoothing:antialiased;font-family:DM Sans,sans-serif}.split-layout{grid-template-columns:65fr 35fr;min-height:100vh;display:grid}.left-panel{background-color:var(--maroon);background-image:url(/PUPLogo.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;min-height:100vh}.right-panel{background:#f0ece6ed;justify-content:center;align-items:center;min-height:100vh;display:flex;overflow-y:auto}.right-inner{width:100%;max-width:420px;padding:3rem 2.5rem}.portal-header{text-align:center;margin-bottom:2rem}.portal-logo{width:auto;height:72px;margin:0 auto 1rem;display:block}.portal-header h2{color:var(--ink);margin-bottom:.5rem;font-family:DM Serif Display,serif;font-size:2rem;font-weight:400}.portal-header p{color:var(--muted);justify-content:center;align-items:center;gap:.3rem;font-size:.9rem;display:flex}.arrow-down-icon{flex-shrink:0;width:16px;height:16px}.portal-options{flex-direction:column;gap:.75rem;margin-bottom:1.5rem;display:flex}.portal-option{cursor:pointer;-webkit-user-select:none;user-select:none;border:none;border-radius:8px;justify-content:center;align-items:center;padding:1rem 1.5rem;transition:opacity .15s,transform .1s;display:flex}.portal-option:active{transform:scale(.98)}.portal-option strong{color:#fff;letter-spacing:.02em;font-size:1rem;font-weight:600}.portal-option--student{background:#2880f3}.portal-option--student:hover{background:#295896}.portal-option--admin{background:#c62323}.portal-option--admin:hover{background:#881f1f}.portal-footer-links{margin-top:.5rem}.terms-text{color:var(--muted);text-align:center;font-size:.8rem;line-height:1.6}.terms-link{color:#1a73e8;font-weight:500;text-decoration:none}.terms-link:hover{text-decoration:underline}.modal-card--legal{max-width:560px}.modal-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding:1.5rem 1.75rem 1rem;display:flex}.modal-header h3{color:var(--ink);font-family:DM Serif Display,serif;font-size:1.25rem;font-weight:400}.modal-close{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:.25rem;transition:color .15s,background .15s;display:flex}.modal-close:hover{color:var(--ink);background:var(--bg)}.modal-body h4{color:var(--ink);margin:0;font-size:.875rem;font-weight:600}.modal-body section h4{margin-top:.25rem}.modal-body p{color:var(--muted);font-size:.875rem;line-height:1.65}.modal-footer{border-top:1px solid var(--border);flex-shrink:0;padding:1rem 1.75rem 1.5rem}.modal-footer .btn-primary{margin-top:0}.modal-footer--split{flex-wrap:wrap;gap:.75rem;display:flex}.modal-footer--split .btn-primary,.modal-footer--split .btn-secondary{flex:10rem;width:auto;margin-top:0}.back-btn-right{color:var(--muted);cursor:pointer;background:0 0;border:none;align-items:center;gap:.375rem;margin-bottom:1.25rem;padding:.375rem 0;font-family:DM Sans,sans-serif;font-size:.85rem;transition:color .15s;display:inline-flex}.back-btn-right svg{width:16px;height:16px}.back-btn-right:hover{color:var(--ink)}.form-eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--maroon);background:var(--maroon-faint);border-radius:999px;margin-bottom:1.25rem;padding:.3rem .75rem;font-size:.72rem;font-weight:600;display:inline-block}.form-eyebrow--admin{color:var(--admin-mid);background:#f1f5f9}.form-title{color:var(--ink);margin-bottom:.375rem;font-family:DM Serif Display,serif;font-size:1.875rem;font-weight:400}.form-subtitle{color:var(--muted);margin-bottom:2rem;font-size:.9rem}.form-subtitle--compact{margin-bottom:1.1rem;font-size:.82rem;line-height:1.45}#view-student-signup .form-eyebrow{margin-bottom:.65rem}#view-student-signup .form-title{margin-bottom:.2rem;font-size:1.55rem}#view-student-signup .back-btn-right{margin-bottom:.65rem}.auth-form{flex-direction:column;gap:1rem;display:flex}.auth-form--compact{gap:.6rem}.auth-form--compact .field{gap:.25rem}.auth-form--compact .field label{font-size:.78rem}.auth-form--compact .field input,.auth-form--compact select{padding:.5rem .7rem;font-size:.85rem}.auth-form--compact .field-row{gap:.5rem}.auth-form--compact .field-check label{font-size:.78rem}.auth-form--compact .file-input{padding:.4rem .65rem!important}.field--file-compact .auth-field-hint{margin-top:.15rem}.auth-form select{color:#334155;cursor:pointer;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-position:right 1rem center;background-repeat:no-repeat;background-size:1em;border:1px solid #e2e8f0;border-radius:.5rem;outline:none;width:100%;padding:.75rem 1rem;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.auth-form select:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.auth-form.auth-form--compact select{border:1.5px solid var(--border);color:var(--ink);background-color:#fffffff2;background-position:right .65rem center;background-size:.85em;border-radius:8px;padding:.5rem 1.75rem .5rem .7rem;font-size:.85rem}.field-row--triple{grid-template-columns:1.15fr .55fr .7fr}.field{flex-direction:column;gap:.375rem;display:flex}.field label{color:var(--ink-2);font-size:.82rem;font-weight:500}.field input{border:1.5px solid var(--border);color:var(--ink);background:#fffffff2;border-radius:8px;outline:none;width:100%;padding:.7rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.field input::placeholder{color:var(--subtle)}.field input:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.password-field{position:relative}.password-field input{padding-right:2.6rem}.password-toggle{width:2rem;height:2rem;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.password-toggle svg{width:1.15rem;height:1.15rem}.password-toggle:hover{color:var(--maroon)}.field .req{color:#b91c1c;font-weight:600}.auth-field-hint{color:var(--muted);margin:0;font-size:.75rem;line-height:1.4}.field-row{grid-template-columns:1fr 1fr;gap:.875rem;display:grid}.file-input{cursor:pointer;color:var(--muted)!important;padding:.55rem .875rem!important;font-size:.82rem!important}.field-check{align-items:center;gap:.625rem;display:flex}.field-check input[type=checkbox]{width:16px;height:16px;accent-color:var(--maroon);cursor:pointer;flex-shrink:0}.field-check label{color:var(--muted);cursor:pointer;font-size:.83rem;line-height:1.4}.btn-primary{background:var(--maroon);color:#fff;cursor:pointer;letter-spacing:.01em;border:none;border-radius:8px;width:100%;margin-top:.25rem;padding:.8rem 1.5rem;font-family:DM Sans,sans-serif;font-size:.925rem;font-weight:500;transition:background .15s,transform .1s,box-shadow .15s}.btn-primary:hover{background:var(--maroon-light);transform:translateY(-1px);box-shadow:0 4px 16px #80000040}.btn-primary:active{transform:translateY(0)}.btn-primary:disabled,.btn-secondary:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.btn-secondary{background:var(--surface);width:100%;color:var(--maroon);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:.75rem 1.5rem;font-family:DM Sans,sans-serif;font-size:.9rem;font-weight:500;transition:background .15s,border-color .15s}.btn-secondary:hover:not(:disabled){background:var(--maroon-faint);border-color:var(--maroon)}.switch-link{color:var(--muted);text-align:center;margin-top:1.5rem;font-size:.85rem}.switch-link a{color:var(--maroon);font-weight:500;text-decoration:none}.switch-link a:hover{text-decoration:underline}.verify-icon-inline{background:var(--maroon-faint);width:52px;height:52px;color:var(--maroon);border-radius:14px;justify-content:center;align-items:center;margin-bottom:1.25rem;display:flex}.verify-icon-inline svg{width:26px;height:26px}.verify-icon-inline--shield{color:#16a34a;background:#f0fdf4}.otp-input{text-align:center!important;letter-spacing:.5rem!important;color:var(--ink)!important;padding:.875rem!important;font-size:1.75rem!important;font-weight:600!important}.resend-text{color:var(--muted);text-align:center;margin-top:1.25rem;font-size:.85rem}.resend-text a{color:var(--maroon);font-weight:500;text-decoration:none}.resend-text a:hover{text-decoration:underline}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (width<=900px){.split-layout{grid-template-columns:1fr}.left-panel{display:none}.right-panel{background:#f0ece6fa;align-items:flex-start;min-height:100vh}.right-inner{padding:2rem 1.5rem}}@media (width<=560px){.field-row,.field-row--triple{grid-template-columns:1fr}.right-inner{padding:2rem 1.25rem}}.select-input{border:1.5px solid var(--border);color:var(--ink);cursor:pointer;appearance:auto;background:#fffffff2;border-radius:8px;outline:none;width:100%;padding:.7rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.select-input:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.forgot-link{text-align:center;margin-top:.75rem;font-size:.85rem}.forgot-link a{color:var(--maroon);font-weight:500;text-decoration:none}.forgot-link a:hover{text-decoration:underline}.view-terms{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1.25rem}.reset-page{background:var(--bg,#f7f7fb);flex-direction:column;min-height:100vh;display:flex}.reset-page-header{background:var(--maroon,maroon);border-bottom:1px solid #ffffff1f;flex-shrink:0;width:100%}.reset-page-header-inner{width:100%;min-height:var(--nav-h,56px);justify-content:flex-start;align-items:center;gap:.65rem;padding:0 1.25rem;display:flex}.reset-page-logo{object-fit:cover;background:#ffffff14;border:1px solid #ffffff40;border-radius:50%;flex-shrink:0;width:36px;height:36px}.reset-page-brand{color:#fff;letter-spacing:.02em;font-family:DM Serif Display,Georgia,Times New Roman,serif;font-size:1.2rem;line-height:1.2}.reset-page-brand strong{font-weight:700}.reset-page-brand-light{opacity:.92;font-weight:400}.reset-page-body{flex:1;justify-content:center;align-items:flex-start;padding:2.5rem 1.25rem 3rem;display:flex}.reset-page-card{background:var(--surface,#fff);border:1px solid var(--border,#e8e8f0);border-radius:12px;width:100%;max-width:420px;padding:2rem 1.75rem;box-shadow:0 8px 28px #1a1a2e0f}.reset-page-card .form-title{margin-top:0;margin-bottom:.35rem}.reset-page-card .form-subtitle{margin-bottom:1.25rem}.reset-page-card .auth-form{margin-top:0}:root{--maroon:maroon;--maroon-light:#a00000;--maroon-faint:#fff5f5;--blue:#1a73e8;--blue-dark:#1558b0;--scholar-green:#0d652d;--filter-brown:#5c4033;--ink:#1a1a2e;--ink-2:#2d2d44;--muted:#6b6b80;--subtle:#9b9baa;--border:#e8e8f0;--surface:#fff;--bg:#f7f7fb;--nav-h:56px}html{height:100%}body{background:var(--bg);min-height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:DM Sans,sans-serif}.topnav{height:var(--nav-h);background:var(--surface);border-bottom:1px solid var(--border);z-index:100;align-items:center;gap:1rem;padding:0 1.25rem;display:flex;position:fixed;top:0;left:0;right:0}.topnav-left{flex-shrink:0;align-items:center;display:flex}.brand{align-items:center;gap:.5rem;display:flex}.nav-logo{width:auto;height:28px}.brand-name{white-space:nowrap;font-family:DM Serif Display,Georgia,Times New Roman,serif;font-size:1.15rem;font-weight:600}.brand-pup{color:var(--maroon);font-weight:600}.brand-accent{color:var(--muted);font-weight:400}.search-bar{background:var(--bg);border:1.5px solid var(--border);border-radius:24px;flex:1;align-items:center;max-width:500px;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.search-bar:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1a73e81a}.search-bar input{color:var(--ink);background:0 0;border:none;outline:none;flex:1;padding:.55rem 1rem;font-family:DM Sans,sans-serif;font-size:.875rem}.search-bar input::placeholder{color:var(--subtle)}.search-btn{background:var(--blue);cursor:pointer;color:#fff;border:none;flex-shrink:0;align-items:center;padding:.55rem .875rem;display:flex}.search-btn svg{width:18px;height:18px}.search-btn:hover{background:var(--blue-dark)}.search-bar--wide{max-width:min(720px,52vw)}.topnav-right{flex-shrink:0;align-items:center;gap:.5rem;margin-left:auto;display:flex;position:relative}.nav-links{align-items:center;gap:.125rem;display:flex}.nav-link{color:var(--muted);white-space:nowrap;border-radius:6px;padding:.375rem .75rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:color .15s,background .15s}.nav-link:hover{color:var(--ink);background:var(--bg)}.nav-link.active{color:var(--maroon);font-weight:600}.user-menu{cursor:pointer;border:1px solid var(--border);border-radius:20px;align-items:center;gap:.4rem;margin-left:.25rem;padding:.3rem .6rem;transition:background .15s;display:flex}.user-menu:hover{background:var(--bg)}.avatar{color:#1558b0;background:#c5d8f8;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.avatar svg{width:17px;height:17px}.user-name{color:var(--ink);font-size:.83rem;font-weight:500}.chevron{width:13px;height:13px;color:var(--muted)}.user-dropdown{background:var(--surface);border:1px solid var(--border);z-index:200;border-radius:10px;min-width:160px;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 8px 24px #0000001f}.dropdown-divider{background:var(--border);height:1px}.dropdown-item{color:var(--ink);cursor:pointer;align-items:center;gap:.625rem;padding:.625rem 1rem;font-size:.875rem;text-decoration:none;transition:background .12s;display:flex}.dropdown-item:hover{background:var(--bg)}.dropdown-item svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}.dropdown-item--danger,.dropdown-item--danger svg{color:#dc2626}.dropdown-item--danger:hover{background:#fef2f2}.layout{margin-top:var(--nav-h);min-height:calc(100vh - var(--nav-h));grid-template-rows:auto;grid-template-columns:220px minmax(0,1fr);align-items:stretch;display:grid}.layout.layout--welcome{grid-template-columns:1fr}.layout.layout--with-related{grid-template-columns:220px minmax(0,1fr) 220px}.layout.layout--thesis-detail{grid-template-columns:minmax(0,1fr)}.layout.layout--thesis-detail .main-content{padding:1rem clamp(1rem,3vw,2rem) 1.5rem;overflow-x:hidden}.layout.layout--thesis-detail .thesis-detail-shell{width:100%;max-width:min(1200px,100%);margin:0 auto;overflow-x:hidden}.sidebar{background:var(--surface);border-right:1px solid var(--border);box-sizing:border-box;align-self:stretch;width:100%;padding:1.5rem .75rem 1.5rem 1rem;overflow:visible}.sidebar-section-label{text-transform:uppercase;letter-spacing:.08em;color:var(--subtle);margin-bottom:.75rem;padding:0 1.25rem;font-size:.72rem;font-weight:600}.filter-group{margin-bottom:1.5rem}.filter-label{margin-bottom:.375rem;padding:0 1.25rem;font-size:.8rem;font-weight:700}.filter-label--accent{color:var(--maroon)}.filter-label--brown{color:var(--filter-brown)}.filter-options{flex-direction:column;align-items:stretch;display:flex}.filter-item{text-align:left;width:100%;color:var(--muted);cursor:pointer;background:0 0;border:none;padding:.35rem 1.25rem;font-family:inherit;font-size:.85rem;transition:color .12s,background .12s;display:block}.filter-item:hover{color:var(--blue);background:#1a73e80d}.filter-item.active{color:var(--blue);font-weight:500}.time-custom-range{margin-top:.25rem;padding:.5rem 1.25rem .75rem}.time-custom-range-label{color:var(--maroon);margin-bottom:.5rem;font-size:.85rem}.time-custom-range--active .time-custom-range-label{font-weight:600}.time-custom-range-inputs{align-items:center;gap:.35rem;margin-bottom:.5rem;display:flex}.time-custom-year{border:1px solid var(--border);text-align:center;border-radius:2px;width:3.25rem;padding:.2rem .35rem;font-family:inherit;font-size:.8rem}.time-custom-year:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 1px #1a73e859}.time-custom-range-dash{color:var(--subtle);font-size:.75rem}.time-custom-range-search{color:var(--blue);cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-family:inherit;font-size:.85rem;display:block}.time-custom-range-search:hover{text-decoration:underline}.main-content{width:100%;min-width:0;min-height:0;padding:1.25rem 1.75rem 2rem;overflow:visible}.main-content.main-content--welcome{padding:7rem 1.5rem 2rem}#welcomeState{min-height:calc(100vh - var(--nav-h) - 2rem);flex-direction:row;justify-content:center;align-items:flex-start;width:100%;padding:0 0 3rem;display:flex}.welcome-hero{text-align:center;max-width:640px;margin:0 auto;padding:1rem 1.5rem 2rem}.welcome-logo{width:auto;height:92px;margin:0 auto 1.65rem;display:block}.welcome-hero h1{color:var(--ink);margin-bottom:.55rem;font-family:DM Serif Display,serif;font-size:1.95rem;font-weight:400}.welcome-hero p{color:var(--muted);margin-bottom:2rem;font-size:1.02rem}.welcome-search{background:var(--surface);border:2px solid var(--border);border-radius:30px;max-width:520px;margin:0 auto 1rem;transition:border-color .15s;display:flex;overflow:hidden;box-shadow:0 4px 16px #00000014}.welcome-search:focus-within{border-color:var(--blue)}.welcome-search input{color:var(--ink);background:0 0;border:none;outline:none;flex:1;padding:.9rem 1.35rem;font-family:DM Sans,sans-serif;font-size:1rem}.welcome-search button{background:var(--blue);cursor:pointer;color:#fff;border:none;align-items:center;padding:.9rem 1.35rem;display:flex}.welcome-search button svg{width:22px;height:22px}.welcome-search button:hover{background:var(--blue-dark)}.quick-searches{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;font-size:.9rem;display:flex}.quick-searches a{color:var(--blue);text-decoration:none}.quick-searches a:hover{text-decoration:underline}.results-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:1.25rem;padding-bottom:.75rem;display:flex}.result-count,.result-sort-label{color:var(--muted);font-size:.85rem}.result-card{background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:10px;margin-bottom:.875rem;padding:1.25rem 1.5rem;transition:box-shadow .15s,border-color .15s}.result-card:hover{border-color:#c5c5d8;box-shadow:0 4px 16px #00000014}.result-top{align-items:flex-start;gap:.75rem;margin-bottom:.5rem;display:flex}.result-badge{border-radius:3px;flex-shrink:0;margin-top:2px;padding:.15rem .4rem;font-size:.7rem;font-weight:700}.result-badge--pdf{color:#1558b0;background:#e8f0fe}.result-badge--txt{color:#1e7e34;background:#e6f4ea}.result-badge--book{color:#c5221f;background:#fce8e6}.result-title{color:var(--blue);font-size:1rem;font-weight:600;line-height:1.35}.result-source{color:var(--muted);margin-bottom:.5rem;margin-left:2.25rem;font-size:.8rem}.result-source-right{color:var(--muted);float:right;margin-top:-1.5rem;font-size:.8rem}.result-snippet{color:var(--ink-2);margin-bottom:.75rem;font-size:.875rem;line-height:1.6}.result-snippet strong{color:var(--ink);font-weight:600}.result-actions{align-items:center;gap:1rem;font-size:.8rem;display:flex}.result-action{color:var(--blue);cursor:pointer;text-decoration:none}.result-action:hover{text-decoration:underline}.result-action-sep{color:var(--border)}.no-results{text-align:center;color:var(--muted);padding:4rem 2rem}.no-results svg{width:48px;height:48px;color:var(--subtle);margin:0 auto 1rem;display:block}.no-results p{margin-bottom:.25rem;font-size:1rem;font-weight:500}.thesis-modal-card{background:var(--surface);border-radius:14px;flex-direction:column;width:100%;max-width:560px;max-height:85vh;display:flex;box-shadow:0 20px 60px #0003}.modal-header h3{color:var(--ink);font-size:1.05rem;font-weight:600;line-height:1.4}.modal-close{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:6px;flex-shrink:0;padding:.25rem}.modal-body{flex-direction:column;flex:1;gap:.75rem;padding:1.25rem 1.75rem;display:flex;overflow-y:auto}.thesis-meta-row{align-items:center;gap:.75rem;display:flex}.thesis-badge{color:#1558b0;background:#e8f0fe;border-radius:4px;padding:.2rem .5rem;font-size:.7rem;font-weight:700}.thesis-source,.thesis-authors-full,.thesis-year-full,.thesis-dept-full{color:var(--muted);font-size:.875rem}.thesis-abstract{color:var(--ink-2);border-top:1px solid var(--border);padding-top:.75rem;font-size:.875rem;line-height:1.7}.thesis-actions{gap:.75rem;padding-top:.5rem;display:flex}.btn-primary{background:var(--maroon);color:#fff;cursor:pointer;border:none;border-radius:7px;padding:.6rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500}.btn-primary:hover{background:var(--maroon-light)}.btn-outline{color:var(--maroon);border:1.5px solid var(--maroon);cursor:pointer;background:0 0;border-radius:7px;padding:.6rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500}.btn-outline:hover{background:var(--maroon-faint)}.scholar-results-shell{width:100%;max-width:min(920px,100%);margin:.75rem auto 0;padding:0 0 2rem}.scholar-results-status--above{color:var(--muted);margin:0 0 .5rem;font-size:.85rem}.scholar-results-error--above{margin:0 0 .5rem;font-size:.85rem}.scholar-results-status{color:var(--muted);font-size:.85rem}.scholar-results-panel{background:var(--surface);border:1px solid #dadce0;border-radius:2px;padding:0 0 1.35rem;box-shadow:0 1px 2px #3c404314}.scholar-result-count-bar{color:var(--muted);background:#fafafa;border-bottom:1px solid #ebebeb;padding:.7rem 1.5rem;font-size:.8125rem}.scholar-results-empty{color:var(--muted);margin:0;padding:1.25rem 1.5rem 0;font-size:.9rem}.scholar-results-list{padding:.5rem 1.5rem 0}.scholar-result{border-bottom:1px solid #f1f3f4;padding:1.05rem 0 1.15rem}.scholar-result:last-child{border-bottom:none}.scholar-result-title-row{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.2rem;display:flex}.scholar-result-heading{flex:1;min-width:0;margin:0;font-size:1.05rem;font-weight:400;line-height:1.35}.scholar-pdf-prefix{color:var(--ink);font-weight:700}.scholar-title-link{font:inherit;color:var(--blue);cursor:pointer;text-align:left;background:0 0;border:none;padding:0;text-decoration:none;display:inline}.scholar-title-link:hover{text-decoration:underline}.scholar-title-link strong{color:var(--ink);font-weight:700}.scholar-source-pill{color:var(--blue);white-space:nowrap;flex-shrink:0;font-size:.8rem;text-decoration:none}.scholar-source-pill:hover{text-decoration:underline}.scholar-source-pill--muted{color:var(--muted);cursor:default}.scholar-meta-line{color:var(--scholar-green);margin-bottom:.35rem;font-size:.875rem;line-height:1.45}.scholar-snippet{color:var(--ink-2);margin:0 0 .5rem;font-size:.875rem;line-height:1.55}.scholar-snippet strong{color:var(--ink);font-weight:700}.scholar-action-row{flex-wrap:wrap;align-items:center;gap:.35rem 1rem;font-size:.8125rem;display:flex}.scholar-action{font-family:inherit;font-size:inherit;color:var(--blue);cursor:pointer;background:0 0;border:none;align-items:center;gap:.3rem;padding:0;text-decoration:none;display:inline-flex}.scholar-action:hover:not(:disabled){text-decoration:underline}.scholar-action:disabled{color:var(--muted);cursor:default;text-decoration:none}.scholar-action--done{color:var(--maroon);font-weight:600}.scholar-action--done:hover{color:var(--maroon);opacity:.75;text-decoration:underline}.scholar-action--muted{color:var(--blue);cursor:default}.scholar-action--muted:hover{text-decoration:none}.scholar-action-icon{flex-shrink:0;width:14px;height:14px}.scholar-action--chevron{color:var(--muted);margin-left:.25rem;padding:.15rem}.scholar-action--chevron:hover{color:var(--blue);text-decoration:none}.scholar-action--chevron svg{width:16px;height:16px}.related-sidebar{box-sizing:border-box;align-self:stretch;min-width:0;padding:1.75rem .75rem 2rem .5rem;overflow:visible}.related-sidebar-title{color:var(--ink);margin:0 0 1rem;font-size:1.05rem;font-weight:400}.related-list{margin:0;padding:0;list-style:none}.related-list li{margin-bottom:.65rem}.related-link{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;font-size:.875rem;line-height:1.45;display:block}.related-link:hover .related-link-bold{text-decoration:underline}.related-link-bold{color:var(--blue);font-weight:700}.thesis-detail-shell{width:100%;min-width:0;max-width:min(1140px,100%);margin:0 auto;padding:0 0 1.35rem;overflow:visible}.thesis-detail-back{width:fit-content;color:var(--blue);cursor:pointer;background:0 0;border:none;margin-bottom:.65rem;padding:0;font-family:inherit;font-size:.875rem;font-weight:500;text-decoration:underline;display:block}.thesis-detail-back:hover{color:var(--blue-dark)}.thesis-detail-card{background:var(--surface);box-shadow:none;box-sizing:border-box;border:1px solid #e0e0e0;border-radius:4px;width:100%;max-width:100%;max-height:none;padding:1.3rem 1.35rem 1.45rem;overflow:hidden visible}.thesis-detail-card,.thesis-detail-shell{overflow-wrap:anywhere}.thesis-detail-header-row{grid-template-columns:minmax(0,1fr) minmax(108px,132px);align-items:start;gap:1rem;margin-bottom:.9rem;display:grid}.thesis-detail-text-col{min-width:0}.thesis-detail-title{color:var(--ink);word-break:break-word;margin:0 0 .45rem;font-family:DM Sans,sans-serif;font-size:clamp(1.28rem,1.85vw,1.45rem);font-weight:700;line-height:1.25}.thesis-detail-authors{color:var(--scholar-green);margin:0 0 .35rem;font-size:.95rem;font-weight:400;line-height:1.45}.thesis-detail-venue{color:var(--ink);margin:0;font-size:.875rem;line-height:1.5}.thesis-detail-sidecard{justify-self:end;width:100%;min-width:0;max-width:132px}.thesis-detail-sidecard-inner{background:#f2f2f2;border:1px solid #e0e0e0;border-radius:4px;flex-direction:column;align-items:stretch;gap:0;max-height:none;padding:.42rem .48rem .48rem;display:flex;overflow:visible}.thesis-detail-sidecard-action{color:#1a1a1a;text-align:left;cursor:pointer;box-sizing:border-box;background:0 0;border:none;border-radius:3px;align-items:center;gap:.3rem;width:100%;margin:0;padding:.1rem 0;font-family:inherit;font-size:.7rem;font-weight:500;line-height:1.25;text-decoration:none;display:flex}.thesis-detail-sidecard-action:hover:not(:disabled):not(.is-disabled){background:#0000000d}.thesis-detail-sidecard-action.is-disabled,.thesis-detail-sidecard-action:disabled{opacity:.48;cursor:default}.thesis-detail-sidecard-action:visited{color:#1a1a1a}.thesis-detail-sidecard-pdf-link{color:var(--blue);text-decoration:underline}.thesis-detail-sidecard-pdf-link:visited{color:var(--blue)}.thesis-detail-sidecard-pdf-link:hover{color:var(--blue-dark)}.thesis-detail-sidecard-inner .thesis-detail-peer-icons{width:18px;height:22px;color:var(--scholar-green);transform-origin:0;flex-shrink:0;position:relative;transform:scale(1.12)}.thesis-detail-sidecard-inner .thesis-detail-peer-doc{width:18px;height:22px;display:block}.thesis-detail-sidecard-inner .thesis-detail-peer-check{width:11px;height:11px;stroke:var(--scholar-green);filter:drop-shadow(0 0 1px #f2f2f2);display:block;position:absolute;bottom:-1px;right:-3px}.thesis-detail-sidecard-inner button.thesis-detail-sidecard-action .thesis-detail-sidecard-label{margin-left:4px}.thesis-detail-sidecard-pdf-icon{flex-shrink:0;justify-content:center;align-items:center;width:18px;height:22px;margin-left:4px;display:flex}.thesis-detail-sidecard-pdf-icon svg{width:100%;height:100%;display:block}.thesis-detail-thesis-pdf-block{margin:.12rem 0 0}.thesis-detail-sidecard-missing{color:var(--muted);margin:0;padding:.1rem 0 0;font-family:inherit;font-size:.7rem;font-weight:500;line-height:1.25}.thesis-detail-thesis-pdf-block .thesis-detail-sidecard-missing{padding-top:.18rem}.approval-sheet-modal-overlay{z-index:2000;box-sizing:border-box;background:#0000008c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.approval-sheet-modal-inner{background:#fff;border-radius:10px;flex-direction:column;width:min(960px,100%);max-height:min(92vh,900px);display:flex;overflow:hidden;box-shadow:0 20px 50px #00000040}.approval-sheet-modal-toolbar{border-bottom:1px solid #e5e5e5;flex-shrink:0;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 1rem;display:flex}.approval-sheet-modal-title{color:var(--ink);font-size:.9rem;font-weight:600}.approval-sheet-modal-close{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:6px;padding:.35rem .85rem;font-size:.85rem;font-weight:600}.approval-sheet-modal-frame{background:#f5f5f5;border:0;flex:1;width:100%;min-height:min(75vh,720px)}.approval-sheet-modal-img{object-fit:contain;box-sizing:border-box;background:#1a1a1a;flex:1;width:100%;max-height:min(75vh,720px);padding:.5rem}.thesis-detail-direct-link{color:var(--blue);align-items:center;gap:.4rem;font-size:.8125rem;text-decoration:underline;display:inline-flex}.thesis-detail-direct-link:hover{color:var(--blue-dark)}.thesis-detail-direct-icons{color:var(--blue);flex-shrink:0;align-items:center;gap:.1rem;display:inline-flex}.thesis-detail-direct-doc{width:18px;height:20px}.thesis-detail-direct-arrow{width:14px;height:14px;margin-left:-2px}.thesis-detail-abstract{text-align:justify;color:var(--ink);word-break:break-word;white-space:normal;margin:0 0 .85rem;font-size:.875rem;line-height:1.58}.thesis-detail-keywords-block{margin-bottom:.75rem;font-size:.875rem;line-height:1.5}.thesis-detail-keywords-label{color:var(--ink);font-weight:600}.thesis-detail-keywords-list{color:var(--ink-2)}.thesis-detail-keyword{font:inherit;font-size:inherit;color:var(--blue);cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline;display:inline}.thesis-detail-keyword:hover{color:var(--blue-dark)}.thesis-detail-repository-blurb{color:var(--muted);margin-bottom:.75rem;font-size:.78rem;line-height:1.5}.thesis-detail-meta-block{border-top:1px dashed #b0b0b0;margin-bottom:.85rem;padding-top:.85rem}.thesis-detail-meta-dl{margin:0}.thesis-detail-meta-row{grid-template-columns:minmax(100px,140px) 1fr;align-items:baseline;gap:.25rem 1rem;margin-bottom:.4rem;font-size:.8125rem;display:grid}.thesis-detail-meta-row:last-child{margin-bottom:0}.thesis-detail-meta-row dt{color:var(--ink);margin:0;font-weight:600}.thesis-detail-meta-row dd{color:var(--ink-2);margin:0}.thesis-detail-actions{flex-wrap:wrap;gap:.65rem;padding-top:.05rem;display:flex}.thesis-detail-btn{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.thesis-detail-btn--done{color:var(--maroon);border-color:#80002059}.thesis-detail-btn--done:hover{opacity:.85}@media (width<=720px){.thesis-detail-shell{max-width:none;padding-left:0;padding-right:0}.thesis-detail-card{padding:1.2rem 1rem 1.4rem}.thesis-detail-header-row{grid-template-columns:1fr;gap:1rem}.thesis-detail-sidecard{justify-self:stretch;max-width:none}.thesis-detail-title{font-size:1.35rem}.thesis-detail-meta-row{grid-template-columns:1fr;gap:.15rem}}.search-results-panel{width:100%;max-width:720px;margin:0 auto;padding:1rem 0 2rem}.search-results-toolbar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.search-results-status{color:var(--muted);font-size:.85rem}.search-results-error{color:#b91c1c;font-size:.85rem}.search-results-empty{color:var(--muted);margin-bottom:1rem;font-size:.9rem}.search-results-list{flex-direction:column;gap:.65rem;list-style:none;display:flex}.search-result-card{text-align:left;border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:10px;width:100%;padding:1rem 1.1rem;font-family:inherit;transition:border-color .15s,box-shadow .15s}.search-result-card:hover{border-color:var(--blue);box-shadow:0 2px 10px #1a73e814}.search-result-title{color:var(--ink);margin-bottom:.35rem;font-weight:600;display:block}.search-result-meta{color:var(--muted);font-size:.8rem;display:block}@media (width<=1100px){.layout.layout--with-related{grid-template-columns:220px minmax(0,1fr)}.related-sidebar{display:none}}@media (width<=900px){.nav-links{display:none}.search-bar,.search-bar--wide{max-width:320px}}@media (width<=768px){.layout,.layout.layout--with-related{grid-template-columns:1fr}.sidebar{display:none}.main-content{padding:1rem}.brand-accent{display:none}.scholar-results-shell{margin-top:.5rem;padding-left:0;padding-right:0}.scholar-result-count-bar,.scholar-results-list{padding-left:1.1rem;padding-right:1.1rem}.scholar-results-empty{padding:1.25rem 1.1rem 0}}.list-pagination--controls-only{justify-content:flex-end}.list-pagination{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.list-pagination__info{color:var(--muted);font-size:.82rem}.list-pagination__controls{align-items:center;gap:.65rem;display:flex}.list-pagination__page{color:var(--ink);text-align:center;min-width:6.5rem;font-size:.82rem;font-weight:500}.list-pagination__btn{border:1px solid var(--border);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:6px;padding:.4rem .85rem;font-family:DM Sans,sans-serif;font-size:.8rem;font-weight:500;transition:background .15s,border-color .15s}.list-pagination__btn:hover:not(:disabled){background:var(--bg);border-color:var(--muted)}.list-pagination__btn:disabled{opacity:.45;cursor:not-allowed}.lib-layout{margin-top:var(--nav-h);min-height:calc(100vh - var(--nav-h));flex-direction:column;display:flex}.lib-tabs{background:var(--surface);border-bottom:1px solid var(--border);top:var(--nav-h);z-index:40;flex-shrink:0;align-items:center;gap:0;padding:0 2rem;display:flex;position:sticky}.lib-tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;align-items:center;gap:.5rem;margin-bottom:-1px;padding:1rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:color .15s,border-color .15s;display:flex}.lib-tab svg{width:16px;height:16px}.lib-tab:hover{color:var(--ink)}.lib-tab.active{color:var(--maroon);border-bottom-color:var(--maroon)}.tab-content{flex:1;min-height:0;padding:2rem}.tab-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.75rem;display:flex}.tab-title{color:var(--ink);margin-bottom:.25rem;font-family:DM Serif Display,serif;font-size:1.5rem;font-weight:400}.tab-title--with-count{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tab-title-count{min-width:2.25rem;height:2.25rem;color:var(--maroon);background:var(--maroon-faint);border-radius:999px;justify-content:center;align-items:center;padding:0 .7rem;font-family:DM Sans,sans-serif;font-size:1.25rem;font-weight:700;line-height:1;display:inline-flex}.tab-sub{color:var(--muted);font-size:.875rem}.saved-controls{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.saved-search-input{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);border-radius:8px;outline:none;width:220px;padding:.5rem .875rem;font-family:DM Sans,sans-serif;font-size:.875rem;transition:border-color .15s}.saved-search-input:focus{border-color:var(--blue)}.saved-select{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);cursor:pointer;border-radius:8px;outline:none;padding:.5rem .75rem;font-family:DM Sans,sans-serif;font-size:.875rem}.lib-upload-nudge{background:var(--bg);border:1px solid var(--border);border-radius:10px;margin-bottom:1.5rem;padding:1rem 1.15rem}.lib-upload-nudge p{color:var(--ink-2);margin:0;font-size:.875rem;line-height:1.5}.lib-upload-nudge__link{font:inherit;color:var(--blue);cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.lib-upload-nudge__link:hover{color:var(--maroon)}.saved-list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem;display:grid}.saved-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:.75rem;padding:1.25rem;transition:box-shadow .15s,border-color .15s;display:flex}.saved-card:hover{border-color:#c5c5d8;box-shadow:0 4px 16px #00000014}.saved-card-top{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.saved-card-badge{border-radius:3px;flex-shrink:0;padding:.15rem .4rem;font-size:.68rem;font-weight:700}.saved-card-badge--pdf{color:#1558b0;background:#e8f0fe}.saved-card-badge--txt{color:#1e7e34;background:#e6f4ea}.saved-card-badge--book{color:#c5221f;background:#fce8e6}.saved-card-remove{cursor:pointer;color:var(--subtle);background:0 0;border:none;border-radius:4px;flex-shrink:0;padding:.125rem;transition:color .12s,background .12s}.saved-card-remove:hover{color:#dc2626;background:#fef2f2}.saved-card-remove svg{width:15px;height:15px}.saved-card-title{color:var(--blue);cursor:pointer;font-size:.9rem;font-weight:600;line-height:1.4;text-decoration:none;display:block}.saved-card-title:hover{text-decoration:underline}.saved-card-meta{color:var(--muted);font-size:.78rem}.saved-card-actions{flex-wrap:wrap;gap:.5rem;margin-top:auto;display:flex}.saved-card-btn{cursor:pointer;text-align:center;border:1px solid var(--border);background:var(--bg);min-width:6.5rem;color:var(--ink);box-sizing:border-box;border-radius:6px;flex:auto;justify-content:center;align-items:center;padding:.45rem .75rem;font-family:DM Sans,sans-serif;font-size:.78rem;font-weight:500;text-decoration:none;transition:background .15s;display:inline-flex}.saved-card-btn:hover{background:var(--border)}.saved-card-btn--primary{background:var(--maroon);color:#fff;border-color:var(--maroon)}.saved-card-btn--primary:hover{background:var(--maroon-light)}.empty-state a{color:var(--blue);text-decoration:none}.empty-state a:hover{text-decoration:underline}.dash-stats{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem;display:grid}.dash-stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:1rem;padding:1.25rem;display:flex}.dash-stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.dash-stat-icon svg{width:22px;height:22px}.dash-stat-icon--blue{color:#1558b0;background:#e8f0fe}.dash-stat-icon--maroon{background:var(--maroon-faint);color:var(--maroon)}.dash-stat-icon--green{color:#166534;background:#dcfce7}.dash-stat-icon--amber{color:#92400e;background:#fef3c7}.dash-stat-num{color:var(--ink);font-size:1.75rem;font-weight:700;line-height:1}.dash-stat-lbl{color:var(--muted);margin-top:.2rem;font-size:.78rem}.dash-section{margin-bottom:2rem}.dash-section-title{color:var(--ink);border-bottom:1px solid var(--border);margin-bottom:1rem;padding-bottom:.75rem;font-size:1rem;font-weight:600}.submission-list{flex-direction:column;gap:1rem;margin:0;padding:0;list-style:none;display:flex}.submission-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.15rem 1.35rem 1.25rem;transition:border-color .15s,box-shadow .15s}.submission-card:hover{border-color:#c5c5d8;box-shadow:0 2px 12px #0000000f}.submission-card__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.45rem;display:flex}.submission-card__title{color:var(--ink);flex:1;min-width:min(100%,200px);margin:0;font-size:1.02rem;font-weight:600;line-height:1.35}.submission-card__meta{color:var(--muted);margin:0 0 .5rem;font-size:.8125rem;line-height:1.5}.submission-card__adviser{color:var(--ink-2);margin:0 0 .65rem;font-size:.8125rem}.submission-card__label{color:var(--ink);font-weight:600}.submission-card__study{color:var(--ink-2);text-align:left;margin:0 0 .75rem;font-size:.875rem;line-height:1.6}.submission-card__study-prefix{color:var(--ink);font-weight:600}.submission-card__hint{color:var(--ink-2);background:var(--bg);border-left:3px solid var(--border);border-radius:8px;margin:0;padding:.65rem .9rem;font-size:.8125rem;line-height:1.5}.submission-card__hint strong{color:var(--ink)}.submission-card__hint--pending{background:#fffbeb;border-left-color:#f59e0b}.submission-card__hint--revision{background:#f0f9ff;border-left-color:#38bdf8}.submission-card__hint--approved{background:#f0fdf4;border-left-color:#22c55e}.submission-card__hint--rejected{background:#fef2f2;border-left-color:#ef4444}.submission-card__inline-link{font:inherit;color:var(--blue);cursor:pointer;background:0 0;border:none;padding:0;font-weight:600;text-decoration:underline}.submission-card__inline-link:hover{color:var(--maroon)}.submission-card__approval-link{margin:.35rem 0 0;font-size:.82rem}.submission-card__approval-link a{color:var(--maroon);font-weight:600;text-decoration:none}.submission-card__approval-link a:hover{text-decoration:underline}.submission-card__footer{border-top:1px solid var(--border);align-items:stretch;gap:1rem;margin-top:.85rem;padding-top:.75rem;display:flex}.submission-card__remarks{text-align:left;flex:1;min-width:0}.submission-card__remarks-label{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:.35rem;font-size:.72rem;font-weight:700;display:block}.submission-card__remarks-text{color:var(--ink-2);white-space:pre-wrap;margin:0;font-size:.84rem;line-height:1.55}.submission-card__remarks-empty{color:var(--muted);margin:0;font-size:.82rem;font-style:italic;line-height:1.5}.submission-card__actions{border-top:none;flex-shrink:0;align-items:center;margin:0;padding:0;display:flex}@media (width<=640px){.submission-card__footer{flex-direction:column;align-items:stretch}.submission-card__actions{justify-content:flex-end}}.submission-card__edit-btn{color:var(--maroon);cursor:pointer;background:#8000200f;border:1px solid #80002038;border-radius:8px;justify-content:center;align-items:center;padding:.45rem .9rem;font-size:.82rem;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.submission-card__edit-btn:hover{background:#8000201a;border-color:#80002059}.upload-edit-banner{color:var(--ink);background:#eab3081f;border:1px solid #eab30859;border-radius:10px;margin-bottom:1rem;padding:.75rem .9rem;font-size:.88rem;line-height:1.45}.upload-edit-banner--published{background:#8000200f;border-color:#80002038}.upload-edit-banner strong{font-weight:700}.submission-empty{text-align:center;background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:12px;padding:3rem 2rem}.submission-empty svg{width:44px;height:44px;color:var(--subtle);margin:0 auto .75rem;display:block}.submission-empty p{color:var(--ink);margin-bottom:.375rem;font-size:.95rem;font-weight:500}.submission-empty span{font-size:.85rem}.link-btn{color:var(--blue);cursor:pointer;background:0 0;border:none;padding:0;font-family:DM Sans,sans-serif;font-size:.85rem;text-decoration:underline}.submission-tbl{border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:12px;width:100%;font-size:.875rem;overflow:hidden}.submission-tbl th{background:var(--bg);text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--subtle);border-bottom:1px solid var(--border);padding:.875rem 1.25rem;font-size:.75rem;font-weight:600}.submission-tbl td{border-bottom:1px solid var(--border);color:var(--ink);vertical-align:middle;padding:1rem 1.25rem}.submission-tbl tr:last-child td{border-bottom:none}.submission-tbl tr:hover td{background:var(--bg)}.status-pill{border-radius:999px;align-items:center;gap:.375rem;padding:.25rem .75rem;font-size:.75rem;font-weight:500;display:inline-flex}.status-pill:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.status-pill--pending{color:#92400e;background:#fef3c7}.status-pill--approved{color:#166534;background:#dcfce7}.status-pill--revision{color:#0369a1;background:#e0f2fe}.status-pill--rejected{color:#c5221f;background:#fce8e6}.timeline{flex-direction:column;gap:0;display:flex}.timeline-item{border-left:2px solid var(--border);gap:1rem;margin-left:8px;padding:.75rem 0 .75rem 1.25rem;display:flex;position:relative}.timeline-dot{border:2px solid var(--surface);border-radius:50%;width:14px;height:14px;position:absolute;top:1.1rem;left:-8px}.timeline-dot--blue{background:#1a73e8}.timeline-dot--amber{background:#f59e0b}.timeline-dot--green{background:#16a34a}.timeline-dot--maroon{background:var(--maroon)}.timeline-text{color:var(--ink);margin-bottom:.2rem;font-size:.875rem}.timeline-time{color:var(--subtle);font-size:.75rem}.upload-form-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.75rem}.drop-zone{border:2px dashed var(--border);cursor:pointer;border-radius:10px;margin-bottom:1.5rem;transition:border-color .15s,background .15s;position:relative;overflow:hidden}.drop-zone-preview{align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.drop-sub{color:var(--muted);margin-bottom:.375rem;font-size:.85rem}.drop-hint{color:var(--subtle);font-size:.75rem}.file-icon{color:#1558b0;background:#e8f0fe;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.file-icon svg{width:22px;height:22px}.file-info{flex:1}.file-remove{cursor:pointer;color:var(--subtle);background:0 0;border:none;border-radius:4px;padding:.25rem;transition:color .12s}.file-remove:hover{color:#dc2626}.file-remove svg{width:16px;height:16px}.upload-fields{flex-direction:column;gap:1.125rem;margin-bottom:1.5rem;display:flex}.upload-field{flex-direction:column;gap:.375rem;display:flex}.upload-field label{color:var(--ink-2);font-size:.82rem;font-weight:500}.upload-field input,.upload-field textarea,.upload-field .upload-select{border:1.5px solid var(--border);color:var(--ink);background:var(--bg);border-radius:8px;outline:none;width:100%;padding:.65rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.upload-field input:focus,.upload-field textarea:focus,.upload-field .upload-select:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.upload-field textarea{resize:vertical;min-height:100px}.field-hint--approval{margin:.25rem 0 .6rem;line-height:1.45;display:block}.pdf-analysis-badge{color:#1558b0;background:#e8f0fe;border-radius:999px;margin-top:.5rem;padding:.2rem .55rem;font-size:.72rem;font-weight:700;display:inline-block}.pdf-analysis-badge--basic{color:#92400e;background:#fef3c7}.upload-field--approval{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.25rem}.approval-sheet-row{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.35rem;display:flex}.approval-sheet-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:min(100%,14rem);font-size:.8rem;overflow:hidden}.approval-sheet-placeholder{color:var(--muted);font-size:.8rem}.approval-sheet-remove{color:#b91c1c;cursor:pointer;background:0 0;border:1px solid #b91c1c59;border-radius:6px;padding:.25rem .5rem;font-size:.75rem;font-weight:600}.approval-sheet-remove:hover{background:#fef2f2}.upload-field-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.upload-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:.75rem;padding-top:1rem;display:flex}.btn-cancel{color:var(--muted);border:1px solid var(--border);cursor:pointer;background:0 0;border-radius:8px;padding:.65rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:background .15s}.btn-cancel:hover{background:var(--bg)}.btn-upload{background:var(--maroon);color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.5rem;padding:.65rem 1.5rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:background .15s;display:flex}.btn-upload svg{width:16px;height:16px}.btn-upload:hover{background:var(--maroon-light)}.btn-upload--outline{background:var(--surface);color:var(--maroon);border:1px solid var(--maroon)}.btn-upload--outline:hover{background:#8000000f}.upload-scan-actions{flex-wrap:wrap;gap:.65rem;display:flex}.upload-scan-actions .btn-upload:disabled{opacity:.55;cursor:not-allowed}.upload-sidebar{flex-direction:column;gap:1rem;display:flex}.guidelines-card,.status-legend-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.guidelines-card h4,.status-legend-card h4{color:var(--ink);margin-bottom:1rem;font-size:.875rem;font-weight:600}.guidelines-list{flex-direction:column;gap:.625rem;list-style:none;display:flex}.guidelines-list li{color:var(--muted);align-items:flex-start;gap:.625rem;font-size:.825rem;line-height:1.45;display:flex}.guidelines-li-text{flex:1;min-width:0}.guidelines-list li svg{color:#16a34a;flex-shrink:0;width:15px;height:15px;margin-top:1px}.guidelines-list li strong{color:var(--ink)}.status-legend{flex-direction:column;gap:.875rem;display:flex}.legend-item{align-items:flex-start;gap:.75rem;display:flex}.status-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;margin-top:3px}.status-dot--pending{background:#f59e0b}.status-dot--approved{background:#16a34a}.status-dot--revision{background:#0ea5e9}.status-dot--rejected{background:#dc2626}.legend-item strong{color:var(--ink);font-size:.8rem;font-weight:600;display:block}.legend-item p{color:var(--muted);margin-top:.1rem;font-size:.75rem}.success-modal-card{background:var(--surface);text-align:center;border-radius:16px;width:100%;max-width:400px;padding:2.5rem;box-shadow:0 20px 60px #0003}.success-icon{color:#16a34a;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 1.25rem;display:flex}.success-icon svg{width:32px;height:32px}.success-modal-card h3{color:var(--ink);margin-bottom:.625rem;font-family:DM Serif Display,serif;font-size:1.375rem;font-weight:400}.success-modal-card p{color:var(--muted);margin-bottom:1.5rem;font-size:.875rem;line-height:1.6}.success-modal-actions{flex-wrap:wrap;justify-content:center;gap:.75rem;display:flex}.success-modal-actions .btn-upload,.success-modal-actions .btn-upload--outline{flex:1;justify-content:center;min-width:8.5rem}.confirm-remove-card .confirm-remove-icon{background:var(--maroon-faint);width:64px;height:64px;color:var(--maroon);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1.25rem;display:flex}.confirm-remove-card .confirm-remove-icon svg{width:32px;height:32px}.btn-upload--danger{background:var(--maroon);color:#fff;border:none}.btn-upload--danger:hover{background:var(--maroon-light)}.success-modal-actions .btn-upload--danger{flex:1;justify-content:center;min-width:8.5rem}.dash-upload-more{color:var(--muted);margin-top:1.25rem;font-size:.875rem;line-height:1.5}@media (width<=1100px){.dash-stats{grid-template-columns:repeat(2,1fr)}}@media (width<=900px){.upload-layout{grid-template-columns:1fr}.upload-sidebar{order:-1}.tab-content{padding:1.25rem}}@media (width<=640px){.dash-stats{grid-template-columns:repeat(2,1fr)}.saved-list,.upload-field-row{grid-template-columns:1fr}.lib-tabs{padding:0 1rem;overflow-x:auto}}.novelty-layout{margin-top:var(--nav-h);min-height:calc(100vh - var(--nav-h));grid-template-columns:480px 1fr;gap:0;display:grid}.novelty-form-col{border-right:1px solid var(--border);background:var(--surface);height:calc(100vh - var(--nav-h));top:var(--nav-h);padding:2rem 2rem 2rem 2.5rem;position:sticky;overflow-y:auto}.novelty-page-header{align-items:flex-start;gap:1rem;margin-bottom:1.75rem;display:flex}.novelty-page-title{color:var(--ink);margin-bottom:.25rem;font-family:DM Serif Display,serif;font-size:1.5rem;font-weight:400}.novelty-page-sub{color:var(--muted);font-size:.875rem}.novelty-card{background:var(--bg);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;padding:1.5rem}.novelty-field{flex-direction:column;gap:.375rem;margin-bottom:1.125rem;display:flex}.novelty-field:last-child{margin-bottom:0}.novelty-field label{color:var(--ink-2);font-size:.82rem;font-weight:500}.optional{color:var(--subtle);font-size:.75rem;font-weight:400}.novelty-field input,.novelty-field textarea,.novelty-field .novelty-select{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);border-radius:8px;outline:none;width:100%;padding:.65rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.novelty-field input:focus,.novelty-field textarea:focus,.novelty-field .novelty-select:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.novelty-field textarea{resize:vertical;min-height:90px}.novelty-field-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.btn-check{background:var(--maroon);color:#fff;cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;width:100%;margin-top:.5rem;padding:.8rem 1.5rem;font-family:DM Sans,sans-serif;font-size:.925rem;font-weight:500;transition:background .15s,transform .1s;display:flex}.btn-check svg{width:18px;height:18px}.btn-check:hover{background:var(--maroon-light);transform:translateY(-1px)}.btn-check:active{transform:translateY(0)}.btn-check:disabled{opacity:.65;cursor:not-allowed;transform:none}.how-it-works{background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:1.25rem}.how-it-works h4{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:1rem;font-size:.82rem;font-weight:600}.how-steps{flex-direction:column;gap:.875rem;display:flex}.how-step{align-items:flex-start;gap:.75rem;display:flex}.step-num{background:var(--maroon);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:.72rem;font-weight:700;display:flex}.how-step p{color:var(--muted);font-size:.83rem;line-height:1.5}.novelty-results-col{height:calc(100vh - var(--nav-h));top:var(--nav-h);padding:2rem 2.5rem 2rem 2rem;position:sticky;overflow-y:auto}.results-waiting{text-align:center;height:100%;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:2rem;display:flex}.waiting-icon{background:var(--bg);width:80px;height:80px;color:var(--subtle);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1.5rem;display:flex}.waiting-icon svg{width:40px;height:40px}.waiting-title{color:var(--ink);margin-bottom:.5rem;font-size:1.05rem;font-weight:600}.waiting-sub{max-width:320px;font-size:.875rem;line-height:1.6}.results-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:1rem;height:100%;display:flex}.loading-spinner{border:3px solid var(--border);border-top-color:var(--maroon);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}.results-loading p{color:var(--ink);font-size:1rem;font-weight:500}.results-loading span{color:var(--muted);font-size:.82rem}@keyframes spin{to{transform:rotate(360deg)}}.score-section{background:var(--surface);border:1px solid var(--border);border-radius:14px;align-items:center;gap:2rem;margin-bottom:1.5rem;padding:1.5rem;display:flex}.score-ring-wrap{flex-shrink:0;width:120px;height:120px;position:relative}.score-ring{width:120px;height:120px;transform:rotate(-90deg)}.ring-bg{fill:none;stroke:var(--bg);stroke-width:10px}.ring-fill{fill:none;stroke-width:10px;stroke-linecap:round;transition:stroke-dashoffset 1s,stroke .4s}.score-inner{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.score-num{color:var(--ink);font-size:1.5rem;font-weight:700;line-height:1;display:block}.score-lbl{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-size:.68rem}.verdict-block{flex:1}.verdict-badge{text-transform:uppercase;letter-spacing:.08em;border-radius:999px;margin-bottom:.625rem;padding:.3rem .875rem;font-size:.72rem;font-weight:700;display:inline-block}.verdict-badge--green{color:#166534;background:#dcfce7}.verdict-badge--yellow{color:#92400e;background:#fef3c7}.verdict-badge--red{color:#c5221f;background:#fce8e6}.verdict-title{color:var(--ink);margin-bottom:.375rem;font-size:1rem;font-weight:600}.verdict-msg{color:var(--muted);margin-bottom:.875rem;font-size:.83rem;line-height:1.55}.checked-title-wrap{background:var(--bg);border-radius:8px;padding:.625rem .875rem}.checked-label{text-transform:uppercase;letter-spacing:.06em;color:var(--subtle);margin-bottom:.2rem;font-size:.7rem;font-weight:600;display:block}.checked-title{color:var(--ink);font-size:.83rem;font-style:italic;line-height:1.4}.similar-section{margin-bottom:1.5rem}.similar-heading{color:var(--ink);align-items:center;gap:.5rem;margin-bottom:.875rem;font-size:.9rem;font-weight:600;display:flex}.similar-heading svg{width:16px;height:16px;color:var(--muted)}.similar-item{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:stretch;gap:0;margin-bottom:.625rem;transition:box-shadow .15s,border-color .15s;display:flex;overflow:hidden}.similar-item:hover{border-color:#c5c5d8;box-shadow:0 4px 12px #00000012}.similar-bar-col{border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:.25rem;width:56px;padding:.875rem 0;display:flex}.similar-pct{font-size:.95rem;font-weight:700;line-height:1}.similar-pct--high{color:#c5221f}.similar-pct--medium{color:#92400e}.similar-pct--low{color:#166534}.similar-mini-bar-wrap{background:var(--bg);border-radius:99px;width:32px;height:4px;overflow:hidden}.similar-mini-bar{border-radius:99px;height:100%;transition:width .8s}.similar-mini-bar--high{background:#ef4444}.similar-mini-bar--medium{background:#f59e0b}.similar-mini-bar--low{background:#22c55e}.similar-info{flex:1;padding:.875rem 1rem}.similar-title{color:var(--blue);cursor:pointer;margin-bottom:.3rem;font-size:.875rem;font-weight:600;line-height:1.35}.similar-title:hover{text-decoration:underline}.similar-meta{color:var(--muted);margin-bottom:.375rem;font-size:.75rem}.similar-matched-kws{flex-wrap:wrap;gap:.3rem;display:flex}.kw-tag{color:#92400e;background:#fef3c7;border-radius:999px;padding:.15rem .5rem;font-size:.68rem;font-weight:500}.tips-section{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-bottom:1.25rem;padding:1.25rem}.tips-section.tips--red{background:#fef2f2;border-color:#fecaca}.tips-section.tips--yellow{background:#fffbeb;border-color:#fde68a}.tips-header{color:var(--ink);align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;font-weight:600;display:flex}.tips-header svg{width:16px;height:16px}.tips-list{flex-direction:column;gap:.5rem;list-style:none;display:flex}.tips-list li{color:var(--ink-2);align-items:flex-start;gap:.5rem;font-size:.82rem;line-height:1.5;display:flex}.tips-list li:before{content:"→";color:var(--muted);flex-shrink:0}.btn-again{border:1.5px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;align-items:center;gap:.5rem;padding:.6rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:border-color .15s,color .15s;display:flex}.btn-again svg{width:15px;height:15px}.btn-again:hover{border-color:var(--ink);color:var(--ink)}@media (width<=1000px){.novelty-layout{grid-template-columns:1fr}.novelty-form-col,.novelty-results-col{border-right:none;height:auto;position:static}.novelty-form-col{border-bottom:1px solid var(--border)}.results-waiting{height:auto;padding:3rem 1rem}.novelty-field-row{grid-template-columns:1fr}}.profile-layout{margin-top:var(--nav-h);min-height:calc(100vh - var(--nav-h));grid-template-columns:260px 1fr;gap:0;display:grid}.profile-sidebar{background:var(--surface);border-right:1px solid var(--border);top:var(--nav-h);height:calc(100vh - var(--nav-h));padding:2rem 1.5rem;position:sticky;overflow-y:auto}.profile-card-large{text-align:center}.profile-avatar-large{color:#1558b0;background:#c5d8f8;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 1rem;display:flex}.profile-avatar-large svg{width:50px;height:50px}.profile-fullname{color:var(--ink);margin-bottom:.25rem;font-size:1rem;font-weight:600}.profile-student-id{color:var(--muted);margin-bottom:.75rem;font-size:.78rem}.profile-dept-badge{background:var(--maroon-faint);color:var(--maroon);border-radius:999px;margin-bottom:1.5rem;padding:.25rem .75rem;font-size:.75rem;font-weight:500;display:inline-block}.profile-stats{background:var(--bg);border-radius:10px;justify-content:center;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem .5rem;display:flex}.profile-stat{flex-direction:column;align-items:center;display:flex}.stat-divider{background:var(--border);width:1px;height:2rem}.signout-btn-full{border:1px solid var(--border);color:#dc2626;cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.6rem 1rem;font-family:DM Sans,sans-serif;font-size:.85rem;transition:background .15s;display:flex}.signout-btn-full svg{width:15px;height:15px}.signout-btn-full:hover{background:#fef2f2}.profile-main{flex-direction:column;gap:1.5rem;padding:2rem 2.5rem;display:flex;overflow-y:auto}.profile-section{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.section-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.section-header h3{color:var(--ink);font-size:.95rem;font-weight:600}.info-grid{grid-template-columns:1fr 1fr;gap:0;padding:0;display:grid}.status-badge{border-radius:999px;padding:.2rem .625rem;font-size:.75rem;font-weight:500;display:inline-block}.status-active{color:#166534;background:#dcfce7}.status-pending{color:#92400e;background:#fef3c7}.status-inactive{color:#991b1b;background:#fee2e2}.profile-form{flex-direction:column;gap:1rem;padding:1.25rem 1.5rem;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.form-row:first-child{grid-template-columns:1fr}.form-field{flex-direction:column;gap:.375rem;display:flex}.form-field input{border:1.5px solid var(--border);color:var(--ink);background:var(--bg);border-radius:8px;outline:none;padding:.65rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.form-field input:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.form-actions{justify-content:flex-end;display:flex}.btn-save{background:var(--maroon);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:.6rem 1.5rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:background .15s}.btn-save:hover{background:var(--maroon-light)}.activity-list{padding:.5rem 0}.activity-empty{color:var(--muted);margin:0;padding:1.25rem 1.5rem 1.5rem;font-size:.9rem;line-height:1.55}.activity-empty a{color:var(--blue);font-weight:500}.activity-empty a:hover{text-decoration:underline}.activity-item{border-bottom:1px solid var(--border);align-items:flex-start;gap:1rem;padding:.875rem 1.5rem;transition:background .12s;display:flex}.activity-item:last-child{border-bottom:none}.activity-item:hover{background:var(--bg)}.activity-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.activity-icon svg{width:18px;height:18px}.activity-icon--search{color:#1558b0;background:#e8f0fe}.activity-icon--save{color:#92400e;background:#fef3c7}.activity-icon--view{color:#166534;background:#f0fdf4}.activity-icon--cite{color:#c5221f;background:#fce8e6}.activity-info{flex:1}.activity-title{color:var(--ink);margin-bottom:.2rem;font-size:.875rem;line-height:1.4}.activity-time{color:var(--subtle);font-size:.75rem}@media (width<=900px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{border-right:none;border-bottom:1px solid var(--border);height:auto;position:static}.profile-main{padding:1.5rem}.info-grid{grid-template-columns:1fr}.info-item{border-right:none!important}.form-row{grid-template-columns:1fr}}.profile-pwd-hint{color:var(--muted,#6b6b80);margin:.35rem 0 0;font-size:.8rem;line-height:1.4}.profile-pwd-msg{margin:.75rem 0 0;font-size:.88rem}.profile-pwd-msg--err{color:#b91c1c}.profile-pwd-msg--ok{color:#15803d}.sidebar-nav-item--external{font-size:.84rem}:root{--maroon:maroon;--maroon-light:#a00000;--maroon-faint:#fff5f5;--maroon-mid:#f0e0e0;--blue:#1a73e8;--blue-dark:#1558b0;--green:#16a34a;--amber:#d97706;--red:#dc2626;--ink:#1a1a2e;--ink-2:#2d2d44;--muted:#6b6b80;--subtle:#9b9baa;--border:#e8e8f0;--surface:#fff;--bg:#f7f7fb;--nav-h:56px;--sidebar-w:220px}.admin-portal .topnav{height:var(--nav-h);background:var(--maroon);z-index:100;border-bottom:1px solid #ffffff1f;align-items:center;gap:1rem;padding:0 1.25rem;display:flex;position:fixed;top:0;left:0;right:0}.admin-portal .topnav-left{flex-shrink:0;align-items:center;display:flex}.admin-portal .brand{align-items:center;gap:.5rem;display:flex}.admin-portal .nav-logo{width:auto;height:28px}.admin-portal .brand-name{color:#fff;white-space:nowrap;font-size:1.1rem;font-weight:700}.admin-portal .brand-accent{color:#ffffffa6;font-weight:300}.admin-portal .admin-badge{color:#fff;text-transform:uppercase;letter-spacing:.08em;background:#ffffff2e;border-radius:999px;margin-left:.25rem;padding:.15rem .5rem;font-size:.65rem;font-weight:700}.admin-portal .topnav-right{flex-shrink:0;align-items:center;gap:.5rem;margin-left:auto;display:flex;position:relative}.admin-portal .user-menu{cursor:pointer;color:#fff;border:1px solid #ffffff40;border-radius:20px;align-items:center;gap:.4rem;padding:.3rem .75rem .3rem .4rem;transition:background .15s;display:flex}.admin-portal .user-menu:hover{background:#ffffff1f}.admin-portal .avatar{color:#fff;background:#ffffff40;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.admin-portal .avatar svg{width:17px;height:17px}.admin-portal .user-name{color:#fff;font-size:.83rem;font-weight:500}.admin-portal .chevron{color:#ffffffa6;width:13px;height:13px}.admin-portal .user-dropdown{background:var(--surface);border:1px solid var(--border);z-index:200;border-radius:10px;min-width:180px;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 8px 24px #00000026}.admin-portal .dropdown-user-info{border-bottom:1px solid var(--border);padding:.875rem 1rem}.admin-portal .dropdown-user-name{color:var(--ink);font-size:.875rem;font-weight:600}.admin-portal .dropdown-user-role{color:var(--maroon);margin-top:.1rem;font-size:.72rem;font-weight:500}.admin-portal .dropdown-divider{background:var(--border);height:1px}.admin-portal .dropdown-item{color:var(--ink);cursor:pointer;align-items:center;gap:.625rem;padding:.625rem 1rem;font-size:.875rem;text-decoration:none;transition:background .12s;display:flex}.admin-portal .dropdown-item:hover{background:var(--bg)}.admin-portal .dropdown-item svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}.admin-portal .dropdown-item--danger,.admin-portal .dropdown-item--danger svg{color:#dc2626}.admin-portal .dropdown-item--danger:hover{background:#fef2f2}.sidebar-section-label{text-transform:uppercase;letter-spacing:.1em;color:var(--subtle);margin-top:1rem;margin-bottom:.5rem;padding:0 1.25rem;font-size:.68rem;font-weight:700}.stat-trend--down{color:#dc2626}.pill--revision{color:#0369a1;background:#e0f2fe}.pill--published{color:#166534;background:#dcfce7}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.4rem;padding:.6rem 1.25rem;font-family:DM Sans,sans-serif;font-size:.875rem;font-weight:500;transition:background .15s,transform .1s;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed}.form-field input,.form-field textarea,.form-field select{border:1.5px solid var(--border);color:var(--ink);background:var(--bg);border-radius:8px;outline:none;width:100%;padding:.65rem .875rem;font-family:DM Sans,sans-serif;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.form-field textarea{resize:vertical;min-height:100px}.req{color:#dc2626}.field-hint{color:var(--subtle);font-size:.74rem}datalist{visibility:hidden;pointer-events:none;width:0;height:0;position:absolute;overflow:hidden}.filter-select{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);cursor:pointer;border-radius:8px;outline:none;padding:.55rem .875rem;font-family:DM Sans,sans-serif;font-size:.875rem;transition:border-color .15s}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{display:none}.admin-content{padding:1.25rem}}.dash-sidebar-divider{background:var(--border);height:1px;margin:1rem 0}.dash-sidebar-section{margin-top:0}.dash-sidebar-section-head{flex-direction:column;gap:.2rem;margin-bottom:.65rem;display:flex}.dash-sidebar-subtitle{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.78rem;font-weight:600}.dash-sidebar-meta{color:var(--subtle);font-size:.72rem}.dept-bar-fill--IT{background:#1a73e8}.dept-bar-fill--CpE{background:var(--maroon)}.dept-bar-fill--HM{background:#f59e0b}.dept-bar-fill--OA{background:#16a34a}.sdg-bar-fill{background:var(--maroon);border-radius:99px;height:100%;transition:width .8s}.sdg-bar-fill--1{background:#e5243b}.sdg-bar-fill--2{background:#dda63a}.sdg-bar-fill--3{background:#4c9f38}.sdg-bar-fill--4{background:#c5192d}.sdg-bar-fill--5{background:#ff3a21}.sdg-bar-fill--6{background:#26bde2}.sdg-bar-fill--7{background:#fcc30b}.sdg-bar-fill--8{background:#a21942}.sdg-bar-fill--9{background:#fd6925}.sdg-bar-fill--10{background:#dd1367}.sdg-bar-fill--11{background:#fd9d24}.sdg-bar-fill--12{background:#bf8b2e}.sdg-bar-fill--13{background:#3f7e44}.sdg-bar-fill--14{background:#0a97d9}.sdg-bar-fill--15{background:#56c02b}.sdg-bar-fill--16{background:#00689d}.sdg-bar-fill--17{background:#19486a}.activity-feed{flex-direction:column;gap:0;display:flex}.activity-row{border-bottom:1px solid var(--border);align-items:flex-start;gap:.875rem;padding:.75rem 0;display:flex}.activity-row:last-child{border-bottom:none}.activity-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;margin-top:5px}.activity-dot--upload{background:var(--maroon)}.activity-dot--approve{background:#16a34a}.activity-dot--login{background:#1a73e8}.activity-dot--reject{background:#dc2626}.activity-dot--revision{background:#f59e0b}.activity-text{color:var(--ink);flex:1;font-size:.85rem;line-height:1.45}.activity-text strong{font-weight:600}.activity-time{color:var(--subtle);white-space:nowrap;flex-shrink:0;font-size:.75rem}.activity-card-body{padding-top:.5rem;padding-bottom:1rem}.activity-card-body .list-pagination{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.activity-empty-msg{color:var(--muted);margin:0 0 .75rem;font-size:.85rem}.activity-empty-msg--err{color:#b91c1c}.activity-row .recent-approved-main{flex:1;min-width:0}.recent-approved-title{font-weight:600;line-height:1.35}.recent-approved-meta{color:var(--muted);font-size:.8rem;line-height:1.4;margin-top:.2rem!important}.activity-row .recent-approved-main .dept-badge{margin-top:.35rem}.recent-approved-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:.35rem;display:flex}.recent-approved-link{color:var(--maroon);font-size:.78rem;font-weight:600;text-decoration:none}.recent-approved-link:hover{text-decoration:underline}.action-btns{gap:.375rem;display:flex}@media (width<=960px){.dash-row{grid-template-columns:1fr}}.export-report-menu{display:inline-block;position:relative}.export-report-menu__trigger{align-items:center;gap:.35rem;display:inline-flex}.export-report-menu__chevron{opacity:.7;width:14px;height:14px;transition:transform .15s}.export-report-menu--open .export-report-menu__chevron{transform:rotate(180deg)}.export-report-menu__panel{background:var(--surface,#fff);border:1px solid var(--border,#e8e8f0);z-index:40;border-radius:8px;min-width:132px;padding:.35rem;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #1a1a2e1f}.export-report-menu__item{width:100%;color:var(--ink-2,#2d2d44);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem .65rem;font-family:DM Sans,sans-serif;font-size:.82rem;font-weight:500;display:flex}.export-report-menu__item:hover:not(:disabled){background:var(--bg,#f5f5fa);color:var(--ink,#1a1a2e)}.export-report-menu__item:disabled{opacity:.45;cursor:not-allowed}.export-report-menu__item svg{width:15px;height:15px;color:var(--muted,#6b6b80);flex-shrink:0}.manage-tabs{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:.25rem;margin-bottom:1.25rem;padding:.25rem;display:flex}.manage-tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:7px;align-items:center;gap:.5rem;padding:.45rem 1rem;font-family:DM Sans,sans-serif;font-size:.83rem;font-weight:500;transition:color .15s,background .15s;display:flex}.manage-tab:hover{color:var(--ink);background:var(--bg)}.manage-tab.active{background:var(--maroon);color:#fff}.manage-tab:not(.active) .tab-count{background:var(--bg);color:var(--muted)}.manage-tab:not(.active) .tab-count--amber{color:#92400e;background:#fef3c7}.manage-tab:not(.active) .tab-count--green{color:#166534;background:#dcfce7}.manage-tab:not(.active) .tab-count--blue{color:#0369a1;background:#e0f2fe}.manage-tab:not(.active) .tab-count--red{color:#c5221f;background:#fce8e6}.data-table td:first-child{max-width:280px}.data-table td:nth-child(6){white-space:nowrap;vertical-align:middle;min-width:10rem}.manage-actions-cell{flex-flow:wrap;align-items:center;gap:.5rem;display:flex}.manage-remarks-cell{flex-direction:column;gap:.35rem;width:100%;min-width:12rem;display:flex}.manage-actions-cell .status-change-select.faculty-status-select{border-width:1px;border-radius:6px;width:7.25rem;min-width:5.75rem;max-width:7.25rem;padding:.2rem 1.5rem .2rem .4rem;font-size:.7rem;line-height:1.2}.faculty-review-remarks-input{width:100%;min-height:2.75rem;color:var(--ink);background:var(--surface);border:1px solid var(--border);resize:vertical;border-radius:8px;padding:.45rem .55rem;font-family:inherit;font-size:.8rem;line-height:1.45}.faculty-review-remarks-input:focus{border-color:var(--maroon);outline:none;box-shadow:0 0 0 2px #8000201f}.faculty-review-save-remarks{align-self:flex-start;color:var(--ink)!important;border:1px solid var(--border)!important;background:#f3f4f6!important}.modal-footer-faculty-row--review{flex-wrap:wrap;flex:1;align-items:flex-end;gap:1rem;min-width:min(100%,22rem);display:flex}.modal-footer-faculty-row--review .manage-remarks-cell{flex:1;min-width:min(100%,20rem)}.modal-footer .status-change-select.faculty-status-select{min-width:6.5rem;max-width:8rem;padding:.24rem 1.6rem .24rem .45rem;font-size:.72rem}.faculty-status-select-label{cursor:default;align-items:center;gap:.5rem;margin:0;display:inline-flex}.faculty-status-select-label-text{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;font-size:.78rem;font-weight:600}.modal-footer--faculty{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem}.modal-footer-faculty-row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.thesis-title-cell{color:var(--ink);margin-bottom:.2rem;font-size:.875rem;font-weight:600;line-height:1.35}.thesis-author-cell{color:var(--muted);font-size:.75rem}.detail-grid{grid-template-columns:1fr 1fr;gap:.875rem 1.5rem;margin-bottom:1.25rem;display:grid}.detail-item label{text-transform:uppercase;letter-spacing:.07em;color:var(--subtle);margin-bottom:.2rem;font-size:.7rem;font-weight:700;display:block}.detail-item p{color:var(--ink);font-size:.9rem}.detail-abstract{color:var(--ink-2);background:var(--bg);border-radius:8px;margin-bottom:1rem;padding:1rem;font-size:.875rem;line-height:1.7}.detail-status-row{background:var(--bg);border-radius:8px;align-items:center;gap:.75rem;margin-bottom:.75rem;padding:.875rem;display:flex}.detail-status-label{color:var(--muted);margin-right:auto;font-size:.82rem}.status-change-select{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);cursor:pointer;border-radius:7px;outline:none;padding:.4rem .75rem;font-family:DM Sans,sans-serif;font-size:.85rem}.status-change-select:focus{border-color:var(--maroon)}.user-cell-id{color:var(--muted);margin-top:.12rem;font-size:.73rem}.approvals-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:10px;overflow:hidden}.approvals-table-wrap .data-table{margin:0}.approvals-table-wrap .data-table th{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.72rem}.manage-submitter-line{border-top:1px solid var(--border);color:var(--ink);margin-top:.75rem;padding-top:.75rem;font-size:.875rem;line-height:1.5}.upload-layout{grid-template-columns:1fr 260px;align-items:start;gap:1.5rem;display:grid}.upload-step{margin-bottom:1.5rem}.step-header{align-items:flex-start;gap:.875rem;margin-bottom:1rem;display:flex}.step-num{background:var(--maroon);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;margin-top:2px;font-size:.8rem;font-weight:700;display:flex}.step-num--ai{letter-spacing:.03em;background:#1a73e8;font-size:.62rem}.step-title{color:var(--ink);align-items:center;gap:.5rem;font-size:.95rem;font-weight:600;display:flex}.step-sub{color:var(--muted);margin-top:.15rem;font-size:.8rem}.ai-badge{color:#1558b0;text-transform:uppercase;letter-spacing:.06em;background:#e8f0fe;border-radius:999px;padding:.15rem .5rem;font-size:.65rem;font-weight:700}.drop-zone{border:2px dashed var(--border);cursor:pointer;border-radius:10px;transition:border-color .15s,background .15s;position:relative;overflow:hidden}.drop-zone-inner{cursor:pointer;text-align:center;padding:2.5rem 2rem;display:block}.drop-preview{align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.drop-zone:hover,.drop-zone.drag-over{border-color:var(--blue);background:#1a73e808}.drop-icon{background:var(--bg);width:52px;height:52px;color:var(--muted);border-radius:12px;justify-content:center;align-items:center;margin:0 auto 1rem;display:flex}.drop-icon svg{width:26px;height:26px}.drop-title{color:var(--ink);margin-bottom:.25rem;font-size:.95rem;font-weight:600}.drop-sub{color:var(--muted);font-size:.85rem}.drop-browse{color:var(--blue);font-weight:500}.drop-hint{color:var(--subtle);margin-top:.25rem;font-size:.75rem}.file-pdf-icon{color:#c5221f;background:#fce8e6;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.file-pdf-icon svg{width:20px;height:20px}.file-name{color:var(--ink);font-size:.875rem;font-weight:500}.file-size{color:var(--muted);font-size:.75rem}.ai-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.25rem}.ai-waiting,.ai-loading{color:var(--muted);align-items:center;gap:.875rem;font-size:.875rem;display:flex}.ai-waiting svg{width:28px;height:28px;color:var(--subtle);flex-shrink:0}.ai-waiting p strong{color:var(--ink)}.ai-spinner{border:3px solid var(--border);border-top-color:#1a73e8;border-radius:50%;flex-shrink:0;width:28px;height:28px;animation:.7s linear infinite spin}.ai-loading-title{color:var(--ink);font-size:.875rem;font-weight:600}.ai-loading-sub{color:var(--muted);font-size:.78rem}.ai-results{flex-direction:column;gap:1rem;display:flex}.ai-result-label{text-transform:uppercase;letter-spacing:.07em;color:var(--subtle);margin-bottom:.35rem;font-size:.7rem;font-weight:700;display:block}.ai-result-text{color:var(--ink-2);font-size:.875rem;line-height:1.65}.ai-tags{flex-wrap:wrap;gap:.375rem;display:flex}.ai-tag{color:#1558b0;background:#e8f0fe;border-radius:999px;padding:.2rem .6rem;font-size:.72rem;font-weight:500}.ai-tag--topic{background:var(--maroon-faint);color:var(--maroon)}.ai-run{align-items:center;gap:.875rem;margin-top:.75rem;display:flex}.ai-note{color:var(--subtle);font-size:.78rem}.form-row-2{grid-template-columns:1fr 1fr;align-items:start;gap:1rem;margin-bottom:1.125rem;display:grid}.form-row-2>.form-field{margin-bottom:0}.form-row-2 .form-field input:not([type=checkbox]),.form-row-2 .form-field select{box-sizing:border-box;height:2.5rem;min-height:0}.form-row-2 .form-field input.form-control-compact{flex:none}.upload-actions{border-top:1px solid var(--border);justify-content:flex-end;gap:.75rem;margin-top:1rem;padding-top:1rem;display:flex}.card-mini-title{color:var(--ink);margin-bottom:.875rem;font-size:.875rem;font-weight:600}.guide-list{flex-direction:column;gap:.5rem;list-style:none;display:flex}.guide-list li{color:var(--muted);align-items:flex-start;gap:.5rem;font-size:.82rem;line-height:1.45;display:flex}.guide-li-text{flex:1;min-width:0}.guide-list li svg{color:#16a34a;flex-shrink:0;width:15px;height:15px;margin-top:1px}.guide-list li strong{color:var(--ink)}.ai-feature-list{flex-direction:column;gap:.875rem;display:flex}.ai-feature{align-items:flex-start;gap:.75rem;display:flex}.ai-feature-icon{color:#1558b0;background:#e8f0fe;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.ai-feature-icon:before{content:"";background:currentColor;width:6px;height:6px;transform:rotate(45deg)}.ai-feature strong{color:var(--ink);font-size:.82rem;font-weight:600;display:block}.ai-feature p{color:var(--muted);margin-top:.1rem;font-size:.75rem;line-height:1.4}.success-icon-wrap{color:#16a34a;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;margin:0 auto 1.25rem;display:flex}.success-icon-wrap svg{width:32px;height:32px}.admin-approval-sheet-block{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.25rem}.admin-approval-sheet-label{color:var(--ink);margin-bottom:.35rem;font-size:.875rem;font-weight:600;display:block}.admin-approval-sheet-hint{color:var(--muted);margin:0 0 .6rem;font-size:.78rem;line-height:1.45}.admin-approval-sheet-row{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.admin-approval-sheet-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:min(100%,16rem);font-size:.8rem;overflow:hidden}.admin-approval-sheet-placeholder{color:var(--muted);font-size:.8rem}.admin-approval-sheet-remove{color:#b91c1c!important;border-color:#b91c1c66!important}@media (width<=900px){.upload-layout{grid-template-columns:1fr}.upload-sidebar{order:-1}.form-row-2{grid-template-columns:1fr}}.profile-layout-grid{grid-template-columns:260px 1fr;align-items:start;gap:1.5rem;display:grid}.profile-sidebar-card{background:var(--surface);border:1px solid var(--border);text-align:center;top:calc(var(--nav-h) + 1.5rem);border-radius:12px;padding:1.75rem 1.5rem;position:sticky}.profile-avatar-xl{width:80px;height:80px;color:var(--maroon);background:#8000001f;border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1rem;display:flex}.profile-avatar-xl svg{width:48px;height:48px}.profile-name{color:var(--ink);margin-bottom:.2rem;font-size:1rem;font-weight:600}.profile-email{color:var(--muted);margin-bottom:.75rem;font-size:.78rem}.profile-role-badge{background:var(--maroon-faint);color:var(--maroon);border-radius:999px;margin-bottom:1.5rem;padding:.25rem .75rem;font-size:.72rem;font-weight:600;display:inline-block}.profile-card-stats{background:var(--bg);border-radius:10px;justify-content:center;align-items:center;gap:.875rem;margin-bottom:1.5rem;padding:1rem .5rem;display:flex}.pcs-item{flex-direction:column;align-items:center;display:flex}.pcs-num{color:var(--ink);font-size:1.2rem;font-weight:700;line-height:1}.pcs-lbl{color:var(--muted);margin-top:.2rem;font-size:.68rem}.pcs-divider{background:var(--border);width:1px;height:2rem}.info-grid{grid-template-columns:1fr 1fr;display:grid}.info-item{border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:1rem 1.5rem}.info-item:nth-child(2n){border-right:none}.info-item:nth-last-child(-n+2){border-bottom:none}.info-item label{text-transform:uppercase;letter-spacing:.07em;color:var(--subtle);margin-bottom:.25rem;font-size:.7rem;font-weight:700;display:block}.info-item p{color:var(--ink);font-size:.9rem}.pw-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.admin-act-item{border-bottom:1px solid var(--border);align-items:flex-start;gap:.875rem;padding:.75rem 1.5rem;display:flex}.admin-act-item:last-child{border-bottom:none}.admin-act-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.admin-act-icon svg{width:16px;height:16px}.admin-act-icon--upload{background:var(--maroon-faint);color:var(--maroon)}.admin-act-icon--approve{color:#166534;background:#dcfce7}.admin-act-icon--login{color:#1558b0;background:#e8f0fe}.admin-act-icon--reject{color:#c5221f;background:#fce8e6}.admin-act-text{color:var(--ink);flex:1;font-size:.85rem;line-height:1.4}.admin-act-time{color:var(--subtle);white-space:nowrap;flex-shrink:0;font-size:.75rem}@media (width<=960px){.profile-layout-grid{grid-template-columns:1fr}.profile-sidebar-card{position:static}.info-grid{grid-template-columns:1fr}.info-item{border-right:none!important}.pw-row{grid-template-columns:1fr}}.modal-card.user-profile-modal{width:100%;max-width:min(520px,94vw);max-height:min(85vh,520px)}.user-profile-modal__body{min-height:0;overflow-y:auto}.user-profile-details{gap:.4rem;margin:0;display:grid}.user-profile-details__row{grid-template-columns:minmax(8rem,38%) 1fr;align-items:baseline;gap:.5rem 1rem;display:grid}.user-profile-details__row dt{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:0;font-size:.7rem;font-weight:600}.user-profile-details__row dd{color:var(--ink);margin:0;font-size:.84rem}.user-profile-hint{color:var(--muted);margin:.75rem 0 0;font-size:.85rem}.user-profile-hint--err{color:#b91c1c}.user-profile-review-note{color:#92400e;background:#fef3c7;border:1px solid #fde68a;border-radius:8px;margin:.65rem 0 0;padding:.5rem .75rem;font-size:.78rem}.user-profile-id-block{border-top:1px solid var(--border);margin-top:.65rem;padding-top:.5rem}.user-profile-id-label{margin:0 0 .35rem;font-size:.75rem}.user-profile-id-img{object-fit:contain;object-position:left center;border:1px solid var(--border);background:var(--bg);border-radius:6px;width:auto;max-width:min(240px,100%);max-height:min(100px,18vh);display:block}.user-profile-modal__footer{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--maroon:maroon;--maroon-light:#a00000;--maroon-faint:#fff5f5;--blue:#1a73e8;--blue-dark:#1558b0;--green:#16a34a;--amber:#d97706;--red:#dc2626;--ink:#1a1a2e;--ink-2:#2d2d44;--muted:#6b6b80;--subtle:#9b9baa;--border:#e8e8f0;--surface:#fff;--bg:#f7f7fb;--nav-h:56px;--sidebar-w:225px}html,body{background:var(--bg);height:100%;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:DM Sans,sans-serif}.noscript-bar{top:var(--nav-h);color:#fff;text-align:center;z-index:9998;background:#92400e;padding:.55rem 1rem;font-size:.82rem;position:fixed;left:0;right:0}.dev-portal .topnav{height:var(--nav-h);z-index:100;background:#1a1a2e;border-bottom:1px solid #ffffff14;align-items:center;gap:1rem;padding:0 1.5rem;display:flex;position:fixed;top:0;left:0;right:0}.dev-portal .topnav-left{flex-shrink:0;align-items:center;gap:.75rem;display:flex}.dev-portal .brand{align-items:center;gap:.5rem;display:flex}.dev-portal .nav-logo{width:auto;height:26px}.dev-portal .brand-name{color:#fff;white-space:nowrap;font-size:1rem;font-weight:700}.dev-portal .brand-accent{color:#ffffff80;font-weight:300}.dev-portal .admin-badge{background:var(--maroon);color:#fff;text-transform:uppercase;letter-spacing:.08em;border-radius:999px;padding:.2rem .55rem;font-size:.62rem;font-weight:700}.dev-portal .topnav-center{flex:1}.dev-portal .topnav-right{flex-shrink:0;align-items:center;gap:.75rem;margin-left:auto;display:flex;position:relative}.dev-portal .nav-icon-btn{cursor:pointer;color:#ffffffb3;background:#ffffff12;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:background .15s;display:flex;position:relative}.dev-portal .nav-icon-btn:hover{background:#ffffff21}.dev-portal .nav-icon-btn svg{width:17px;height:17px}.dev-portal .nav-badge{background:var(--red);border:2px solid #1a1a2e;border-radius:50%;width:8px;height:8px;position:absolute;top:4px;right:4px}.dev-portal .user-menu{cursor:pointer;color:#fff;border:1px solid #ffffff26;border-radius:20px;align-items:center;gap:.5rem;padding:.3rem .75rem .3rem .4rem;transition:background .15s;display:flex}.dev-portal .user-menu:hover{background:#ffffff14}.dev-portal .avatar{background:var(--maroon);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.dev-portal .avatar svg{width:16px;height:16px}.dev-portal .user-name{color:#fff;font-size:.82rem;font-weight:500}.dev-portal .chevron{color:#ffffff80;width:12px;height:12px}.dev-portal .user-dropdown{background:var(--surface);border:1px solid var(--border);z-index:200;border-radius:10px;min-width:200px;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 8px 30px #00000026}.dev-portal .dropdown-user-info{border-bottom:1px solid var(--border);padding:.875rem 1rem}.dev-portal .dropdown-user-name{color:var(--ink);font-size:.875rem;font-weight:600}.dev-portal .dropdown-user-role{color:var(--maroon);margin-top:.1rem;font-size:.72rem;font-weight:500}.dev-portal .dropdown-divider{background:var(--border);height:1px}.dev-portal .dropdown-item{color:var(--ink);cursor:pointer;align-items:center;gap:.625rem;padding:.625rem 1rem;font-size:.875rem;text-decoration:none;transition:background .12s;display:flex}.dev-portal .dropdown-item:hover{background:var(--bg)}.dev-portal .dropdown-item svg{width:15px;height:15px;color:var(--muted);flex-shrink:0}.dev-portal .dropdown-item--danger,.dev-portal .dropdown-item--danger svg{color:#dc2626}.dev-portal .dropdown-item--danger:hover{background:#fef2f2}.admin-shell{grid-template-columns:var(--sidebar-w) 1fr;margin-top:var(--nav-h);min-height:calc(100vh - var(--nav-h));display:grid}.admin-sidebar{background:var(--surface);border-right:1px solid var(--border);top:var(--nav-h);height:calc(100vh - var(--nav-h));flex-direction:column;padding:1.25rem 0;display:flex;position:sticky;overflow-y:auto}.sidebar-section-label{text-transform:uppercase;letter-spacing:.1em;color:var(--subtle);margin:1rem 0 .4rem;padding:0 1.25rem;font-size:.67rem;font-weight:700}.sidebar-section-label:first-child{margin-top:0}.sidebar-nav-item{color:var(--muted);cursor:pointer;border-left:3px solid #0000;align-items:center;gap:.7rem;padding:.575rem 1.25rem;font-size:.855rem;font-weight:500;text-decoration:none;transition:color .12s,background .12s,border-color .12s;display:flex}.sidebar-nav-item svg{flex-shrink:0;width:16px;height:16px}.sidebar-nav-item:hover{color:var(--ink);background:var(--bg)}.sidebar-nav-item.active{color:var(--maroon);background:var(--maroon-faint);border-left-color:var(--maroon);font-weight:600}.sidebar-bottom{border-top:1px solid var(--border);margin-top:auto;padding:1rem 1.25rem}.sidebar-signout{border:1px solid var(--border);color:#dc2626;cursor:pointer;box-sizing:border-box;background:0 0;border-radius:8px;align-items:center;gap:.625rem;width:100%;padding:.575rem .875rem;font-family:DM Sans,sans-serif;font-size:.82rem;text-decoration:none;transition:background .15s;display:flex}.sidebar-signout svg{flex-shrink:0;width:15px;height:15px}.sidebar-signout:hover{background:#fef2f2}.admin-content{padding:2rem 2.5rem;overflow-y:auto}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:2rem;display:flex}.page-title{color:var(--ink);margin-bottom:.2rem;font-family:DM Serif Display,serif;font-size:1.6rem;font-weight:400}.page-subtitle{color:var(--muted);font-size:.875rem}.stats-grid{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.75rem;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:1rem;padding:1.25rem;display:flex}.stat-icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.stat-icon svg{width:22px;height:22px}.stat-icon--maroon{background:var(--maroon-faint);color:var(--maroon)}.stat-icon--blue{color:#1558b0;background:#e8f0fe}.stat-icon--green{color:#166534;background:#dcfce7}.stat-icon--amber{color:#92400e;background:#fef3c7}.stat-icon--red{color:#c5221f;background:#fce8e6}.stat-icon--purple{color:#7c3aed;background:#f3e8ff}.stat-num{color:var(--ink);font-size:1.7rem;font-weight:700;line-height:1}.stat-lbl{color:var(--muted);margin-top:.2rem;font-size:.76rem}.stat-trend{color:#16a34a;margin-top:.2rem;font-size:.71rem}.stat-trend--warn{color:var(--amber)}.stat-trend--red{color:var(--red)}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;margin-bottom:1.5rem;overflow:hidden}.card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:1.1rem 1.5rem;display:flex}.card-title{color:var(--ink);font-size:.92rem;font-weight:600}.card-body{padding:1.25rem 1.5rem}.data-table{border-collapse:collapse;width:100%;font-size:.86rem}.data-table th{background:var(--bg);text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--subtle);border-bottom:1px solid var(--border);white-space:nowrap;padding:.7rem 1rem;font-size:.7rem;font-weight:700}.data-table td{border-bottom:1px solid var(--border);color:var(--ink);vertical-align:middle;padding:.85rem 1rem}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:hover td{background:var(--bg)}.pill{border-radius:999px;align-items:center;gap:.35rem;padding:.22rem .7rem;font-size:.71rem;font-weight:600;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.pill--active{color:#166534;background:#dcfce7}.pill--pending{color:#92400e;background:#fef3c7}.pill--inactive{color:#64748b;background:#f1f5f9}.pill--banned{color:#c5221f;background:#fce8e6}.pill--approved{color:#166534;background:#dcfce7}.pill--rejected{color:#c5221f;background:#fce8e6}.role-badge{border-radius:4px;padding:.15rem .5rem;font-size:.68rem;font-weight:700;display:inline-block}.role-badge--student{color:#1558b0;background:#e8f0fe}.role-badge--faculty{background:var(--maroon-faint);color:var(--maroon)}.role-badge--admin{color:#fff;background:#1a1a2e}.role-badge--developer{color:#e2e8f0;background:#0f172a}.dept-badge{border-radius:4px;padding:.15rem .5rem;font-size:.68rem;font-weight:700;display:inline-block}.dept-badge--IT{color:#1558b0;background:#e8f0fe}.dept-badge--CpE{color:#c5221f;background:#fce8e6}.dept-badge--HM{color:#92400e;background:#fef3c7}.dept-badge--OA{color:#166534;background:#f0fdf4}.btn{cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.4rem;padding:.575rem 1.2rem;font-family:DM Sans,sans-serif;font-size:.86rem;font-weight:500;text-decoration:none;transition:background .15s;display:inline-flex}.btn svg{width:15px;height:15px}.btn--primary{background:var(--maroon);color:#fff}.btn--primary:hover{background:var(--maroon-light)}.btn--outline{border:1.5px solid var(--border);color:var(--ink);background:0 0}.btn--outline:hover{background:var(--bg)}.btn--danger{color:#dc2626;background:0 0;border:1.5px solid #fecaca}.btn--danger:hover{background:#fef2f2}.btn--sm{padding:.35rem .75rem;font-size:.78rem}.btn--sm svg{width:13px;height:13px}.icon-btn{border:1px solid var(--border);cursor:pointer;width:30px;height:30px;color:var(--muted);background:0 0;border-radius:6px;justify-content:center;align-items:center;transition:background .12s,color .12s;display:inline-flex}.icon-btn svg{width:14px;height:14px}.icon-btn:hover{background:var(--bg);color:var(--ink)}.icon-btn--danger:hover{color:#dc2626;background:#fef2f2;border-color:#fecaca}.icon-btn--success:hover{color:#166534;background:#dcfce7;border-color:#bbf7d0}.filter-bar{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.1rem;display:flex}.filter-search{background:var(--surface);border:1.5px solid var(--border);border-radius:8px;flex:1;align-items:center;min-width:180px;max-width:300px;transition:border-color .15s;display:flex;overflow:hidden}.filter-search:focus-within{border-color:var(--blue)}.filter-search input{color:var(--ink);background:0 0;border:none;outline:none;flex:1;padding:.5rem .875rem;font-family:DM Sans,sans-serif;font-size:.86rem}.filter-search svg{width:15px;height:15px;color:var(--subtle);flex-shrink:0;margin:0 .625rem}.filter-select{border:1.5px solid var(--border);color:var(--ink);background:var(--surface);cursor:pointer;border-radius:8px;outline:none;padding:.5rem .875rem;font-family:DM Sans,sans-serif;font-size:.86rem}.filter-select:focus{border-color:var(--blue)}.filter-count{color:var(--muted);margin-left:auto;font-size:.8rem}.form-field{flex-direction:column;gap:.35rem;margin-bottom:1rem;display:flex}.form-field label{color:var(--ink-2);font-size:.8rem;font-weight:500}.form-field input,.form-field select,.form-field textarea{border:1.5px solid var(--border);color:var(--ink);background:var(--bg);border-radius:8px;outline:none;width:100%;padding:.6rem .875rem;font-family:DM Sans,sans-serif;font-size:.875rem;transition:border-color .15s,box-shadow .15s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--maroon);box-shadow:0 0 0 3px #80000014}.modal-overlay{z-index:300;background:#00000073;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.modal-card{background:var(--surface);border-radius:14px;flex-direction:column;width:100%;max-width:480px;max-height:88vh;display:flex;box-shadow:0 20px 60px #0003}.modal-card--wide{max-width:580px}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem 1.5rem 1rem;display:flex}.modal-header h3{color:var(--ink);font-size:1rem;font-weight:600}.modal-close{cursor:pointer;color:var(--muted);background:0 0;border:none;border-radius:6px;padding:.25rem}.modal-close svg{width:18px;height:18px}.modal-body{flex:1;padding:1.25rem 1.5rem;overflow-y:auto}.modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;display:flex}.empty-state{text-align:center;color:var(--muted);padding:3.5rem 2rem}.empty-state svg{width:44px;height:44px;color:var(--subtle);margin:0 auto .875rem;display:block}.empty-state p{color:var(--ink);margin-bottom:.3rem;font-size:.95rem;font-weight:500}.empty-state span{font-size:.85rem}.toast{background:var(--ink);color:#fff;z-index:9999;border-radius:10px;max-width:320px;padding:.875rem 1.25rem;font-size:.875rem;animation:.25s slideUp;position:fixed;bottom:1.5rem;right:1.5rem;box-shadow:0 8px 32px #0003}.toast.hidden{display:none}.toast p{margin:0}.toast--success{background:#166534}.toast--error{background:#dc2626}.hidden{display:none!important}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{display:none}.admin-content{padding:1.25rem}}.dash-row{grid-template-columns:1fr 300px;align-items:start;gap:1.5rem;margin-bottom:1.5rem;display:grid}.dept-bar-item{margin-bottom:1rem}.dept-bar-item:last-child{margin-bottom:0}.dept-bar-label{justify-content:space-between;align-items:center;margin-bottom:.35rem;display:flex}.dept-bar-name{color:var(--ink);font-size:.82rem;font-weight:600}.dept-bar-count{color:var(--muted);font-size:.75rem}.dept-bar-track{background:var(--bg);border-radius:99px;height:7px;overflow:hidden}.dept-bar-fill{border-radius:99px;height:100%;transition:width .8s}.dev-portal .user-cell-name{color:var(--ink);font-size:.86rem;font-weight:600}.dev-portal .user-cell-id{color:var(--muted);margin-top:.12rem;font-size:.73rem}.dev-portal .cell-muted{color:var(--muted);font-size:.8rem}.dev-portal .action-group{align-items:center;gap:.375rem;display:flex}@media (width<=1000px){.dash-row{grid-template-columns:1fr}}.dev-portal .dev-notif-wrap{position:relative}.dev-portal .dev-notif-dropdown{z-index:50;background:var(--surface,#fff);border:1px solid var(--border,#00000014);border-radius:.65rem;width:min(22rem,100vw - 2rem);position:absolute;top:calc(100% + .35rem);right:0;overflow:hidden;box-shadow:0 10px 40px #0000001f}.dev-portal .dev-notif-dropdown-header{color:var(--ink);border-bottom:1px solid var(--border,#0000000f);padding:.65rem .85rem;font-size:.8rem;font-weight:700}.dev-portal .dev-notif-dropdown-body{max-height:min(20rem,50vh);padding:.35rem 0;overflow-y:auto}.dev-portal .dev-notif-item{border-bottom:1px solid var(--border,#0000000a);padding:.5rem .85rem}.dev-portal .dev-notif-item:last-of-type{border-bottom:none}.dev-portal .dev-notif-item-top{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.2rem;display:flex}.dev-portal .dev-notif-time{color:var(--muted);font-size:.68rem}.dev-portal .dev-notif-type{text-transform:uppercase;letter-spacing:.02em;color:var(--muted);font-size:.65rem;font-weight:600}.dev-portal .dev-notif-type--login{color:#2563eb}.dev-portal .dev-notif-type--upload{color:#16a34a}.dev-portal .dev-notif-type--approve{color:#ca8a04}.dev-portal .dev-notif-type--failed{color:#dc2626}.dev-portal .dev-notif-name{color:var(--ink);font-size:.78rem;font-weight:600}.dev-portal .dev-notif-detail{color:var(--muted);margin-top:.15rem;font-size:.72rem;line-height:1.35}.dev-portal .dev-notif-muted,.dev-portal .dev-notif-err{margin:0;padding:.75rem .85rem;font-size:.8rem}.dev-portal .dev-notif-muted{color:var(--muted)}.dev-portal .dev-notif-err{color:#b91c1c}.dev-portal .dev-notif-dropdown-footer{text-align:center;color:var(--maroon,#7c1d1d);background:var(--bg,#00000008);border-top:1px solid var(--border,#0000000f);padding:.6rem .85rem;font-size:.78rem;font-weight:600;text-decoration:none;display:block}.dev-portal .dev-notif-dropdown-footer:hover{text-decoration:underline}.period-tabs{background:var(--surface);border:1px solid var(--border);border-radius:8px;align-items:center;gap:.25rem;padding:.2rem;display:flex}.period-tab{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.4rem .9rem;font-family:DM Sans,sans-serif;font-size:.82rem;font-weight:500;transition:color .15s,background .15s}.period-tab:hover{color:var(--ink)}.period-tab.active{background:var(--maroon);color:#fff}.charts-row{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;gap:1.5rem;margin-bottom:1.5rem;display:grid}.charts-row .card{flex-direction:column;height:100%;margin-bottom:0;display:flex}.charts-row--paired>.card{min-height:0}.charts-row--paired .card-header{box-sizing:border-box;flex-shrink:0;min-height:3.25rem}.charts-row--paired>.card>.card-body{flex-direction:column;flex:1;min-height:0;padding:1rem 1.5rem 1.25rem;display:flex}.chart-panel{flex-direction:column;flex:1;min-height:280px;display:flex}.chart-panel--donut{justify-content:center;gap:1rem}.chart-panel--donut .donut-wrap{flex:none;justify-content:center;align-items:center;margin-bottom:0;display:flex}.chart-panel--donut .donut-legend{flex-shrink:0}.chart-panel--novelty{justify-content:center}.chart-panel--novelty .novelty-breakdown{flex:1;justify-content:center}.donut-wrap{justify-content:center;display:flex}.donut-svg{width:132px;height:132px}.donut-legend{flex-direction:column;gap:.625rem;display:flex}.dl-item{color:var(--ink);align-items:center;gap:.5rem;font-size:.82rem;display:flex}.dl-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.dl-name{flex:1}.dl-val{font-weight:600}.dl-pct{color:var(--muted);font-size:.75rem;font-weight:400}.novelty-breakdown{flex-direction:column;justify-content:center;gap:1rem;display:flex}.nb-label{color:var(--ink-2);align-items:center;gap:.5rem;margin-bottom:.4rem;font-size:.8rem;display:flex}.nb-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.nb-bar-wrap{background:var(--bg);border-radius:99px;height:7px;margin-bottom:.35rem;overflow:hidden}.nb-bar{border-radius:99px;height:100%}.nb-count{color:var(--ink);font-size:.8rem;font-weight:600}.nb-pct{color:var(--muted);font-size:.75rem;font-weight:400}.chart-panel-intro{color:var(--muted);flex-shrink:0;margin:0 0 1.25rem;font-size:.78rem}.analytics-browse-card{margin-bottom:1rem}.analytics-browse-body{padding:1.25rem 1.5rem!important}.analytics-browse-section+.analytics-browse-section{border-top:1px solid var(--border);margin-top:1.25rem;padding-top:1.25rem}.analytics-browse-heading{color:var(--ink);margin:0 0 .35rem;font-size:.88rem;font-weight:600}.analytics-browse-hint{color:var(--muted);margin:0 0 .75rem;font-size:.78rem}.analytics-chip-row{flex-wrap:wrap;gap:.4rem;display:flex}.analytics-chip{border:1px solid var(--border);background:var(--surface);color:var(--ink-2);cursor:pointer;border-radius:999px;padding:.4rem .85rem;font-family:DM Sans,sans-serif;font-size:.8rem;font-weight:500;transition:border-color .15s,background .15s,color .15s}.analytics-chip:hover{border-color:var(--blue);color:var(--blue-dark)}.analytics-chip--active{background:var(--maroon);border-color:var(--maroon);color:#fff}.analytics-chip--active .analytics-chip-count{color:#ffffffd9}.analytics-chip--clear{background:var(--bg);color:var(--muted);font-weight:400}.analytics-chip-count{color:var(--muted);margin-left:.15rem;font-size:.72rem}.analytics-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem 1.5rem;display:grid}.analytics-field-grid--export{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-field-group-head{color:var(--ink);cursor:pointer;grid-template-columns:1rem 1fr;align-items:center;column-gap:.5rem;margin-bottom:.5rem;font-size:.82rem;font-weight:600;display:grid}.analytics-field-list{margin:0;padding:0;list-style:none}.analytics-field-list li label{color:var(--ink-2);cursor:pointer;grid-template-columns:1rem 1fr;align-items:center;column-gap:.5rem;padding:.2rem 0;font-size:.8rem;display:grid}.analytics-field-group-head input[type=checkbox],.analytics-field-list li label input[type=checkbox]{width:1rem;height:1rem;margin:0}.analytics-table-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.75rem;display:flex}.analytics-export-actions{align-items:center;gap:.5rem;display:flex}.modal-card--export{max-width:720px}.analytics-export-sub{color:var(--muted);margin:.25rem 0 0;font-size:.78rem}.analytics-export-scope{border:none;margin:0;padding:0}.analytics-export-scope legend{padding:0}.analytics-radio{color:var(--ink-2);cursor:pointer;align-items:center;gap:.5rem;margin-top:.5rem;font-size:.82rem;display:flex}.analytics-topic{color:inherit;background:#f5f5fa;border:none;border-radius:999px;padding:.15rem .5rem;font-family:inherit;font-size:.75rem;font-weight:500;display:inline-block}.analytics-topic--link{cursor:pointer;text-align:left}.analytics-topic--link:hover{color:#1558b0;background:#e8f0fe}.analytics-dept{border:none;border-radius:4px;padding:.12rem .4rem;font-family:inherit;font-size:.72rem;font-weight:700;display:inline-block}.analytics-dept--link{cursor:pointer}.analytics-dept--it{color:#1558b0;background:#e8f0fe}.analytics-dept--hm{color:maroon;background:#fce8e8}.analytics-dept--oa{color:#047857;background:#ecfdf5}.analytics-dept--cpe{color:#6b21a8;background:#f3e8ff}.analytics-year-link{font:inherit;color:var(--blue-dark);cursor:pointer;text-underline-offset:2px;background:0 0;border:none;padding:0;text-decoration:underline}.analytics-title{max-width:280px;font-weight:500}.data-table--analytics th,.data-table--analytics td{text-align:left;vertical-align:middle;padding-left:1rem;padding-right:1rem}.data-table--analytics td button{font:inherit;line-height:inherit;margin:0}.data-table--analytics td .analytics-topic,.data-table--analytics td .analytics-dept{text-align:left;padding:.15rem .5rem .15rem 0}.data-table--analytics td .analytics-year-link{text-align:left;padding:0}@media (width<=1050px){.charts-row{grid-template-columns:1fr}}@media (width<=900px){.analytics-field-grid,.analytics-field-grid--export{grid-template-columns:1fr}}.log-time{color:var(--muted);white-space:nowrap;font-size:.78rem}.log-detail{color:var(--ink-2);max-width:280px;font-size:.83rem}.log-type{white-space:nowrap;border-radius:4px;padding:.18rem .55rem;font-size:.68rem;font-weight:700;display:inline-block}.log-type--login{color:#1558b0;background:#e8f0fe}.log-type--search{color:#7c3aed;background:#f3e8ff}.log-type--upload{background:var(--maroon-faint);color:var(--maroon)}.log-type--approve{color:#166534;background:#dcfce7}.log-type--novelty{color:#92400e;background:#fef3c7}.log-type--gemini{color:#3730a3;background:#e0e7ff}.log-type--basic{color:#0e7490;background:#ecfeff}.log-type--reject{color:#991b1b;background:#fee2e2}.log-type--revision{color:#9a3412;background:#ffedd5}.log-type--delete{color:#c5221f;background:#fce8e6}.log-type--remarks{color:#334155;background:#f1f5f9}.log-type--account{color:#5b21b6;background:#ede9fe}.log-type--failed{color:#c5221f;background:#fce8e6}.log-type--event{color:#64748b;background:#f1f5f9}.user-tabs{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:.25rem;margin-bottom:1.1rem;padding:.25rem;display:flex}.user-tab{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:7px;align-items:center;gap:.5rem;padding:.42rem .95rem;font-family:DM Sans,sans-serif;font-size:.82rem;font-weight:500;transition:color .15s,background .15s;display:flex}.user-tab:hover{color:var(--ink);background:var(--bg)}.user-tab.active{background:var(--maroon);color:#fff}.tab-count{min-width:19px;height:17px;color:inherit;background:#fff3;border-radius:99px;justify-content:center;align-items:center;padding:0 4px;font-size:.68rem;font-weight:700;display:inline-flex}.user-tab:not(.active) .tab-count{background:var(--bg);color:var(--muted)}.user-tab:not(.active) .tab-c--blue{color:#1558b0;background:#e8f0fe}.user-tab:not(.active) .tab-c--maroon{background:var(--maroon-faint);color:var(--maroon)}.user-tab:not(.active) .tab-c--amber{color:#92400e;background:#fef3c7}.user-tab:not(.active) .tab-c--red{color:#c5221f;background:#fce8e6}.user-cell-name{color:var(--ink);font-size:.86rem;font-weight:600}.user-cell-id{color:var(--muted);font-size:.73rem}.cell-muted{color:var(--muted);font-size:.8rem}.action-group{align-items:center;gap:.375rem;display:flex}.dev-user-profile-modal{width:100%;max-width:min(760px,94vw);max-height:min(78vh,560px)}.dev-user-profile-modal .modal-body{min-height:0;overflow-y:auto}.dev-user-profile-hint{color:var(--muted);margin:.5rem 0 0;font-size:.85rem}.dev-user-profile-hint--err{color:#b91c1c}.dev-user-profile-id-block{border-top:1px solid var(--border);margin-top:1rem;padding-top:.75rem}.dev-user-profile-id-label{color:var(--ink-2,#2d2d44);margin:0 0 .5rem;font-size:.82rem}.dev-user-profile-id-img{object-fit:contain;object-position:center;border:1px solid var(--border);background:var(--bg);border-radius:8px;width:auto;max-width:min(240px,100%);max-height:min(100px,18vh);display:block}.dev-portal .profile-grid{grid-template-columns:260px minmax(0,1fr);align-items:start;gap:1.5rem;display:grid}.dev-portal .profile-card{background:var(--surface);border:1px solid var(--border);text-align:center;top:calc(var(--nav-h) + 1.5rem);border-radius:12px;padding:1.75rem 1.5rem;position:sticky}.dev-portal .profile-avatar{width:80px;height:80px;color:var(--maroon);background:#8000001f;border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1rem;display:flex}.dev-portal .profile-avatar svg{width:48px;height:48px}.dev-portal .profile-name{color:var(--ink);margin-bottom:.2rem;font-size:1rem;font-weight:600}.dev-portal .profile-email{color:var(--muted);margin-bottom:.75rem;font-size:.78rem}.dev-portal .profile-role-badge{color:#fff;background:#1a1a2e;border-radius:999px;margin-bottom:1.5rem;padding:.25rem .75rem;font-size:.7rem;font-weight:700;display:inline-block}.dev-portal .profile-stats{background:var(--bg);border-radius:10px;justify-content:center;align-items:center;gap:.875rem;margin-bottom:1.5rem;padding:1rem .5rem;display:flex}.dev-portal .pstat{flex-direction:column;align-items:center;display:flex}.dev-portal .pstat-num{color:var(--ink);font-size:1.2rem;font-weight:700;line-height:1}.dev-portal .pstat-lbl{color:var(--muted);margin-top:.2rem;font-size:.68rem}.dev-portal .pstat-divider{background:var(--border);width:1px;height:2rem}.dev-portal .profile-main{min-width:0;padding:0;display:block;overflow:visible}.dev-portal .info-grid{grid-template-columns:1fr 1fr;gap:0;padding:0;display:grid}.dev-portal .info-item{border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:1rem 1.5rem}.dev-portal .info-item:nth-child(2n){border-right:none}.dev-portal .info-item:nth-last-child(-n+2){border-bottom:none}.dev-portal .info-item label{text-transform:uppercase;letter-spacing:.07em;color:var(--subtle);margin-bottom:.25rem;font-size:.7rem;font-weight:700;display:block}.dev-portal .info-item p{color:var(--ink);font-size:.9rem}.dev-portal .pw-row{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.dev-portal .act-item{border-bottom:1px solid var(--border);align-items:flex-start;gap:.875rem;padding:.8rem 1.5rem;transition:background .12s;display:flex}.dev-portal .act-item:last-child{border-bottom:none}.dev-portal .act-item:hover{background:var(--bg)}.dev-portal .act-icon{border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.dev-portal .act-icon svg{width:16px;height:16px}.dev-portal .act-icon--approve{color:#166534;background:#dcfce7}.dev-portal .act-icon--ban,.dev-portal .act-icon--reject{color:#c5221f;background:#fce8e6}.dev-portal .act-icon--login{color:#1558b0;background:#e8f0fe}.dev-portal .act-body{flex:1}.dev-portal .act-text{color:var(--ink);margin-bottom:.15rem;font-size:.86rem;line-height:1.4}.dev-portal .act-time{color:var(--subtle);font-size:.74rem}@media (width<=960px){.dev-portal .profile-grid{grid-template-columns:1fr}.dev-portal .profile-card{position:static}.dev-portal .info-grid{grid-template-columns:1fr}.dev-portal .info-item{border-right:none!important}.dev-portal .pw-row{grid-template-columns:1fr}}.app-alert-overlay{z-index:20000;background:#00000073;justify-content:center;align-items:center;padding:1.25rem;display:flex;position:fixed;inset:0}.app-alert{color:#1a1a2e;background:#fff;border:1px solid #e34b4b;width:min(560px,100%);font-family:DM Sans,sans-serif;box-shadow:0 12px 40px #00000047}.app-alert__bar{color:#fff;background:#e34b4b;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem .9rem;font-size:1rem;font-weight:700;display:flex}.app-alert__x{color:#fff;cursor:pointer;background:0 0;border:0;padding:0 .15rem;font-size:1.35rem;line-height:1}.app-alert__message{white-space:pre-wrap;margin:0;padding:1.15rem 1rem 1rem;font-size:.95rem;line-height:1.45}.app-alert__actions{border-top:1px solid #e6e6e6;justify-content:flex-end;padding:.75rem .9rem .85rem;display:flex}.app-alert__close{color:#222;font:inherit;cursor:pointer;background:#fff;border:1px solid #cfcfcf;border-radius:3px;padding:.35rem .85rem;font-size:.9rem}.app-alert__close:hover,.app-alert__x:hover{opacity:.85}*,:before,:after{box-sizing:border-box}body{color:#1a1a2e;-webkit-font-smoothing:antialiased;background:#f7f7fb;margin:0;padding:0;font-family:DM Sans,sans-serif}a{color:inherit;text-decoration:none}#root{width:100%;min-height:100vh}.upload-pdf-field{position:relative}.upload-pdf-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
