/* 4.9 — scholarly library first, ocean-inspired knowledge map second */
#mrr49Hub{scroll-margin-top:95px;color:#243e38}#mrr49Hub[hidden]{display:none!important}
.m49{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;padding:clamp(12px,2.4vw,32px);background:#f9f5ec;border:1px solid #e3dbcc;border-radius:22px;box-shadow:0 9px 35px #223c3420;line-height:1.55}
.m49 button,.m49 select,.m49 input,.m49 textarea{font:inherit}.m49 button{cursor:pointer}.m49-head{display:flex;align-items:center;justify-content:space-between;gap:25px;background:linear-gradient(115deg,#143c41,#315e58 83%);color:#fdf9ed;border-radius:20px;padding:30px 34px;position:relative;overflow:hidden}
.m49-head::before{content:"";position:absolute;right:-120px;top:-180px;width:450px;height:450px;border:1px solid #e6c99036;border-radius:50%;box-shadow:0 0 0 45px #fff1df0c,0 0 0 90px #fff1df07;pointer-events:none}
.m49-head>div{position:relative;z-index:1}.m49-head h2{font:normal clamp(29px,3.6vw,48px)/1.12 Georgia,serif;color:#fff8e9;letter-spacing:-.022em;margin:12px 0}.m49-head p{font-size:14px;max-width:740px;line-height:1.7;color:#e4ece7;margin:0 0 18px}.m49-eyebrow,.m49-section-label{letter-spacing:.17em;font-weight:750;font-size:10px;color:#c6a775}.m49-scholar{width:clamp(100px,16vw,170px);height:auto;max-height:185px;object-fit:contain;flex:none;position:relative;z-index:1;filter:drop-shadow(0 12px 10px #071a1a6b)}
.m49-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:8px 0}.m49 button,.m49-file{border:1px solid #b8c9bd;background:#eaf0e7;color:#1b4b43;border-radius:11px;font-weight:650;font-size:13px;padding:10px 14px;transition:background .18s,transform .18s}.m49 button:hover,.m49-file:hover{background:#d7e6de;transform:translateY(-1px)}.m49 button:disabled{opacity:.55;cursor:not-allowed;transform:none}.m49-head button{border-color:#9cb6a566;background:#ffffff19;color:#f5f5eb}.m49-head button:hover,.m49-head button[aria-pressed=true]{background:#e6cd93;color:#213e3b;border-color:#e6cd93}.m49 button:focus-visible,.m49 input:focus-visible,.m49 textarea:focus-visible,.m49 select:focus-visible{outline:3px solid #bc9e60;outline-offset:3px}.m49-sync{font-size:11px;text-align:right;margin:8px 3px 18px;color:#617b71}
.m49-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:20px 0}.m49-stats>div{background:#fefcf6;border:1px solid #e5e4d8;border-radius:14px;padding:17px}.m49-stats strong{display:block;font:normal 31px Georgia,serif;color:#28534c}.m49-stats span{font-size:11px;color:#677b71}
.m49-panel{background:#fffefa;border:1px solid #e0e4da;border-radius:17px;padding:clamp(16px,2.3vw,24px);min-width:0}.m49-panel h3{font:normal 27px/1.2 Georgia,serif;color:#1c3933;margin:7px 0}.m49-panel h4{font:normal 20px/1.3 Georgia,serif;color:#234a40;margin:16px 0 7px}.m49-panel p{color:#5a7065;font-size:13px}.m49-panel hr{height:1px;background:#e9e8dd;border:0;margin:22px 0}.m49-book-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.3fr);align-items:start;gap:18px}.m49-form{display:grid;gap:12px;margin:16px 0}.m49-form label{display:grid;gap:5px;font-size:12px;font-weight:650;color:#395b4d}.m49-form input,.m49-form select,.m49-form textarea,.m49-map-controls input,.m49-map-controls select{min-width:0;max-width:100%;width:100%;box-sizing:border-box;border:1px solid #bdcfc4;background:#fff;border-radius:9px;padding:10px 11px;color:#223a32;font-size:13px}.m49-form textarea{resize:vertical;line-height:1.55}.m49-form button[type=submit]{background:#24534a;color:#fff;width:max-content;border-color:#24534a}.m49-volume-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.m49-book-cover{min-height:168px;border:9px double #d0b47d;border-radius:4px 18px 18px 4px;box-shadow:inset 11px 0 0 #153a35,0 6px 10px #173c3028;background:linear-gradient(120deg,#21483e,#113536);color:#f5edd7;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;margin:17px 0 22px}.m49-book-cover span{font-size:9px;letter-spacing:.25em;color:#d2b882}.m49-book-cover strong{font:normal 31px/1.07 Georgia,serif;margin:8px 0;color:#fff5df}.m49-book-cover small{font:italic 12px Georgia,serif;color:#b8ccb8}.m49-chapter{border-top:1px solid #e1e5da;padding:12px 0}.m49-chapter summary{cursor:pointer;display:flex;justify-content:space-between;gap:14px;font:normal 21px Georgia,serif;color:#254b42;list-style:none}.m49-chapter summary::-webkit-details-marker{display:none}.m49-chapter summary::before{content:'+';font:normal 18px system-ui;color:#b18b56}.m49-chapter[open] summary::before{content:'−'}.m49-chapter summary span{flex:1}.m49-chapter summary small{font:12px system-ui;color:#71857b}.m49-chapter-desc{margin:9px 0}.m49-entry{margin:13px 0;padding:13px;border-radius:12px;background:#faf9f1;border:1px solid #e9e7da}.m49-entry-top{display:flex;gap:8px;justify-content:space-between;align-items:start}.m49-entry strong{font-size:14px;color:#2d4b40}.m49-entry small{font-size:10px;color:#76877b}.m49-entry p{white-space:pre-wrap;overflow-wrap:anywhere}.m49-entry .m49-actions{margin-bottom:0}.m49-entry button,.m49-remove{padding:6px 9px!important;font-size:11px!important}.m49-tags{display:flex;gap:6px;flex-wrap:wrap}.m49-tags span{background:#e3ede4;border-radius:40px;padding:3px 8px;color:#476e5e;font-size:10px}.m49-empty{font:italic 14px Georgia,serif!important;color:#809186!important}.m49-note{font-size:11px!important;line-height:1.6!important;color:#6e8077!important}.m49-remove{background:#fff!important;border-color:#e7d3c3!important;color:#916a52!important;margin-top:10px}
.m49-ocean-intro{background:#e9f1ec;border-radius:15px;padding:20px 23px;margin:10px 0 17px;display:flex;justify-content:space-between;gap:14px;align-items:center}.m49-ocean-intro h3{font:normal 29px Georgia,serif;margin:6px 0;color:#24554e}.m49-ocean-intro p{max-width:630px;font-size:13px;color:#5c7769;margin:0}.m49-depths{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#38736b;min-width:170px}.m49-explorer{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.7fr);gap:16px;align-items:start}.m49-map-controls{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px}.m49-map-controls label{font-size:12px;font-weight:650;color:#476c62}.m49-map-controls input,.m49-map-controls select{display:block;margin-top:5px}.m49-sea{position:relative;overflow:hidden;border-radius:12px;border:1px solid #aec9c0}.m49-graph{display:block;width:100%;height:auto;aspect-ratio:900/780}.m49-node{cursor:pointer;outline:none}.m49-node circle{fill:#bd9d63;stroke:#f9f0d8;stroke-width:4;transition:stroke-width .15s}.m49-node text{font:13px Georgia,serif;fill:#193e3c;paint-order:stroke;stroke:#e4f2ee;stroke-width:3px;stroke-linejoin:round;pointer-events:none}.m49-node.m49-chapter circle{fill:#204e4b}.m49-node.m49-note circle{fill:#b0774c}.m49-node.m49-document circle{fill:#e9e0c4}.m49-node.m49-source circle{fill:#517b77}.m49-node.selected circle,.m49-node:focus-visible circle{stroke:#e8c66d;stroke-width:9}.m49-connection{fill:none;stroke:#325e54;stroke-width:3;opacity:.55;stroke-dasharray:7 4}.m49-map-empty{position:absolute;left:5%;right:5%;top:38%;text-align:center;color:#18433d!important;background:#f9f8ecdc;padding:16px;border-radius:8px}.m49-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;margin:10px 0;color:#547267}.m49-legend span:nth-child(1){color:#204e4b}.m49-legend span:nth-child(2){color:#bd9d63}.m49-legend span:nth-child(3){color:#b0774c}.m49-legend span:nth-child(4){color:#517b77}.m49-inspector{position:sticky;top:85px}.m49-type{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#ac8754}.m49-node-list{display:grid;gap:4px;max-height:270px;overflow-y:auto;margin-top:10px}.m49-node-list button{display:flex;justify-content:space-between;gap:8px;text-align:left;font-size:12px;padding:8px;border-radius:7px;border-color:#e3e7dd;background:#f9faf4}.m49-node-list small{color:#83998d}.m49-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px}.m49-switch{display:flex;gap:9px;align-items:center;font-size:14px;color:#375c4d;margin-top:20px}.m49-switch span{font-size:11px;color:#73867c}.m49-theme-line{margin:18px 0;padding:15px;color:#f9f3df;font-size:12px;border-radius:9px;background:linear-gradient(90deg,#204b4f,#7b9d8b 33%,#e8dfc7 55%,#b49354 75%,#614337)}.m49-file{display:inline-flex;cursor:pointer}.m49-animate .m49-sea::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 13% 80%,#fff7db46,transparent 34%);animation:m49light 15s ease-in-out infinite alternate}@keyframes m49light{to{transform:translate(20%, -4%);opacity:.45}}
.m49-library-shortcut{display:flex;gap:12px;align-items:center;padding:17px 18px;margin:16px 0;border:1px solid #b6cfc3;background:linear-gradient(110deg,#ecf2ea,#f9f8ed);border-radius:15px;color:#285044}.m49-library-shortcut strong{display:block;font:normal 20px Georgia,serif}.m49-library-shortcut span{display:block;font-size:12px;color:#637a6b}.m49-library-shortcut button{margin-left:auto;border-radius:9px;background:#27574b;border:0;color:white;font-weight:650;padding:10px 13px;cursor:pointer}
@media(max-width:960px){.m49-book-layout,.m49-explorer{grid-template-columns:1fr}.m49-inspector{position:static}.m49-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.m49{padding:11px}.m49-head{padding:21px 19px;align-items:start}.m49-scholar{width:80px}.m49-head h2{font-size:29px}.m49-head p{font-size:12px}.m49-actions button{font-size:12px;padding:9px}.m49-ocean-intro{display:block}.m49-depths{margin-top:12px}.m49-map-controls{grid-template-columns:1fr}.m49-volume-head{align-items:start;flex-direction:column}.m49-settings{grid-template-columns:1fr}.m49-library-shortcut{flex-wrap:wrap}.m49-library-shortcut button{margin-left:0}}
@media(prefers-reduced-motion:reduce){.m49 *, .m49 *::before,.m49 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.m49-entry-ref{display:block;color:#60766a;margin:8px 0 4px;font-size:11px}

.m49-home-feature{display:flex;align-items:center;gap:17px;background:linear-gradient(100deg,#edf2eb,#e8eee9);border:1px solid #c9d8c9;border-radius:14px;margin:15px 0;padding:11px 20px;color:#285344}.m49-home-feature img{width:83px;height:83px;flex:none}.m49-home-feature>div{flex:1;min-width:0}.m49-home-feature strong{font:normal 20px Georgia,serif;display:block}.m49-home-feature span{font:12px/1.55 system-ui;display:block;color:#617a6d;margin-top:4px}.m49-home-feature button{border:0;background:#28594f;color:#fff;font-size:12px;font-weight:700;border-radius:9px;padding:11px 13px;cursor:pointer}.m49-home-feature button:hover{background:#183f3a}@media(max-width:620px){.m49-home-feature{flex-wrap:wrap;padding:12px}.m49-home-feature img{width:58px;height:58px}.m49-home-feature button{width:100%}}

/* v5.0.1 — rich illustrated Keeper, no changes to knowledge data or interactions */
.m49-library-shortcut{display:grid;grid-template-columns:minmax(145px,190px) minmax(220px,1fr) auto auto;gap:clamp(10px,1.4vw,21px);align-items:center;min-height:165px;padding:13px 19px 13px 13px;border-color:#c1be9c;background:linear-gradient(105deg,#efe6d4 0%,#f7f3e9 57%,#e9f0e8 100%);box-shadow:0 10px 28px #3a44351a;overflow:hidden}
.m49-library-shortcut>img{width:100%;max-width:190px;height:150px;object-fit:cover;object-position:48% 45%;display:block;border-radius:13px;border:1px solid #bbaf91;box-shadow:0 8px 18px #26382f32}
.m49-library-shortcut>div{min-width:0}.m49-library-shortcut strong{font:normal clamp(22px,2vw,30px)/1.16 Georgia,serif;color:#163c36}.m49-library-shortcut span{font-size:13px;line-height:1.55;max-width:600px;margin-top:8px;color:#5b7165}
.m49-library-shortcut button{margin-left:0;white-space:nowrap;padding:12px 14px;box-shadow:0 3px 8px #183e2f20}
.m49-library-shortcut button:last-child{border:1px solid #94b1a1;background:transparent;color:#285a49}.m49-library-shortcut button:last-child:hover{background:#dbe9df}
.m49-home-feature{padding:12px 20px 12px 12px;background:linear-gradient(105deg,#efe4cf,#edf1e6 68%);border-color:#d6c7ab;box-shadow:0 8px 24px #40513f17}
.m49-home-feature img{width:146px;height:128px;object-fit:cover;object-position:48% 45%;border-radius:12px;flex:none;box-shadow:0 5px 18px #203b3136}
.m49-home-feature strong{font-size:clamp(21px,2vw,28px);line-height:1.18;color:#234a3d}.m49-home-feature span{font-size:13px;line-height:1.6;margin-top:8px}.m49-home-feature button{font-size:13px;padding:12px 16px}
.m49-scholar{width:clamp(160px,21vw,255px);height:180px;max-height:none;object-fit:cover;object-position:48% 47%;border-radius:16px;border:1px solid #dec89c88;box-shadow:0 14px 36px #061c1969;filter:none}
@media(max-width:1100px){.m49-library-shortcut{grid-template-columns:155px minmax(0,1fr);gap:12px}.m49-library-shortcut>img{grid-row:span 3;height:150px}.m49-library-shortcut button{justify-self:start}.m49-home-feature img{width:124px;height:115px}}
@media(max-width:620px){.m49-library-shortcut{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:12px;align-items:start}.m49-library-shortcut>img{grid-row:span 1;width:105px;height:114px;object-position:50% 46%}.m49-library-shortcut>div{grid-column:2}.m49-library-shortcut strong{font-size:20px}.m49-library-shortcut span{font-size:11px}.m49-library-shortcut button{width:100%;grid-column:1/-1;justify-self:stretch}.m49-home-feature{display:grid;grid-template-columns:88px 1fr;align-items:center}.m49-home-feature img{width:88px;height:94px}.m49-home-feature button{grid-column:1/-1;width:100%}.m49-home-feature strong{font-size:19px}.m49-home-feature span{font-size:11px}.m49-scholar{width:104px;height:125px}}

/* v6.6.1: legible map when the account contains only a few items. */
#mrr49Hub .m49-map-compact{background:linear-gradient(150deg,#ecf3ed,#e5eee9);border:1px solid #d0ded3;border-radius:14px;padding:clamp(16px,2vw,28px);min-height:190px;color:#25463d}
#mrr49Hub .m49-compact-context{font-size:14px;line-height:1.6;color:#526e63;margin:0 0 17px;max-width:610px}
#mrr49Hub .m49-compact-list{display:grid;gap:12px}
#mrr49Hub button.m49-compact-node{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #cbdad1;background:#fffdf8;border-radius:13px;padding:15px 17px;color:#193e33;min-width:0;transition:border-color .15s,box-shadow .15s}
#mrr49Hub button.m49-compact-node:hover,#mrr49Hub button.m49-compact-node:focus-visible,#mrr49Hub button.m49-compact-node.selected{border-color:#b9955a;box-shadow:0 0 0 3px #e8d7b5}
#mrr49Hub .m49-compact-node>span:nth-child(2){flex:1;min-width:0}
#mrr49Hub .m49-compact-node strong{display:block;font:600 17px/1.3 system-ui,-apple-system,sans-serif;overflow-wrap:anywhere}
#mrr49Hub .m49-compact-node small{display:block;margin-top:4px;font-size:12px;color:#60766a;text-transform:capitalize}
#mrr49Hub .m49-compact-dot{width:33px;height:33px;border-radius:50%;border:3px solid #f5ebcf;background:#b99d64;flex:none}
#mrr49Hub .m49-compact-dot.m49-document{background:#e1cfa5;border-color:#fff9e8}
#mrr49Hub .m49-compact-dot.m49-source{background:#517b77}
#mrr49Hub .m49-compact-dot.m49-note{background:#b0774c}
#mrr49Hub .m49-compact-dot.m49-chapter{background:#204e4b}
#mrr49Hub .m49-compact-empty{text-align:center;padding:25px 12px}
#mrr49Hub .m49-compact-empty strong{font-size:20px}
#mrr49Hub .m49-compact-empty p{color:#526e63}
#mrr49Hub .m49-filename{border-left:3px solid #bb995a;padding:9px 12px;background:#f4f0e5;overflow-wrap:anywhere;color:#5d6c62;font-size:13px}
@media(max-width:620px){#mrr49Hub .m49-map-compact{min-height:0;padding:13px}#mrr49Hub button.m49-compact-node{padding:12px;gap:9px}#mrr49Hub .m49-compact-node strong{font-size:15px}}
