@import url('/fonts/inter.css');
:root{--navy:#1f1f1f;--ink:#202124;--muted:#5f6368;--line:#dadce0;--bg:#f8fafd;--paper:#fff;--soft:#f1f3f4;--error:#b3261e;--red:#b3261e;--blue:#0b57d0;--sans:Arial,'Inter',system-ui,sans-serif;--serif:var(--sans);font-family:var(--sans);color:var(--ink);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);font-size:16px;line-height:1.6}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--blue);text-underline-offset:3px}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid var(--blue);outline-offset:0;border-color:var(--blue)}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--error)}.skip-link{position:absolute;top:-70px;left:16px;padding:10px 16px;background:white;z-index:20}.skip-link:focus{top:10px}
.preview-notice{display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 20px;background:#e8f0fe;color:#174ea6;font-size:13px;line-height:1.5}.notice-dot{width:6px;height:6px;background:#1967d2;border-radius:50%;flex-shrink:0}#service-status{display:none}.institutional-header{background:#fff;border-bottom:1px solid #e3e6ea}.header-inner{max-width:1080px;margin:auto;min-height:92px;padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:32px}.university-logo{width:206px;max-width:43%;height:auto;display:block}.lab-brand{display:flex;align-items:center;gap:12px;color:#202124}.lab-mark{--symbol-height:49px;position:relative;display:block;height:var(--symbol-height);width:calc(var(--symbol-height)*248/282);overflow:hidden;flex-shrink:0}.lab-mark img{position:absolute;max-width:none;width:calc(var(--symbol-height)*1108/282);height:auto;left:calc(var(--symbol-height)*-412/282);top:calc(var(--symbol-height)*-58/282)}.lab-wordmark{font-size:18px;font-weight:500;line-height:1.3}.lab-wordmark>span{display:block;white-space:nowrap}
main{max-width:1080px;margin:auto;padding:36px 32px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.eyebrow{display:none}h1{font-family:var(--sans);font-size:32px;font-weight:500;line-height:1.25;letter-spacing:-.5px;margin:0;color:var(--ink)}.intro{font-size:16px;color:var(--muted);margin:10px 0 0}.reporting-week{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:12px;flex-shrink:0}.calendar{font-size:25px;color:var(--blue)}.reporting-week small{display:block;color:var(--muted);font-size:11px;letter-spacing:.04em}.reporting-week strong{display:block;font-size:14px;font-weight:600;white-space:nowrap}.reporting-week button{padding:8px;background:none;border:0;color:var(--blue);font-size:14px;font-weight:500}.report-card{background:#fff;border:1px solid #dde3ea;border-radius:16px;padding:32px 36px 0;box-shadow:none}.form-topline{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;margin-bottom:28px;border-bottom:1px solid #e8eaed;font-size:13px;color:var(--muted)}.form-topline>span{font-weight:600;letter-spacing:.04em}.form-topline p{margin:0}.required{color:var(--error);margin-left:3px}.field{margin-bottom:32px}label,.stage-label{display:block;font-size:16px;font-weight:600;color:var(--ink)}.helper{font-size:14px;line-height:1.6;color:var(--muted);margin:8px 0 12px}input[type=text],input[type=date],textarea,select{width:100%;border:1px solid #80868b;border-radius:6px;background:white;padding:12px 14px;font-size:16px;line-height:1.5;color:var(--ink);min-height:48px}input::placeholder,textarea::placeholder{color:#6b7075;opacity:1}input[readonly]{background:#f1f3f4;border-color:var(--line);color:#444746}#student-name{margin-top:10px}textarea{resize:vertical;min-height:120px;display:block}.research-fields{display:block}.research-fields .helper{min-height:0}.next-field textarea{min-height:112px}
.small-button,.add-project,.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--blue);padding:9px 18px;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap}.small-button:hover{background:#eef4ff;border-color:#aac7ff;text-decoration:none}.add-project,.primary-button{background:var(--blue);border-color:var(--blue);color:white;min-height:48px;padding:12px 22px}.add-project:hover,.primary-button:hover{background:#0842a0;border-color:#0842a0}.primary-button svg{width:18px;height:18px}.text-button{border:0;background:transparent;color:var(--blue);padding:10px 12px;font-size:14px;border-radius:20px;min-height:42px}.text-button:hover{background:#eef4ff}.section-title{font-size:21px;font-weight:500;margin:0;color:var(--ink)}.projects-field{border-bottom:1px solid var(--line);padding-bottom:32px}.project-picker{border:0;background:#f8fafd;border-radius:10px;margin:24px 0;padding:18px}.project-picker legend{float:left;width:100%;padding:0;font-size:16px;font-weight:600}.project-picker>.helper{clear:both;padding-top:6px;margin-top:0}#saved-project-options{display:grid;gap:8px}.saved-project-item{display:flex;align-items:center;gap:12px;border:1px solid #dde3ea;background:white;border-radius:8px;padding-right:6px}.saved-project-item:has(input:checked){border-color:#a8c7fa;background:#eaf2ff}.project-choice{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:12px 14px;font-weight:400;cursor:pointer}.project-choice input{width:20px;height:20px;accent-color:var(--blue);flex-shrink:0}.project-choice span{overflow-wrap:anywhere}.entry-label{margin:20px 0 8px}.project-entry{display:flex;gap:12px;align-items:center}.project-entry input{flex:1;min-width:0}.project-memory{margin:12px 0 24px}.project-cards{display:grid;gap:24px}.empty-projects{padding:24px;border:1px dashed #aeb7c2;border-radius:10px;background:#f8fafd;text-align:center}.empty-projects strong{font-size:16px;font-weight:500}.empty-projects p{margin:8px 0 0;font-size:14px;color:var(--muted)}.project-card{border:1px solid var(--line);border-radius:12px;background:white;overflow:hidden}.project-card-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;background:#f0f4f9;border-bottom:1px solid #dde3ea}.project-title{min-width:0}.project-kicker{font-size:12px;color:#526477}.project-title h3{font-size:20px;line-height:1.4;font-weight:600;margin:4px 0 0;overflow-wrap:anywhere}.project-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.project-actions .small-button{background:#fff}.paper-editor{padding:24px}.paper-heading h4{font-size:18px;font-weight:600;margin:0}.paper-heading .helper{margin:6px 0 20px}.paper-toggle{display:grid;grid-template-columns:1fr 250px;gap:16px;align-items:center}.paper-toggle label{font-size:15px;font-weight:500}.paper-details{margin-top:24px;padding-top:24px;border-top:1px solid #e8eaed}.paper-inputs{display:grid;gap:22px}.paper-inputs label{margin-bottom:8px;font-weight:500}.paper-inputs textarea{min-height:88px}.optional{color:var(--muted);font-weight:400;font-size:13px;margin-left:6px}.paper-stage{margin-top:24px}.stage-label{font-size:16px;font-weight:500;margin-bottom:10px}.stage-options{display:flex;gap:8px;flex-wrap:wrap}.stage-button{font-size:14px;line-height:1.4;min-height:42px;padding:10px 16px;color:#444746;background:white;border:1px solid #aeb4bb;border-radius:8px}.stage-button.selected{background:#d3e3fd;border-color:#0b57d0;color:#0842a0;font-weight:600}.stage-button.selected:before{content:'✓ ';font-weight:600}.stage-button:hover{background:#e8f0fe}.project-save-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding-top:16px;border-top:1px solid #e8eaed}.project-save-status{font-size:13px;color:var(--muted)}
.previous-plan{background:#f0f4f9;border-radius:12px;padding:22px 24px;margin-bottom:32px}.previous-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.previous-plan h2,.results-section h2{font-size:20px;font-weight:500;margin:0}.read-only-label{font-size:12px;color:#444746;background:white;padding:4px 10px;border-radius:12px}.previous-plan .helper{margin-bottom:0}.previous-plan-item+.previous-plan-item{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.plan-source{font-size:13px;color:var(--muted);margin:10px 0}.plan-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.7}.results-section{margin-bottom:32px}.project-result-field{margin:20px 0 0;padding:20px;background:#f8fafd;border:1px solid #dde3ea;border-radius:10px}.project-result-field label{margin-bottom:10px}.legacy-results{padding:16px;margin:16px 0;border:1px solid var(--line);border-radius:8px}.legacy-results summary{cursor:pointer;color:var(--blue)}.dropzone{display:flex;justify-content:center;align-items:center;gap:20px;padding:28px 20px;border:1px dashed #80868b;border-radius:12px;background:#f8fafd;position:relative}.dropzone.dragging{background:#e8f0fe;border-color:var(--blue)}.dropzone.invalid{border-color:var(--error)}.dropzone>svg{width:30px;height:30px;flex-shrink:0;color:var(--blue)}.dropzone p{font-size:16px;margin:0 0 6px}.dropzone p button{border:0;background:none;padding:0;color:var(--blue);text-decoration:underline;font-size:16px}.dropzone small{font-size:13px;color:var(--muted)}.dropzone input[type=file]{position:absolute;width:1px;height:1px;left:0;top:0;opacity:0}.file-list{display:grid;gap:10px}.file-row{display:flex;gap:12px;align-items:center;margin-top:10px;border:1px solid var(--line);border-radius:8px;padding:14px}.file-type{font-size:11px;color:var(--blue);background:#e8f0fe;border-radius:4px;padding:6px}.file-meta{flex:1;min-width:0}.file-meta strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}.file-meta small{font-size:12px;color:var(--muted)}.file-row button{background:none;border:0;color:var(--blue);min-height:40px;padding:8px;font-size:22px}.file-row .file-preview-button{font-size:14px;border:1px solid var(--line);border-radius:20px;padding:8px 14px}.advisor-section{padding:24px 0 30px;border-top:1px solid var(--line)}.advisor-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.advisor-row .helper{margin-bottom:0}.segmented{display:flex;border:1px solid #aeb4bb;border-radius:22px;overflow:hidden;flex-shrink:0}.segmented button{min-height:42px;padding:8px 22px;border:0;background:white;font-size:14px;color:#444746}.segmented button.selected{background:#d3e3fd;color:#0842a0;font-weight:600}#advisor-detail{margin-top:22px}
.form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 -36px;padding:20px 36px;border-top:1px solid var(--line);border-radius:0 0 16px 16px;background:#fff;position:sticky;bottom:0;z-index:5;box-shadow:0 -3px 8px #20212408}.draft-status{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.save-dot{width:7px;height:7px;border-radius:50%;background:#188038;flex-shrink:0}.privacy-note{font-size:13px;color:var(--muted);text-align:center;max-width:800px;margin:20px auto}.field-error{color:var(--error);font-size:14px;margin:8px 0 0}.form-error,.week-transition{border-radius:8px;background:#fce8e6;color:var(--error);padding:18px;margin-bottom:24px;font-size:14px}.week-transition{background:#e8f0fe;color:#174ea6}.week-transition p{margin:0 0 12px}.week-editor{padding:20px;background:#f0f4f9;border-radius:10px;margin-bottom:24px}.week-editor input{max-width:260px;margin-top:10px}.confirmation{display:flex;gap:14px;padding:20px;background:#e6f4ea;border:1px solid #a8dab5;border-radius:10px;margin-bottom:28px;color:#137333}.confirmation>svg{width:24px;height:24px;flex-shrink:0}.confirmation p{font-size:14px;margin:8px 0 0}.toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);max-width:90vw;padding:14px 22px;background:#303134;color:#fff;font-size:14px;border-radius:8px;box-shadow:0 3px 14px #20212430;z-index:30}footer{max-width:1016px;margin:32px auto 0;padding:22px 0 30px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}.footer-separator{margin:0 8px}
.auth-card{padding:32px 36px;margin:12px 0 0}.auth-card h2{font-size:24px;font-weight:500;margin:0 0 12px}.auth-card>p{color:var(--muted);font-size:16px}.auth-card #google-signin{min-height:44px;margin:28px 0 18px}.auth-card .auth-footnote{font-size:14px}.preview-link{display:inline-block;margin-top:12px;font-size:14px}.setup-notice{padding:20px;background:#f0f4f9;border-radius:10px;margin:24px 0}.account-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.account-bar strong{display:block;font-size:16px}.account-bar span{display:block;font-size:13px;color:var(--muted);overflow-wrap:anywhere}.account-bar a{text-decoration:none}#auth-error{color:var(--error)}.student-options{background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px;margin-top:6px;box-shadow:0 4px 16px #20212420}.student-options button{display:block;width:100%;background:none;border:0;border-radius:6px;text-align:left;padding:12px 14px;color:var(--ink)}.student-options button:hover,.student-options button:focus-visible{background:#e8f0fe}.student-options p{padding:8px}.connection-card{padding:24px 0;border-bottom:1px solid var(--line)}.connection-card p{margin:8px 0 12px}#enrollment-status:empty{display:none}#check-enrollment,#retry-drive{margin-top:10px}.setup-article{padding-bottom:32px}.setup-article h2{font-size:20px;font-weight:500;margin-top:28px}
dialog{width:min(960px,94vw);max-height:90vh;padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);box-shadow:0 16px 60px #20212440}dialog::backdrop{background:#20212488}.preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;border-bottom:1px solid var(--line)}.preview-heading h2{font-size:20px;font-weight:500;margin:0;overflow-wrap:anywhere}.preview-heading p{font-size:14px;color:var(--muted);margin:8px 0 0}.preview-body{height:60vh;overflow:auto;padding:24px;background:#f1f3f4}.preview-body>iframe{width:100%;height:calc(100% - 44px);min-height:280px;background:white;border:0}.preview-actions{padding:18px 24px;text-align:right;border-top:1px solid var(--line)}.document-page{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;margin-bottom:16px;overflow-wrap:anywhere}.document-page h3{font-size:13px;color:var(--muted);margin:0 0 16px}.document-page p{white-space:pre-wrap}
@media(max-width:900px){.page-heading{flex-direction:column;align-items:flex-start;gap:20px}.project-card-heading{align-items:flex-start;flex-direction:column;gap:14px}.project-actions{flex-wrap:wrap}.research-fields .helper{min-height:0}footer{margin-left:32px;margin-right:32px}}
@media(max-width:600px){body{font-size:16px}.header-inner{padding:12px 16px;gap:14px;min-height:80px}.university-logo{width:150px;max-width:41%}.lab-mark{--symbol-height:38px}.lab-brand{gap:7px}.lab-wordmark{font-size:13px}main{padding:24px 12px 0}h1{font-size:28px}.intro{font-size:15px}.report-card{padding:24px 16px 0;border-radius:12px}.form-topline{font-size:12px;gap:10px}.reporting-week{padding:10px 12px}.project-picker{padding:14px}.project-entry{flex-wrap:wrap}.project-entry input{flex-basis:100%}.project-entry button{flex:1}.project-card-heading,.paper-editor{padding:18px}.project-title h3{font-size:19px}.paper-toggle{grid-template-columns:1fr;gap:8px}.paper-inputs label{font-size:15px}.optional{display:block;margin-left:0}.stage-options{display:grid;grid-template-columns:1fr 1fr}.stage-button{padding:9px 10px;font-size:13px}.project-actions{gap:2px}.project-actions button{font-size:13px}.project-save-row{flex-wrap:wrap;gap:10px}.project-save-status{flex-basis:100%}.project-choice{padding:10px;font-size:15px}.saved-project-item{gap:2px}.saved-project-item>.text-button{padding:10px}.previous-plan{padding:18px}.previous-plan h2,.results-section h2{font-size:19px}.dropzone{gap:12px;padding:22px 14px}.dropzone>svg{width:24px;height:24px}.dropzone p{font-size:15px}.dropzone small{font-size:12px}.file-row{flex-wrap:wrap}.file-meta{min-width:130px}.advisor-row{align-items:flex-start;flex-direction:column;gap:16px}.form-footer{margin:0 -16px;padding:14px 16px;gap:10px;flex-wrap:wrap}.draft-status{font-size:12px}.form-footer .primary-button{font-size:14px}.auth-card{padding:28px 22px}.account-bar{flex-wrap:wrap;padding:16px}.account-bar>div{flex-basis:100%}.privacy-note{font-size:12px}.preview-notice{font-size:12px;padding:8px 12px;align-items:flex-start}.notice-dot{margin-top:6px}footer{margin:24px 16px 0;flex-direction:column;gap:6px;font-size:12px}.preview-heading,.preview-body,.preview-actions{padding:16px}.document-page{padding:18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Quiet surfaces, stronger type hierarchy, and a separate project selector. */
:root{--ink:#202124;--muted:#53565d;--line:#d9dce1;--bg:#f6f7f9;--soft:#f6f7f9;--blue:#185abc;--sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body{font-size:15px;line-height:1.5}
.header-inner{max-width:960px;min-height:80px;padding:16px 32px}
.university-logo{width:180px}.lab-mark{--symbol-height:40px}.lab-wordmark{font-size:15px}
main{max-width:960px;padding:32px 32px 0}
.page-heading{align-items:flex-start;gap:24px;margin-bottom:24px}
h1{font-size:28px;font-weight:600;letter-spacing:-.7px;line-height:1.25}
.intro{font-size:15px;margin-top:8px;color:var(--muted)}
.reporting-week{border:0;background:transparent;padding:2px 0;border-radius:0;gap:10px}.calendar{display:none}.reporting-week small{font-size:11px;letter-spacing:.04em}.reporting-week strong{font-size:13px}.reporting-week button{font-size:13px}
.report-card{border-color:#e0e2e6;border-radius:12px;padding:28px 32px 0}
.form-topline{margin-bottom:24px;padding-bottom:16px;font-size:12px}.form-topline>span{letter-spacing:.06em}
label,.stage-label{font-size:15px;font-weight:600}.helper{font-size:14px;line-height:1.5;margin:6px 0 10px}
.field{margin-bottom:28px}input[type=text],input[type=date],textarea,select{border-color:#b9bec6;border-radius:6px;font-size:15px;line-height:1.5;padding:10px 12px;min-height:44px}
input::placeholder,textarea::placeholder{color:#6a6f77}textarea{min-height:104px}.research-fields .helper{min-height:0}
.small-button,.add-project,.primary-button{border-radius:7px;min-height:40px;padding:9px 16px;font-size:14px;line-height:1.4}
.small-button{color:var(--ink);border-color:#c6cbd2}.small-button:hover{background:#f3f5f8;border-color:#b4bbc5}.primary-button{min-height:44px;padding:11px 20px}
.text-button{min-height:36px;border-radius:6px;font-size:13px;padding:8px 10px}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;flex-shrink:0;border:0;border-radius:6px;background:transparent;color:#53565d;font-size:24px;line-height:1}.icon-button:hover{background:#edf0f4;color:#202124}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.section-heading .helper{margin-bottom:0}.section-title{font-size:18px;font-weight:600;letter-spacing:-.2px}
.projects-field{padding-bottom:28px}.project-cards{gap:16px}.empty-projects{border:0;border-radius:6px;padding:16px;margin:0;background:#f6f7f9;text-align:left;color:var(--muted);font-size:14px;line-height:1.5}
.project-card{border:1px solid #d9dce1;border-radius:8px;overflow:hidden}
.project-card-heading{flex-direction:row;align-items:center;padding:14px 18px;gap:16px;background:#fff;border-bottom:1px solid #eceef1}
.project-title h3{font-size:16px;font-weight:600;line-height:1.4;margin:0;letter-spacing:-.15px}.project-actions{gap:2px;flex-wrap:nowrap}
.paper-editor{padding:16px 18px}.paper-toggle{grid-template-columns:1fr 196px;gap:16px}.paper-toggle label{font-size:14px;font-weight:600}.paper-toggle select{font-size:14px;min-height:40px;padding:8px 10px}
.paper-details{margin-top:16px;padding-top:0;border:0}.paper-inputs{grid-template-columns:1fr 1fr;gap:16px}.paper-inputs label{font-size:13px;margin-bottom:6px;font-weight:500}.paper-inputs textarea{min-height:70px;height:70px;resize:vertical}.paper-inputs input{height:70px}.optional{font-size:12px;color:#626770;margin-left:5px}
.paper-stage{margin-top:16px}.stage-label{font-size:13px;margin-bottom:8px;font-weight:500}.stage-options{gap:0;display:flex;flex-wrap:wrap}.stage-button{border-color:#ccd1d8;border-radius:0;font-size:13px;min-height:36px;padding:8px 12px;margin-left:-1px;position:relative}.stage-button:first-child{border-radius:6px 0 0 6px;margin-left:0}.stage-button:last-child{border-radius:0 6px 6px 0}.stage-button.selected{background:#edf3fd;border-color:#6488bd;color:#174ea6;z-index:1}.stage-button.selected:before{content:none}.stage-button:hover{background:#f0f3f8}
.project-save-row{padding-top:12px;margin-top:16px;border:0}.project-save-status{font-size:12px}.project-save-row .small-button{font-size:12px;min-height:32px;padding:6px 10px;color:var(--blue);border-color:transparent;background:transparent}.project-save-row .small-button:hover{background:#edf3fd}
.previous-plan{background:#f6f7f9;padding:18px 20px;border-radius:6px;margin-bottom:28px}.previous-plan h2{font-size:15px;font-weight:600}.read-only-label{background:transparent;padding:0;font-size:12px}.results-section h2{font-size:18px;font-weight:600}.project-result-field{padding:0;border:0;background:transparent;border-radius:0;margin-top:16px}.project-result-field label{font-size:14px}.results-section{margin-bottom:28px}
.dropzone{background:#fafbfc;border-color:#bac1cb;padding:24px 18px;border-radius:8px;gap:14px}.dropzone p,.dropzone p button{font-size:14px}.dropzone small{font-size:12px}.dropzone>svg{width:24px}.segmented{border-radius:6px}.segmented button{min-height:38px;padding:8px 18px}.segmented button.selected{background:#edf3fd}
.advisor-section{padding:24px 0}.form-footer{margin:0 -32px;padding:16px 32px;border-radius:0 0 12px 12px;gap:16px}.draft-status{font-size:12px}.privacy-note{font-size:12px;line-height:1.5;margin:16px auto}footer{max-width:896px;margin-top:24px;font-size:11px}
.project-dialog{width:min(540px,calc(100vw - 32px));max-height:85vh;border:1px solid #d9dce1;border-radius:12px;box-shadow:0 20px 80px #1f29372e}
.project-dialog::backdrop{background:#17202d66;backdrop-filter:blur(2px)}
.picker-heading{padding:24px 24px 20px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid #eceef1}.picker-heading h2{font-size:21px;letter-spacing:-.35px;margin:0;font-weight:600}.picker-heading p{font-size:14px;color:var(--muted);margin:6px 0 0}.picker-heading .icon-button{margin:-4px -8px 0 0}
.picker-content{padding:20px 24px;max-height:55vh;overflow:auto}.project-picker{padding:0;margin:0 0 24px;border:0;border-radius:0;background:transparent}.project-picker legend{float:none;width:auto;font-size:13px;font-weight:600;margin-bottom:10px;color:var(--muted)}
#saved-project-options{gap:0;border:1px solid #d9dce1;border-radius:8px;overflow:hidden}.saved-project-item{gap:4px;border:0;border-bottom:1px solid #e8eaee;border-radius:0;background:white;padding-right:6px}.saved-project-item:last-child{border-bottom:0}.saved-project-item:has(input:checked){background:#f4f7fc;border-color:#e8eaee}.project-choice{padding:13px 14px;gap:12px;font-size:14px;font-weight:500}.project-choice input{width:18px;height:18px;margin:0}.saved-project-item>.text-button{font-size:12px;color:#53565d;padding:8px}
.new-project .entry-label{margin:0 0 8px;font-size:14px}.project-entry{gap:8px;flex-wrap:wrap}.project-entry input{flex:1;min-width:120px}.project-entry .add-project{min-height:44px}.project-entry #cancel-project{flex-basis:auto}.picker-note{margin:14px 0 0;font-size:12px;line-height:1.6;color:var(--muted)}.picker-footer{border-top:1px solid #e5e7eb;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.picker-footer>span{font-size:13px;color:var(--muted)}
@media(min-width:761px){.page-heading{flex-direction:row}.project-card-heading{flex-direction:row}}
@media(max-width:760px){.page-heading{gap:16px}.reporting-week{padding:0}.project-card-heading{flex-direction:row}}
@media(max-width:600px){.header-inner{padding:12px 20px;min-height:72px;gap:16px}.university-logo{width:140px;max-width:42%}.lab-mark{--symbol-height:32px}.lab-wordmark{font-size:12px}.lab-brand{gap:6px}main{padding:24px 12px 0}h1{font-size:26px}.intro{font-size:14px}.report-card{padding:22px 18px 0}.section-heading{gap:12px;align-items:flex-start}.section-heading .small-button{font-size:12px;padding:8px 10px;min-height:36px}.section-title{font-size:17px}.section-heading .helper{font-size:13px}.project-card-heading{padding:12px 14px;gap:8px}.project-title h3{font-size:15px}.project-actions{gap:0}.project-actions .text-button{font-size:12px;padding:7px}.project-actions .icon-button{width:30px;height:34px}.paper-editor{padding:14px}.paper-toggle{grid-template-columns:1fr 164px;gap:8px}.paper-toggle label{font-size:13px}.paper-toggle select{font-size:13px}.paper-inputs{grid-template-columns:1fr;gap:14px}.paper-inputs input{height:auto}.optional{display:inline;margin-left:4px}.stage-options{display:grid;grid-template-columns:1fr 1fr;gap:6px}.stage-button,.stage-button:first-child,.stage-button:last-child{border-radius:6px;margin:0;font-size:12px;padding:8px}.project-save-row{flex-wrap:nowrap;gap:8px}.project-save-status{flex-basis:auto;font-size:11px}.project-save-row .small-button{font-size:12px;white-space:nowrap}.form-footer{margin:0 -18px;padding:14px 18px;flex-direction:row;align-items:center}.form-footer .primary-button{font-size:13px;min-height:42px;padding:10px 14px}.draft-status{font-size:11px;max-width:50%}.picker-content,.picker-heading{padding:20px}.picker-footer{padding:14px 20px}.project-entry input{flex-basis:calc(100% - 80px)}.project-entry button{flex:none}.project-picker{padding:0}.project-choice{font-size:14px;padding:13px 12px}.advisor-row{gap:16px}.previous-plan{padding:16px}.auth-card{padding:24px}.account-bar{padding:14px 16px}footer{margin:24px 20px 0}}

/* Keep the entry screen focused on a single, centered sign-in action. */
#sign-in-panel{width:100%;max-width:560px;margin:32px auto 0;padding:44px 32px;text-align:center}
#sign-in-panel h2{margin:0 0 12px;font-size:26px;line-height:1.3;font-weight:600;letter-spacing:-.4px}
#sign-in-panel>p{max-width:38ch;margin:0 auto;color:var(--muted);font-size:16px;line-height:1.6}
#sign-in-panel #google-signin{display:flex;justify-content:center;align-items:center;width:100%;min-height:44px;margin:28px 0 24px}
#sign-in-panel .auth-footnote{max-width:36ch;font-size:14px;line-height:1.6}
#sign-in-panel #auth-error{margin:0 auto 20px;color:var(--error);overflow-wrap:anywhere}
#sign-in-panel .setup-notice{text-align:left}
@media(max-width:600px){#sign-in-panel{margin-top:24px;padding:32px 20px}#sign-in-panel h2{font-size:24px}#sign-in-panel>p{font-size:15px}#sign-in-panel .auth-footnote{font-size:14px}}

/* Crisp white, ink black, and cool silver accents. */
:root{--navy:#171719;--ink:#303034;--muted:#66666c;--line:#d9d9de;--bg:#ffffff;--soft:#f7f7f8;--blue:#171719;--accent-border:#b7b7bf;--accent-soft:#efeff2;--accent-ink:#45454c;--sans:-apple-system,BlinkMacSystemFont,'Inter','Segoe UI',sans-serif}
.institutional-header{border-bottom-color:#e4e4e8}
.lab-brand,h1,h2,h3,.section-title,label,.stage-label,.reporting-week strong{color:var(--navy)}
.report-card{border-color:#e4e4e8;border-radius:16px;box-shadow:0 3px 16px #17171903}
.form-topline{border-bottom-color:#e4e4e8}.form-topline>span{color:var(--accent-ink)}
#report-form label:has(.required),#report-form h2:has(.required){color:var(--navy);font-weight:600;border-left:0;padding-left:0}
#report-form label[for="student-name"],#report-form .section-title{font-size:18px;font-weight:600;line-height:1.4;letter-spacing:-.2px}
#report-form .required{display:inline-flex;align-items:center;vertical-align:middle;margin-left:8px;padding:2px 8px;border:0;border-radius:5px;background:#252528;color:#ffffff;font-size:11px;font-weight:500;line-height:1.6;letter-spacing:0;white-space:nowrap}
input[type=text],input[type=date],textarea,select{border-color:#898b90;border-radius:9px;background:#fff}
input::placeholder,textarea::placeholder{color:var(--muted)}
input[readonly]{background:var(--soft);border-color:var(--line);color:#515158}
input:focus,textarea:focus,select:focus{border-color:var(--navy);outline:2px solid var(--navy);outline-offset:2px}
input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--error)}
.small-button,.add-project,.primary-button{border-radius:9px}
.small-button{border-color:var(--line);background:#fff;color:var(--navy)}.small-button:hover{background:var(--accent-soft);border-color:var(--accent-border)}
.primary-button,.add-project{background:var(--navy);border-color:var(--navy)}
.primary-button:hover,.add-project:hover{background:#343438;border-color:#343438}
.text-button:hover,.icon-button:hover{background:var(--soft)}
.previous-plan,.empty-projects,.week-editor,.setup-notice{background:var(--soft);border-radius:10px}
.dropzone{background:#fafafb;border-color:#898b90;border-radius:10px}.dropzone>svg{color:var(--accent-ink)}
.dropzone.dragging{background:var(--accent-soft);border-color:var(--navy)}.dropzone.invalid{border-color:var(--error)}
.project-card,#saved-project-options{border-color:var(--line);border-radius:10px}
.saved-project-item:has(input:checked){background:var(--accent-soft);border-color:#e4e4e8}
.stage-button:hover{background:var(--soft)}.stage-button.selected{background:var(--navy);border-color:var(--navy);color:#fff}
.segmented{border-color:var(--line)}.segmented button.selected{background:var(--navy);color:#fff}
.student-options button:hover,.student-options button:focus-visible,.project-save-row .small-button:hover{background:var(--accent-soft)}
.file-type{background:var(--accent-soft);color:var(--accent-ink)}
.preview-notice{background:var(--accent-soft);color:var(--accent-ink)}.notice-dot{background:var(--accent-ink)}
.form-footer{border-top-color:#e4e4e8;border-radius:0 0 16px 16px;box-shadow:0 -2px 12px #17171903}
.project-card-heading,.picker-heading,.picker-footer,.paper-details,.project-save-row{border-color:#e4e4e8}
.preview-body{background:var(--soft)}.week-transition{background:#efeff2;color:var(--navy)}
@media(max-width:600px){#report-form label[for="student-name"],#report-form .section-title{font-size:17px}}
