.demo-study-tools{padding:18px;margin:0 0 22px;border:1px solid #d8dfea;border-left:4px solid #7b2033;border-radius:10px;background:#f8fafc;color:#172b45;font:15px/1.6 "Segoe UI",Arial,sans-serif}
.demo-tools-intro{margin:0 0 14px}.demo-tools-intro strong{color:#7b2033;font-size:17px}
.demo-tools-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.demo-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;min-height:42px;border:1px solid #b45309;border-radius:7px;background:#fffbeb;color:#78350f;font-weight:700;cursor:pointer;line-height:1.4}
.demo-tool-button--nav{background:#7b2033;color:white;border-color:#7b2033}
.demo-tool-button.is-bookmarked{background:#fef3c7;border-color:#92400e}
.demo-tool-button span{font-size:13px;padding:1px 7px;border-radius:14px;background:#ffffff26}
.demo-note-editor{padding:12px 0 0}.demo-note-editor summary{cursor:pointer;font-weight:700;color:#315d85;padding:7px 0}
.demo-study-tools label{display:block;font-weight:600;margin:12px 0 7px}
.demo-study-tools textarea,.demo-study-tools input[type=search]{box-sizing:border-box;display:block;width:100%;padding:11px;border:1px solid #a9bdce;border-radius:7px;background:white;color:#172b45;font:16px/1.5 "Segoe UI",Arial,sans-serif}
.demo-study-tools textarea{min-height:100px;resize:vertical}
.demo-note-counter{display:block;margin:7px 0 12px;color:#526277;font-size:13px}
.demo-note-preview{padding:12px 14px;margin:15px 0 0;border:1px solid #cbdde9;border-radius:8px;background:#edf6ff}
.demo-note-preview p,.demo-saved-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0;line-height:1.6}
.demo-tools-feedback{margin:10px 0 0;font-size:14px}.demo-tools-storage{margin:8px 0 0;font-size:13px;color:#526277}
.demo-saved-panel{margin-top:18px;padding:16px;border:1px solid #dfe7ef;border-radius:9px;background:white}
.demo-saved-panel h2{font-size:18px;margin:0 auto 0 0;color:#7b2033}
.demo-saved-item{padding:12px 0;border-bottom:1px solid #e5eaf0}.demo-saved-item a{font-weight:700;color:#315d85}
.demo-saved-item-title{font-size:14px;line-height:1.5;color:#526277}
.demo-study-tools [hidden]{display:none!important}
.demo-study-tools button:focus-visible,.demo-study-tools summary:focus-visible,.demo-study-tools input:focus-visible,.demo-study-tools textarea:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
@media(max-width:600px){.demo-study-tools{padding:14px}.demo-tools-actions>button{flex:1 1 auto}.demo-saved-panel{padding:12px}}
