.study-account-buttons{display:flex;gap:8px;align-items:center}.study-account-buttons button{border:1px solid #cad6e4;background:white;color:#213d5c;padding:8px 12px;border-radius:8px;cursor:pointer;font-family:inherit;font-size:13px;font-weight:600}.study-rate-button{border:1px solid #b8cada;color:#234461;background:#edf3f9;padding:4px 7px;border-radius:5px;cursor:pointer;font-size:11px}
.study-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid #d4deea;border-radius:16px;color:#243b55;background:#fff;box-shadow:0 20px 80px #17324c40;font:15px/1.5 Arial,sans-serif}.study-dialog::backdrop{background:#14263c88}.study-dialog [hidden]{display:none!important}.study-dialog header{display:flex;align-items:center;justify-content:space-between}.study-dialog h2{margin:0 0 12px;font-size:24px}.study-dialog h3{margin:20px 0 12px}.study-dialog label{display:block;margin:12px 0}.study-dialog input,.study-dialog select{display:block;box-sizing:border-box;width:100%;margin-top:5px;padding:10px;border:1px solid #b9c9d9;border-radius:7px;font:inherit}.study-dialog button{padding:10px 14px;border:1px solid #c2cfdd;border-radius:8px;background:#203d60;color:#fff;font:inherit;cursor:pointer}.study-dialog button:disabled{opacity:.5;cursor:wait}.study-dialog small{color:#63748a;display:block}.study-dialog #studyStatus{white-space:pre-wrap;color:#304f73}.study-dialog #studyQr{max-width:180px;width:100%;display:block;margin:12px auto}.study-dialog form{border-top:1px solid #e3e9f0;padding-top:10px;margin-top:10px}.study-locked{opacity:.65}.study-dialog #studyClose{background:#f0f4f8;color:#304863}
@media(max-width:650px){.masthead-inner{flex-wrap:wrap}.masthead .right{flex-wrap:wrap}.study-account-buttons button{padding:7px 10px;font-size:12px}}
.study-account-buttons button[hidden],.container [hidden]{display:none!important}
.study-signed-out body{min-height:100vh;background:#fff}
.study-parent-view .masthead-inner{height:auto;min-height:78px;flex-wrap:wrap;gap:16px;padding-top:14px;padding-bottom:14px}
.study-parent-view .masthead .right,.study-parent-view .study-account-buttons{flex-wrap:wrap}
/* Keep the whole header accessible on phones; override the legacy hidden right panel. */
@media(max-width:1100px){
 .masthead-inner{height:auto;min-height:62px;flex-wrap:wrap;gap:14px;padding-top:14px;padding-bottom:14px}
 .masthead .brand{line-height:1.2}
 .masthead .right{display:flex;flex-wrap:wrap;gap:12px 18px;max-width:100%}
 .study-account-buttons{flex-wrap:wrap}
 .study-account-buttons button{min-height:44px;font-size:14px;padding:10px 14px}
}
@media(max-width:840px){
 .masthead .brand-block{width:100%;gap:6px}
 .masthead .right{width:100%;justify-content:space-between;font-size:12px}
 .masthead #todayDate{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:480px){
 .masthead .study-account-buttons{flex-basis:100%;display:flex;gap:10px}
 .study-account-buttons button{flex:1}
 .study-account-buttons button[hidden]{display:none}
}
.study-social-buttons{display:grid;gap:10px;margin:8px 0 12px}.study-social-buttons button{width:100%;background:#f5f8fc;color:#203d60;font-weight:600;padding:12px;border-color:#b9c9d9}.study-social-buttons button:hover{background:#e8f0f8}.study-social-buttons button:focus-visible{outline:3px solid #4285f4;outline-offset:2px}.study-social-divider{text-align:center;color:#63748a;font-size:13px;margin:18px 0 0}
.study-parent-view #ttSection,.study-parent-view #rrSection,.study-parent-view #ccConnect,.study-parent-view .submission-card{display:none!important}.study-family{overflow-wrap:anywhere;color:#536981;font-size:14px}
.study-parent-view .study-dialog{width:min(860px,calc(100vw - 28px));margin:auto;padding:28px 32px;font:16px/1.6 var(--font-body,Arial,sans-serif)}
.study-dialog input:disabled{background:#edf1f5;color:#63748a;cursor:not-allowed}
.study-parent-view .study-dialog header{position:sticky;top:-28px;z-index:2;background:white;padding:12px 0;border-bottom:1px solid #dde5ee}
.study-parent-view .study-dialog h2{font-size:27px;margin:0;font-weight:750;letter-spacing:-.5px}
.study-parent-view .study-dialog h3{font-size:20px;margin:0 0 12px;letter-spacing:-.2px}
.study-parent-view .study-dialog form{padding-top:26px;margin-top:26px;border-top:1px solid #dce5ef}
.study-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:28px}
.study-section-heading p,.study-section-description{margin:0 0 16px;color:#52677b;font-size:14px;line-height:1.65}
.study-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;margin-bottom:18px}
.study-dialog .study-field-grid label{font-size:14px;font-weight:650;margin:4px 0}
.study-dialog .study-field-grid input,.study-dialog .study-field-grid select{font-size:16px;font-weight:400;min-height:44px;background:white}
.study-rule-card{min-width:0;margin:20px 0;padding:18px 22px 8px;border:1px solid #dce5ef;border-radius:12px;background:#f8fafc}
.study-rule-card legend{font-weight:750;font-size:17px;color:#234868;padding:0 8px}
.study-rule-card p{font-size:14px;line-height:1.7;margin:0 0 16px;color:#52677b}
.study-parent-view #studySignOut{background:white;color:#52677b;font-size:13px;padding:6px 12px}
.study-dialog #studyStatus:empty{display:none}.study-dialog #studyStatus:not(:empty){padding:14px 16px;background:#edf4fa;border-radius:8px;font-size:14px}
@media(max-width:600px){.study-parent-view .study-dialog{padding:20px}.study-parent-view .study-dialog header{top:-20px}.study-field-grid{grid-template-columns:1fr}.study-rule-card{padding:14px}.study-section-heading{align-items:flex-start;flex-direction:column;gap:0}}
