.ember-student-note{box-sizing:border-box;width:480px;max-width:calc(100vw - 28px);max-height:85vh;overflow:auto;padding:26px;border:2px solid #b58b4c;border-radius:14px;background:#fff;color:#172a4b;font:16px/1.5 Arial,Helvetica,sans-serif;box-shadow:0 12px 50px #0006;text-align:left;z-index:2147483647}
.ember-student-note::backdrop{background:#07132099}
.ember-student-note h2{margin:0 0 6px;color:#172969;font:bold 23px/1.3 Arial,Helvetica,sans-serif}
.ember-student-note .ember-note-sender{margin:0 0 18px;color:#52627b;font-size:14px}
.ember-student-note .ember-note-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;margin:0 0 20px;color:#172a4b}
.ember-student-note .ember-note-error{color:#a21b24;font-size:14px}
.ember-student-note button{border:0;border-radius:8px;background:#234f9b;color:#fff;padding:10px 28px;min-height:44px;font:bold 16px Arial,Helvetica,sans-serif;cursor:pointer}
.ember-student-note button:focus-visible{outline:3px solid #e7b54f;outline-offset:3px}
.ember-student-note button:disabled{opacity:.6}
/* Follow the burgundy eContact command path in the teacher control panel. */
.enotes-panel{box-sizing:border-box;width:100%;max-width:100%;padding:0 18px 20px;margin:0;color:#fff;background:#100a0b;border:1px solid #6e2525;border-radius:0 10px 10px 0;font:14px/1.5 Helvetica,Arial,sans-serif}
.enotes-panel h2{margin:0 -18px 16px;padding:12px 18px;color:#fff;background:linear-gradient(180deg,#b44f59 0%,#853433 49%,#5b1f1f 100%);border-bottom:1px solid #a75d64;border-radius:0 9px 0 0;text-align:center;font:bold 20pt/1.25 Helvetica,Arial,sans-serif;text-shadow:0 1px 1px #24090d}
.enotes-panel>p{margin:0 0 16px;color:#ead1d3;max-width:850px}
.enotes-panel label{display:block;margin:14px 0 5px;color:#fff;font-weight:bold}
.enotes-panel select,.enotes-panel textarea{box-sizing:border-box;width:100%;max-width:100%;padding:10px 12px;border:1px solid #99575d;border-radius:6px;background:#251316;color:#fff;font:inherit;line-height:1.5;color-scheme:dark}
.enotes-panel select option{background:#251316;color:#fff}
.enotes-panel textarea{min-height:150px;resize:vertical}
.enotes-panel textarea::placeholder{color:#cbaeb2;opacity:1}
.enotes-panel select:focus-visible,.enotes-panel textarea:focus-visible,.enotes-panel button:focus-visible{outline:2px solid #efa0aa;outline-offset:2px}
.enotes-panel button{min-height:40px;margin-top:12px;padding:9px 22px;border:1px solid #c18b90;border-radius:10px;background:linear-gradient(180deg,#d95f6b 0%,#a03f3e 49%,#6e2525 100%);color:#fff;font:bold 12pt/1.3 Helvetica,Arial,sans-serif;text-shadow:0 1px 1px #3a1115;box-shadow:inset 0 1px #ffffff25,0 1px 2px #0006;cursor:pointer}
.enotes-panel button:hover{background:linear-gradient(180deg,#e5717d 0%,#ad4a49 49%,#7c2e2e 100%)}
.enotes-panel button:disabled{opacity:.5;cursor:default}
.enotes-panel #enotes-result{white-space:pre-wrap;color:#ffe0e3;margin:10px 0;overflow-wrap:anywhere}
.enotes-panel h3{margin:24px 0 8px;padding-top:16px;border-top:1px solid #6e353a;color:#fff;font:bold 16px/1.4 Helvetica,Arial,sans-serif}
.enotes-panel article{margin-top:10px;padding:12px 14px;border:1px solid #633238;border-left:3px solid #a03f3e;border-radius:0 6px 6px 0;background:#211214;overflow-wrap:anywhere}
.enotes-panel article strong{color:#fff;font-size:14px}
.enotes-panel article p{white-space:pre-wrap;margin:6px 0;color:#f0dfe1}
.enotes-panel .enotes-status{font-size:12px;color:#dfb8bd}
.enotes-panel article .enotes-status{margin-bottom:0;color:#dfb8bd}
@media(max-width:700px){.enotes-panel{padding:0 12px 16px}.enotes-panel h2{margin-right:-12px;margin-left:-12px;font-size:18pt}.enotes-panel button{width:100%}}

.enotes-panel .enotes-recipient-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.enotes-panel .enotes-recipient-field{min-width:0}
@media(max-width:480px){.enotes-panel .enotes-recipient-row{grid-template-columns:minmax(0,1fr);gap:0}}
/* Responses follow the existing eContact burgundy command path. */
.enotes-panel .enotes-reply-permission{display:flex;align-items:center;gap:9px;margin:16px 0 4px}.enotes-panel .enotes-reply-permission input{width:18px;height:18px;accent-color:#b44f59}.enotes-panel .enotes-reply-permission span{font-weight:normal;color:#dfb8bd;font-size:12px}.enotes-panel .enotes-received-reply{margin:14px 0 8px;padding:12px;border:1px solid #b66d76;border-radius:7px;background:#391c23}.enotes-panel .enotes-received-reply small{color:#f2cbd1}.ember-student-note .ember-note-actions{display:flex;gap:10px;flex-wrap:wrap}.ember-student-note .ember-note-composer{margin:16px 0}.ember-student-note .ember-note-composer label{display:block;font-weight:bold;margin-bottom:8px}.ember-student-note textarea{box-sizing:border-box;width:100%;max-width:100%;min-height:120px;border:1px solid #99abc3;border-radius:6px;background:white;color:#172a4b;padding:10px;font:16px/1.5 Arial,sans-serif;resize:vertical}.ember-student-note .ember-note-composer button{margin:0 8px 8px 0;padding:10px 16px}.ember-student-note [hidden]{display:none!important}.ember-student-note.ember-teacher-reply{border-color:#9e4650;background:#fff8f8}.ember-teacher-reply h2{color:#872d39}.ember-teacher-reply button{background:linear-gradient(#bd5964,#7b2932)}.ember-teacher-reply details{margin:10px 0 20px;padding:12px;border:1px solid #d5a4aa;border-radius:7px;background:#f8e9eb}.ember-teacher-reply summary{cursor:pointer;font-weight:bold;color:#6c2933}.ember-teacher-reply details p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
