.notes-in-app{background:#f3f6fb;color:#1d2c42}
.notes-in-app body{background:#f3f6fb}
.notes-in-app body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);background:#f3f6fb;z-index:9999;pointer-events:none}
.notes-in-app .student-page{min-height:100dvh;padding-top:env(safe-area-inset-top,0px);padding-bottom:calc(90px + env(safe-area-inset-bottom,0px));background:#f3f6fb;color:#1d2c42}
.notes-in-app .student-page>header{padding:16px 24px;min-height:64px;gap:14px;border-bottom:1px solid #dde5ef;background:#fff;flex-wrap:wrap}
.notes-in-app .student-brand{gap:9px}.notes-in-app .student-brand .brand-logo{width:38px;height:38px;aspect-ratio:1;overflow:visible}.notes-in-app .student-brand .brand-logo img{position:static;display:block;width:100%;height:100%;object-fit:contain;max-width:100%}.notes-in-app .student-brand-title{font-size:16px;letter-spacing:0}.notes-in-app .student-brand-tagline{display:none}
.notes-in-app .student-page>footer{display:none}.notes-in-app .selected-exam{max-width:100%;gap:10px;flex-wrap:wrap}.notes-in-app .student-session-action{font-size:13px;min-height:40px;display:inline-flex;align-items:center}
.notes-in-app .pack-picker-main,.notes-in-app .personal-main{padding-top:24px}.notes-in-app .pack-picker-main h1{font-size:clamp(26px,4vw,36px);letter-spacing:-.6px}.notes-in-app .student-pack-options>a{background:#fff;border:1px solid #dde5ef;border-radius:16px}
.notes-app-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:8px;padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #dde5ef}
.notes-app-brand{display:none}
.notes-app-nav a{display:flex;flex:1;max-width:200px;min-height:48px;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#66758a;font:600 11px 'Segoe UI',system-ui,sans-serif;border-radius:10px}.notes-app-nav a[aria-current]{background:#eaf1fb;color:#214f85}.notes-app-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.notes-app-nav a:focus-visible{outline:3px solid #77b1fd;outline-offset:2px}
.notes-in-app #toast{bottom:calc(85px + env(safe-area-inset-bottom,0px))}
@media(max-width:680px){.notes-in-app .student-page>header{padding:12px 16px}.notes-in-app .student-page .student-brand{max-width:100%}.notes-in-app input,.notes-in-app select,.notes-in-app textarea{font-size: max(16px,1em)}.notes-in-app .pack-picker-main{width:calc(100% - 32px)}.notes-in-app .student-pack-options{grid-template-columns:1fr}.notes-in-app .student-page .question-content{max-width:100%}.notes-in-app .student-page>main{padding-bottom:24px}}
.notes-in-app .personal-teaser{display:none}.notes-leave-dialog{border:1px solid #dde5ef;border-radius:18px;max-width:420px;width:calc(100% - 32px);padding:24px;color:#173451}.notes-leave-dialog::backdrop{background:#142d4a70}.notes-leave-dialog h2{font:700 23px system-ui;margin:0 0 12px}.notes-leave-dialog p{font:16px system-ui;line-height:1.5}.notes-leave-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
@media(min-width:769px){
 .notes-in-app .student-page{margin-left:233px;padding-bottom:0}
 .notes-app-nav{top:0;right:auto;bottom:0;box-sizing:border-box;width:233px;flex-direction:column;justify-content:flex-start;gap:4px;padding:20px;border-top:0;border-right:1px solid #dde5ef}
 .notes-app-brand{display:flex;min-height:174px;flex-direction:column;align-items:center;gap:3px;color:#6b7a8d;font:600 10px 'Segoe UI',system-ui,sans-serif;letter-spacing:2px}
 .notes-app-brand img{width:126px;height:138px;object-fit:contain}
 .notes-app-nav a{box-sizing:border-box;flex:none;max-width:none;min-height:48px;flex-direction:row;justify-content:flex-start;gap:16px;padding:0 16px;font-size:15px}
 .notes-app-nav svg{flex:none}
}
