.notes-layout{max-width:1250px;margin:40px auto;padding:0 24px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;color:#193b38}.notes-layout aside{position:sticky;top:24px;align-self:start}.notes-layout aside h2{font-size:24px;margin:12px 0 24px}.notes-layout aside nav{display:grid;gap:8px;max-height:60vh;overflow:auto}.notes-layout aside a{padding:12px;border-radius:8px;color:#27534c;text-decoration:none;line-height:1.4}.notes-layout aside a[aria-current=page]{background:#183f38;color:#fff}.notes-paper{background:#fffdf5;border:1px solid #d8d4bd;border-radius:16px;box-shadow:0 15px 60px #233b3510;padding:clamp(24px,5vw,64px);min-height:70vh}.notes-paper h1{font:500 clamp(30px,4vw,50px)/1.15 Georgia,serif;margin:12px 0 32px}.notes-paper h2{font:500 27px Georgia,serif;margin:32px 0 12px;color:#255a4e}.notes-paper p,.notes-paper li{font-size:17px;line-height:1.8;white-space:pre-wrap}.notes-paper li{margin-left:20px}.notes-paper a{color:#226457}.notes-layout button{margin-top:22px;padding:12px 18px;background:#214f45;color:white;border:0;border-radius:8px;cursor:pointer}@media(max-width:760px){.notes-layout{grid-template-columns:1fr}.notes-layout aside{position:static}.notes-layout aside nav{max-height:170px}}@media print{header,.notes-layout aside{display:none!important}.notes-layout{display:block;margin:0;padding:0}.notes-paper{border:0;box-shadow:none;padding:0}.notes-paper h2{break-after:avoid}}
.revision-main{max-width:1100px;margin:0 auto;padding:0 28px 60px}.revision-intro{padding:65px 0 38px;border-bottom:1px solid #ccd1c5}.revision-intro h1{font:clamp(34px,5vw,56px)/1.15 Georgia,serif;max-width:850px}.revision-intro p{max-width:760px;line-height:1.7;color:#49635a}.revision-row{display:flex;gap:28px;align-items:center;padding:30px 0;border-bottom:1px solid #d6d9cd}.revision-index{font:28px Georgia;color:#6f8575}.revision-row>div{flex:1}.revision-row h2{font:26px Georgia;margin:0 0 10px}.revision-row p{color:#51675e;line-height:1.5;margin:8px 0}.revision-row small{color:#667768}.revision-row a{color:#1e5647;text-underline-offset:5px;white-space:nowrap}.note-meta{font-size:12px;line-height:1.6;color:#647268;overflow-wrap:anywhere}.notes-paper p,.notes-paper li{white-space:normal}.notes-paper ul,.notes-paper ol{padding-left:24px}.notes-paper li{margin-left:0}.notes-paper table{border-collapse:collapse;width:100%;display:block;overflow:auto;font-size:15px;line-height:1.5}.notes-paper td,.notes-paper th{border:1px solid #cdd2c4;padding:10px;text-align:left;min-width:100px}.notes-paper th{background:#e9eee3}.notes-paper blockquote{border-left:3px solid #79957b;padding:4px 20px;margin:24px 0}.notes-paper .katex-display{overflow-x:auto;overflow-y:hidden;padding:8px 0}.notes-paper pre{white-space:pre-wrap}.note-upload{padding:18px;border:1px dashed #7a879b;border-radius:12px}.note-upload p{font-size:13px;line-height:1.6}.note-preview{min-height:150px;padding:28px;max-height:65vh;overflow:auto;color:#193b38}.note-preview h1{font-size:32px}.note-tools{display:flex;gap:10px}.admin-page .note-preview{background:#fffdf5}.admin-page .note-preview h2,.admin-page .note-preview h3,.admin-page .note-preview p,.admin-page .note-preview li{color:#193b38}.admin-page .note-upload input{max-width:100%}.admin-page .notes-paper{box-shadow:none}.admin-tabs [hidden]{display:none!important}@media(max-width:700px){.revision-row{align-items:flex-start;gap:15px;flex-wrap:wrap}.revision-row>div{min-width:70%}.revision-row a{margin-left:45px}.revision-intro{padding-top:35px}.revision-row h2{font-size:23px}}

.word-transfer-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.word-transfer-toolbar p{flex-basis:100%;margin:0;color:#67717e}.word-import-preview{max-height:45vh;overflow:auto}.word-import-preview details{padding:12px;border-bottom:1px solid #d7dce3}.word-import-preview summary{cursor:pointer;font-weight:600;white-space:pre-wrap}.word-import-preview p,.word-import-preview li{white-space:pre-wrap;overflow-wrap:anywhere}

.notes-paper img{max-width:100%;height:auto;display:block;margin:12px auto}.notes-paper td img{max-width:280px;width:100%}


#printNotes[hidden]{display:none!important}
@media print{body.course-portal:not(.notes-export-enabled) .notes-layout{display:none!important}body.course-portal:not(.notes-export-enabled)::after{content:"Printing is not enabled for this subject.";display:block;color:#000;background:#fff;padding:2rem}}

/* Long material subpage titles wrap independently of the row action link. */
.revision-row>div{min-width:0}
.revision-row ul{margin:16px 0 0;padding-left:1.4em}
.revision-row li{margin:10px 0;line-height:1.7}
.revision-row li a{white-space:normal;overflow-wrap:anywhere;text-underline-offset:4px;margin-left:0}
.revision-row h2{overflow-wrap:anywhere}
@media(max-width:700px){.revision-row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px 16px}.revision-row>div{min-width:0}.revision-row>a{grid-column:2;margin:0;justify-self:start}.revision-row li a{margin:0}}

/* Scope copy deterrence to the note paper, not navigation or form controls. */
.notes-copy-restricted,.notes-copy-restricted *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.notes-copy-restricted input,.notes-copy-restricted textarea,.notes-copy-restricted select,.notes-copy-restricted [contenteditable]:not([contenteditable="false"]),.notes-copy-restricted [contenteditable]:not([contenteditable="false"]) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
