/* MentorOnline Master Prompts v3 — scoped UI; no pagebuilder/theme styles changed. */
.momp-library,.momp-modal,.momp-single-entry{--mo-pink:#cc2346;--mo-pink-deep:#ac1939;--mo-ink:#121827;--mo-muted:#647087;--mo-line:#e8e8ed;--mo-paper:#f8f8fb;--mo-head:'Plus Jakarta Sans','Segoe UI',Arial,sans-serif;--mo-body:'DM Sans','Segoe UI',Arial,sans-serif;color:var(--mo-ink);font-family:var(--mo-body)!important;box-sizing:border-box;-webkit-font-smoothing:antialiased}
.momp-library *,.momp-modal *,.momp-single-entry *{box-sizing:border-box}
.momp-library [hidden],.momp-modal [hidden],.momp-modal[hidden],.momp-single-entry [hidden]{display:none!important}
.momp-library button,.momp-library input,.momp-library select,.momp-modal button,.momp-single-entry button{font-family:var(--mo-body)!important}
.momp-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
/* Full-width breakout for boxed Brizy containers. */
.momp-library{position:relative!important;left:50%;transform:translateX(-50%);width:min(1280px,calc(100vw - 52px))!important;max-width:none!important;margin:0!important;padding:18px 0 75px;line-height:1.5}
/* Branded, editorial hero with an original CSS-built creator showcase. */
.momp-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1.15fr .85fr;min-height:390px;align-items:center;border-radius:26px;background:radial-gradient(circle at 85% 0%,rgba(204,35,70,.20),transparent 39%),linear-gradient(119deg,#121626 4%,#181426 64%,#211628 100%);color:#fff!important;margin:0 0 58px;box-shadow:0 18px 38px rgba(23,23,42,.10)}
.momp-hero:before{content:'';pointer-events:none;position:absolute;inset:0;background-image:radial-gradient(#ffffff1b 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent 42%,#000 100%);opacity:.42}
.momp-hero-content{position:relative;z-index:2;padding:45px 0 47px 58px}
.momp-brandline{display:flex;gap:11px;align-items:center;margin-bottom:29px}
.momp-brand-mark,.momp-modal-logo{position:relative;display:flex;align-items:center;justify-content:center;background:#cc2346;color:#fff;font:800 20px/1 var(--mo-head);width:43px;height:43px;border-radius:13px;box-shadow:0 8px 18px #cc234633}
.momp-brand-mark span,.momp-modal-logo span{font-size:10px;position:absolute;right:5px;top:5px}
.momp-brand-name{display:block;font:800 14px/1.2 var(--mo-head);letter-spacing:.5px;color:white}
.momp-brand-name>span{color:#ff7c9c}.momp-brand-name small{display:block;color:#aab0be;font:700 9px/1.8 var(--mo-body);letter-spacing:2.1px;margin-top:2px}
.momp-hero-eyebrow{display:flex;gap:9px;align-items:center;color:#f1a7b8;letter-spacing:2.5px;font:800 10px/1.4 var(--mo-body);margin-bottom:14px}.momp-hero-eyebrow>span{background:#fa7495;width:21px;height:2px;display:inline-block}
.momp-library .momp-hero h2{color:white!important;font:800 clamp(37px,4vw,58px)/1.13 var(--mo-head)!important;letter-spacing:-2.5px!important;margin:0 0 20px!important;max-width:700px!important}
.momp-hero h2 span{color:#fc7198}
.momp-library .momp-hero p{font:400 16px/1.8 var(--mo-body)!important;color:#c7ccda!important;max-width:500px;margin:0!important}
.momp-hero-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px}.momp-hero-pills span{display:inline-flex;align-items:center;border-radius:7px;padding:8px 11px;border:1px solid #ffffff22;background:#ffffff0b;color:#e7e8f1;font:600 11px/1.2 var(--mo-body)}
.momp-hero-illustration{height:100%;position:relative;min-width:0;display:flex;align-items:center;justify-content:center}
.momp-hero-decoration{position:absolute;border-radius:50%;pointer-events:none}.momp-decor-one{width:320px;height:320px;right:8%;top:5%;background:radial-gradient(circle,#e835662b 0%,#e8356610 55%,transparent 71%)}.momp-decor-two{width:260px;height:260px;right:18%;top:18%;border:1px solid #ffffff13}
.momp-showcase-main{width:265px;height:302px;position:relative;transform:rotate(-7deg);background:#f8f5f5;border:5px solid #ffffff26;border-radius:19px;box-shadow:0 28px 45px #0005;overflow:hidden}
.momp-showcase-toolbar{height:38px;display:flex;align-items:center;justify-content:space-between;background:#f4f0f0;border-bottom:1px solid #ece6e8;padding:0 14px}.momp-showcase-toolbar>span{display:flex;gap:5px}.momp-showcase-toolbar i{width:6px;height:6px;border-radius:50%;background:#c0b3ba}.momp-showcase-toolbar i:first-child{background:#fa8c9d}.momp-showcase-toolbar b{color:#596071;letter-spacing:1px;font:800 8px var(--mo-body)}
.momp-showcase-big{height:133px;display:grid;place-items:center;color:#fbf0f1;font-size:91px;line-height:1;background:linear-gradient(140deg,#e43a65,#ac1642)}
.momp-showcase-copy{padding:17px 19px;color:#192035}.momp-showcase-copy span{display:block;font:800 9px var(--mo-body);letter-spacing:1.2px;color:#b94361}.momp-showcase-copy strong{display:block;font:800 20px/1.34 var(--mo-head);letter-spacing:-.7px;margin-top:5px}
.momp-showcase-foot{display:flex;align-items:center;justify-content:space-between;margin:0 19px;padding-top:10px;border-top:1px solid #e6dfe3;font:800 9px var(--mo-body);letter-spacing:1px;color:#677186}.momp-showcase-foot span{color:#cc2346;font-size:17px}
.momp-showcase-float{position:absolute;z-index:3;display:flex;gap:11px;align-items:center;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 15px 30px #0003;color:#252639;transform:rotate(4deg)}.momp-showcase-float>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;background:#ffe7ed;border-radius:8px;color:#cc2346;font-size:14px}.momp-showcase-float strong{font:800 12px/1.25 var(--mo-head)}.momp-showcase-float small{display:block;font:500 10px/1.4 var(--mo-body);color:#8a8c9a;margin-top:2px}.momp-showcase-tutorial{top:14%;right:2%;transform:rotate(9deg)}.momp-showcase-free{bottom:10%;left:5%;transform:rotate(-8deg)}
/* Collection and toolbar */
.momp-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:0 0 24px}.momp-eyebrow{color:#cc2346;font:800 11px/1.3 var(--mo-body);letter-spacing:2px}.momp-section-heading h3{font:800 clamp(24px,2.6vw,35px)/1.25 var(--mo-head)!important;color:#171b28!important;letter-spacing:-1.15px!important;margin:8px 0 0!important}.momp-section-period{color:#cc2346}.momp-collection-caption{color:#7b8291;font-size:13px;margin-bottom:6px}
.momp-controls{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:12px;margin-bottom:17px}.momp-search-wrap{display:flex;align-items:center;gap:12px;height:58px;padding:0 20px;border:1px solid #e5e6ee;background:#fff;border-radius:13px;box-shadow:0 5px 20px #17203a05;transition:box-shadow .2s,border-color .2s}.momp-search-wrap:focus-within{border-color:#da8ca0;box-shadow:0 0 0 4px #cc234611}.momp-search-icon{color:#cc2346;font:600 28px/1 var(--mo-body)}
.momp-library .momp-search{width:100%;height:100%;padding:0!important;margin:0!important;outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:#1e2330!important;font:500 15px var(--mo-body)!important}.momp-library .momp-search::placeholder{color:#989da9}
.momp-sort-wrap{display:block}.momp-library .momp-sort{height:58px;width:100%;padding:10px 16px!important;margin:0!important;border:1px solid #e5e6ee!important;border-radius:13px!important;box-shadow:none!important;color:#30394b!important;font:700 13px var(--mo-body)!important;background:#fff!important;cursor:pointer}
.momp-filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 22px}.momp-saved-label,.momp-tutorial-only{display:inline-flex;align-items:center;gap:9px;background:#fff;border:1px solid #e5e6ed;border-radius:9px;padding:10px 13px;cursor:pointer;color:#455063;font:700 12px var(--mo-body);user-select:none}.momp-library input[type=checkbox]{accent-color:var(--mo-pink);width:16px;height:16px;margin:0;cursor:pointer}
.momp-categories{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 20px;padding-bottom:4px}.momp-library .momp-category-button{padding:10px 15px!important;margin:0!important;border:1px solid #e8e7ec!important;border-radius:10px!important;min-height:41px!important;background:#fff!important;color:#5e6472!important;font:700 12px var(--mo-body)!important;box-shadow:none!important;cursor:pointer!important;transition:all .18s}.momp-library .momp-category-button:hover{color:#cc2346!important;border-color:#e6b2c0!important}.momp-library .momp-category-button.is-active{background:#202334!important;border-color:#202334!important;color:#fff!important}
.momp-results{font:600 13px var(--mo-body);color:#7f8593;margin-bottom:18px}
/* Premium image-first cards: no duplicate poster headline overlay. */
.momp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.momp-card{min-width:0;display:flex;flex-direction:column;border:1px solid #e9e7eb;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 7px 28px #151d3409;transition:transform .25s,box-shadow .25s,border-color .25s}.momp-card:hover{transform:translateY(-5px);box-shadow:0 25px 44px #14192c18;border-color:#ded8dd}
.momp-art{position:relative;display:block!important;aspect-ratio:4/5;width:100%;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;overflow:hidden;background:#191929!important;box-shadow:none!important;cursor:pointer!important}.momp-art img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;transition:transform .35s}.momp-art:hover img{transform:scale(1.045)}.momp-art-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(145deg,#45172b,#ee426e);color:#fff;font:700 70px/1 var(--mo-head)}.momp-art-top{position:absolute;top:16px;left:16px;border-radius:6px;background:#0e1820df;color:#fff;padding:8px 10px;font:800 10px/1.1 var(--mo-body);letter-spacing:1px}.momp-art-video{position:absolute;bottom:15px;right:15px;border-radius:7px;background:#fff;color:#b82342;padding:9px 11px;box-shadow:0 6px 16px #0004;font:800 11px var(--mo-body)}
.momp-card-body{display:flex;flex-direction:column;flex:1;padding:21px 22px 22px;gap:11px}.momp-card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.momp-category-tag{display:inline-flex;align-items:center;border-radius:6px;background:#fcebf0;color:#be274a;font:800 10px/1.2 var(--mo-body);text-transform:uppercase;letter-spacing:.6px;padding:8px 10px}.momp-card-wordcount{font:600 11px var(--mo-body);color:#8c92a0;white-space:nowrap}.momp-card-body h3{font:800 18px/1.4 var(--mo-head)!important;letter-spacing:-.45px!important;color:#1b2030!important;margin:3px 0 0!important;min-height:50px}.momp-card-excerpt{font:400 13px/1.65 var(--mo-body)!important;color:#778092!important;margin:0!important;padding:0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:43px}
.momp-card-actions{display:grid;grid-template-columns:1.35fr .85fr 42px;gap:8px;margin-top:auto;padding-top:10px}
.momp-library .momp-btn,.momp-modal .momp-btn,.momp-single-entry .momp-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:9px!important;border:1px solid #e3e4e9!important;background:white!important;box-shadow:none!important;margin:0!important;padding:10px 12px!important;min-height:44px!important;text-align:center!important;color:#202637!important;font:800 12px/1.25 var(--mo-body)!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer!important;white-space:normal!important;transition:all .2s}.momp-library .momp-btn:disabled,.momp-modal .momp-btn:disabled{opacity:.5;cursor:wait!important}
.momp-library .momp-btn-primary,.momp-modal .momp-btn-primary,.momp-single-entry .momp-btn-primary{background:#cc2346!important;border-color:#cc2346!important;color:#fff!important}.momp-library .momp-btn-primary:hover,.momp-modal .momp-btn-primary:hover,.momp-single-entry .momp-btn-primary:hover{background:#a91b37!important;border-color:#a91b37!important}.momp-library .momp-btn-outline:hover,.momp-modal .momp-btn-outline:hover,.momp-single-entry .momp-btn-outline:hover{background:#f7f7f9!important;border-color:#d0d2da!important}.momp-library .momp-btn-heart{font-size:23px!important;color:#cc2346!important;padding:5px!important}.momp-library .momp-btn-heart[aria-pressed=true],.momp-modal [aria-pressed=true]{color:#cc2346!important}.momp-library .momp-btn:focus-visible,.momp-modal button:focus-visible,.momp-library input:focus-visible,.momp-library .momp-category-button:focus-visible{outline:3px solid #fd9bb4!important;outline-offset:3px}.momp-load-section{display:flex;justify-content:center;padding:30px 0}
/* Popup: true two-pane reader. */
.momp-modal{--momp-reader-size:16px;position:fixed;inset:0;z-index:2147483000;padding:22px;display:flex;align-items:center;justify-content:center}.momp-backdrop{position:absolute;inset:0;background:#0b1020d9;backdrop-filter:blur(8px)}.momp-lock-scroll{overflow:hidden!important}.momp-modal-panel{position:relative;display:flex;flex-direction:column;width:min(1140px,100%);height:min(840px,calc(100dvh - 44px));max-height:calc(100dvh - 44px);overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 36px 100px #02061690;outline:none}
.momp-modal-topbar{flex:0 0 66px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeedf1;background:#fff;padding:0 27px}.momp-modal-identity{display:flex;align-items:center;gap:10px}.momp-modal-logo{width:33px;height:33px;border-radius:9px;font-size:16px}.momp-modal-logo span{font-size:7px}.momp-modal-identity strong{display:block;color:#222638;font:800 12px/1.2 var(--mo-head);letter-spacing:.4px}.momp-modal-identity small{display:block;color:#9aa0ad;font:800 9px/1.6 var(--mo-body);letter-spacing:1.4px}.momp-modal-topactions{display:flex;align-items:center;gap:16px}.momp-free-label{color:#9b5772;font:800 10px var(--mo-body);letter-spacing:1.4px}.momp-x{display:grid;place-items:center;width:36px;height:36px;min-height:36px!important;background:#f7f7f9!important;border:1px solid #ebebf0!important;border-radius:50%!important;padding:0!important;color:#414655!important;font:500 26px/1 var(--mo-body)!important;cursor:pointer!important;margin:0!important}.momp-x:hover{background:#eeeef3!important}
.momp-modal-content{flex:1;min-height:0;display:grid;grid-template-columns:290px minmax(0,1fr);overflow:hidden}.momp-modal-sidebar{min-height:0;overflow-y:auto;padding:24px 23px;background:#f8f8fa;border-right:1px solid #ecebf0}.momp-modal-cover{aspect-ratio:4/5;overflow:hidden;width:100%;border-radius:13px;background:linear-gradient(130deg,#15233b,#cc2346);box-shadow:0 10px 23px #14182b10}.momp-modal-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}.momp-modal-cover .momp-art-placeholder{font-size:52px}.momp-modal-chips{display:flex;gap:8px;margin:16px 0 20px}.momp-sidebar-heading{font:800 10px var(--mo-body);color:#a0a5b1;letter-spacing:1.5px;margin-bottom:11px}.momp-modal-tools{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.momp-tool-chip{background:white;border:1px solid #e3e4eb;border-radius:7px;padding:7px 9px;font:700 11px/1.3 var(--mo-body);color:#5a6376}
.momp-tutorial-link{display:flex;align-items:center;gap:11px;padding:15px 12px;min-height:67px;border-radius:10px;text-decoration:none!important;background:#fff;border:1px solid #eedbe1;color:#272838!important;box-shadow:0 5px 15px #c923450d;margin:16px 0 20px}.momp-tutorial-link:hover{border-color:#cc2346;color:#cc2346!important}.momp-youtube-icon{display:grid;place-items:center;flex:0 0 37px;width:37px;height:37px;border-radius:9px;background:#cc2346;color:white;font-size:14px}.momp-tutorial-link strong{display:block;font:800 12px/1.3 var(--mo-body)}.momp-tutorial-link small{display:block;margin-top:3px;color:#9b9da8;font:500 10px/1.3 var(--mo-body)}.momp-tutorial-link>span:last-child{margin-left:auto;font-size:17px;color:#cc2346}
.momp-mini-guide{margin-top:18px;border-top:1px solid #e1e2e8;padding-top:19px}.momp-mini-guide>strong{display:block;color:#5b5f6b;letter-spacing:1.5px;font:800 10px var(--mo-body);margin-bottom:12px}.momp-mini-guide>div{display:flex;align-items:center;gap:11px;margin:12px 0;color:#6c7280;font:500 12px var(--mo-body)}.momp-mini-guide b{color:#cc2346;font:800 11px var(--mo-body)}
.momp-reader-column{min-height:0;display:flex;flex-direction:column;padding:29px 32px 0}.momp-reader-intro{flex:0 0 auto;margin:0 0 22px}.momp-reader-kicker{font:800 10px/1.4 var(--mo-body);color:#c1274d;letter-spacing:1.8px}.momp-reader-kicker>span{margin:0 5px;color:#e8b8c7}.momp-modal .momp-modal-title{color:#192033!important;font:800 clamp(22px,2.3vw,32px)/1.23 var(--mo-head)!important;letter-spacing:-1.2px!important;margin:10px 0 11px!important}.momp-modal-desc{font:400 13px/1.65 var(--mo-body)!important;color:#7b8392!important;margin:0!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.momp-prompt-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font:800 12px var(--mo-body);color:#40495d}.momp-prompt-head>span{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.momp-reader-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#34ae7b}.momp-word-count{color:#969dab;font:500 11px var(--mo-body)}.momp-reader-controls{display:flex;gap:5px}.momp-reader-minus,.momp-reader-plus{width:30px;min-height:29px!important;padding:0!important;background:#fff!important;color:#444b5b!important;border:1px solid #e4e6ec!important;border-radius:6px!important;font:800 12px var(--mo-body)!important;cursor:pointer!important}
.momp-prompt-box{display:flex;flex:1;min-height:120px;overflow:hidden;border:1px solid #e5e7ec;border-radius:13px;background:#f9f9fb}.momp-prompt-scroll{flex:1;min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain;padding:24px 26px;outline-offset:-3px;scrollbar-width:thin;scrollbar-color:#bbc1ca #f9f9fb}.momp-prompt-full{background:transparent!important;border:0!important;box-shadow:none!important;display:block!important;margin:0!important;padding:0!important;max-width:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:#404758!important;font:400 var(--momp-reader-size)/1.8 var(--mo-body)!important;user-select:text!important;text-align:left!important}
.momp-reader-bottom{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;color:#959ba8;font:500 11px var(--mo-body)}.momp-expand{background:none!important;border:0!important;padding:5px!important;margin:0!important;min-height:34px!important;color:#c5294d!important;cursor:pointer!important;font:800 11px var(--mo-body)!important}.momp-expand:hover{text-decoration:underline!important}.momp-expanded .momp-modal-sidebar{display:none}.momp-expanded .momp-modal-content{grid-template-columns:minmax(0,1fr)}.momp-expanded .momp-reader-intro{margin-bottom:12px}.momp-expanded .momp-modal-panel{max-width:1200px}
.momp-modal-footer{flex:0 0 auto;border-top:1px solid #e9e9ee;padding:15px 26px 14px;background:#fff}.momp-actions-primary{display:grid;grid-template-columns:1.45fr 1.04fr .75fr .75fr;gap:9px}.momp-modal .momp-actions-primary .momp-btn{min-height:45px!important;font-size:12px!important}.momp-actions-ai{display:flex;gap:9px;align-items:center;margin-top:9px}.momp-actions-ai>span{font:800 10px var(--mo-body);color:#9299a8;letter-spacing:1px;margin-right:4px;white-space:nowrap}.momp-modal .momp-actions-ai>.momp-btn{min-height:37px!important;padding:8px 15px!important}.momp-footer-navigation{margin-left:auto;display:flex;gap:7px}.momp-nav-prev,.momp-nav-next{min-width:35px;height:35px;min-height:35px!important;padding:0!important;border:1px solid #e4e4ea!important;background:white!important;color:#475165!important;border-radius:8px!important;font:800 18px var(--mo-body)!important;cursor:pointer!important}.momp-nav-prev:hover,.momp-nav-next:hover{border-color:#cc2346!important;color:#cc2346!important}.momp-feedback{font:700 12px/1.5 var(--mo-body);color:#167748;margin-top:9px}.momp-feedback:empty{display:none}.momp-feedback.is-error{color:#bd2b49}
.momp-single-entry{margin:20px auto;padding:20px;border:1px solid #e8e8ee;border-radius:14px}.momp-single-hint{font-size:14px;margin-bottom:14px}.momp-single-hint a{color:#cc2346}.momp-single-actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:1100px){.momp-hero-content{padding-left:38px}.momp-library .momp-hero h2{font-size:46px!important}.momp-grid{gap:18px}.momp-card-body{padding:18px}.momp-card-actions{grid-template-columns:1.2fr .8fr 40px;gap:6px}.momp-library .momp-card-actions .momp-btn{padding:8px 6px!important;font-size:11px!important}}
@media(max-width:900px){.momp-library{width:calc(100vw - 36px)!important}.momp-hero{grid-template-columns:1fr minmax(220px,.7fr);min-height:365px}.momp-hero-content{padding:30px 0 30px 33px}.momp-library .momp-hero h2{font-size:42px!important;letter-spacing:-1.9px!important}.momp-showcase-main{transform:rotate(-6deg) scale(.8)}.momp-showcase-float{transform:scale(.75)}.momp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.momp-modal{padding:12px}.momp-modal-panel{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.momp-modal-content{grid-template-columns:220px minmax(0,1fr)}.momp-modal-sidebar{padding:18px 15px}.momp-reader-column{padding:21px 21px 0}.momp-modal-footer{padding:12px 20px}}
@media(max-width:660px){.momp-library{width:calc(100vw - 24px)!important;padding:8px 0 45px}.momp-hero{grid-template-columns:1fr;min-height:auto;border-radius:20px;margin-bottom:35px}.momp-hero-content{padding:34px 25px 37px}.momp-brandline{margin-bottom:23px}.momp-library .momp-hero h2{font-size:37px!important;letter-spacing:-1.7px!important}.momp-library .momp-hero p{font-size:13px!important;line-height:1.7!important}.momp-hero-illustration{display:none}.momp-hero-pills{gap:5px}.momp-hero-pills span{font-size:10px;padding:7px}.momp-section-heading{margin-bottom:16px}.momp-section-heading h3{font-size:23px!important}.momp-collection-caption{display:none}.momp-controls{grid-template-columns:1fr 125px;gap:7px}.momp-search-wrap{height:48px;padding:0 11px}.momp-library .momp-search{font-size:12px!important}.momp-library .momp-sort{height:48px;font-size:11px!important;padding:7px!important}.momp-filter-row{gap:7px;margin-bottom:14px}.momp-saved-label,.momp-tutorial-only{font-size:11px;padding:8px}.momp-categories{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;margin-bottom:12px}.momp-library .momp-category-button{font-size:11px!important;white-space:nowrap;padding:9px 12px!important}.momp-grid{grid-template-columns:1fr;gap:17px}.momp-art{aspect-ratio:4/5}.momp-card-body{padding:19px}.momp-card-body h3{min-height:auto}.momp-card-excerpt{min-height:0}.momp-card-actions{grid-template-columns:1.3fr .8fr 42px;gap:8px}.momp-library .momp-card-actions .momp-btn{font-size:12px!important;min-height:45px!important}.momp-modal{padding:5px}.momp-modal-panel{height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);border-radius:14px}.momp-modal-topbar{flex-basis:52px;padding:0 12px}.momp-modal-identity strong{font-size:10px}.momp-modal-identity small{font-size:7px}.momp-modal-logo{width:29px;height:29px;font-size:13px}.momp-free-label{font-size:8px;letter-spacing:0}.momp-x{width:30px;height:30px;min-height:30px!important;font-size:22px!important}.momp-modal-content{display:block;overflow-y:auto;min-height:0}.momp-modal-sidebar{display:grid;grid-template-columns:86px 1fr;column-gap:12px;align-items:start;overflow:visible;padding:12px;border-right:0;border-bottom:1px solid #e8e8ec}.momp-modal-cover{grid-row:span 3;aspect-ratio:1/1;box-shadow:none;border-radius:8px}.momp-modal-chips{margin:0 0 5px}.momp-sidebar-heading{display:none}.momp-modal-tools{margin:0;gap:4px}.momp-tool-chip{font-size:9px;padding:4px 6px}.momp-tutorial-link{grid-column:2;margin:4px 0 0;padding:6px;min-height:30px;gap:5px}.momp-youtube-icon{height:25px;width:25px;flex-basis:25px;font-size:10px}.momp-tutorial-link strong{font-size:10px}.momp-tutorial-link small{display:none}.momp-tutorial-link>span:last-child{font-size:12px}.momp-mini-guide{display:none}.momp-reader-column{min-height:430px;padding:15px 12px 8px}.momp-reader-intro{margin-bottom:12px}.momp-reader-kicker{font-size:9px}.momp-modal .momp-modal-title{font-size:20px!important;letter-spacing:-.5px!important;margin:5px 0!important}.momp-modal-desc{font-size:11px!important;-webkit-line-clamp:2}.momp-prompt-head{font-size:11px}.momp-word-count{font-size:10px}.momp-prompt-scroll{padding:14px}.momp-prompt-full{line-height:1.7!important}.momp-reader-bottom{font-size:10px;min-height:36px}.momp-modal-footer{padding:9px 9px 8px}.momp-actions-primary{grid-template-columns:1fr 1fr;gap:6px}.momp-modal .momp-actions-primary .momp-btn{min-height:36px!important;font-size:10px!important;padding:6px!important}.momp-actions-ai{gap:5px;margin-top:5px}.momp-actions-ai>span{font-size:8px}.momp-modal .momp-actions-ai>.momp-btn{font-size:10px!important;min-height:31px!important;padding:5px 9px!important}.momp-footer-navigation{gap:4px}.momp-nav-prev,.momp-nav-next{height:29px;min-height:29px!important;min-width:29px;font-size:15px!important}.momp-feedback{font-size:10px;margin-top:5px}}
@media(max-width:390px){.momp-free-label{display:none}.momp-reader-column{min-height:375px}.momp-card-actions{gap:5px}.momp-card-body h3{font-size:17px!important}.momp-actions-ai>span{display:none}}
@media(prefers-reduced-motion:reduce){.momp-card,.momp-art img,.momp-library .momp-btn{transition:none!important}}


/* ============================================================
   MentorOnline v3.1 — COMPACT COLLECTION / REFINED READER
   Target: 250–280 px editorial cards; preserve 4:5 cover art.
   Overrides previous responsive selectors; no WP theme changes.
   ============================================================ */
.momp-library{padding-top:10px;padding-bottom:60px}
.momp-hero{min-height:340px;border-radius:22px;margin-bottom:42px}
.momp-hero-content{padding-top:31px;padding-bottom:33px}
.momp-brandline{margin-bottom:22px}
.momp-section-heading{margin-bottom:19px}
.momp-section-heading h3{font-weight:750!important}
.momp-controls{grid-template-columns:minmax(0,1fr) 185px;gap:10px;margin-bottom:13px}
.momp-search-wrap,.momp-library .momp-sort{height:52px}
.momp-filter-row{margin-bottom:16px}
.momp-categories{margin-bottom:12px}
.momp-results{margin-bottom:16px}
/* Auto-fill maintains empty tracks so a two-item collection NEVER expands its cards. */
.momp-library .momp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,280px));gap:18px;justify-content:start;align-items:stretch}
.momp-library .momp-card{width:100%;max-width:280px;border-radius:15px;box-shadow:0 5px 19px rgba(13,20,43,.055);border-color:#e7e8ed}
.momp-library .momp-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(15,22,40,.10);border-color:#d9dbe3}
.momp-library .momp-art{width:100%;aspect-ratio:4/5;overflow:hidden}
.momp-library .momp-art img{object-fit:cover!important;object-position:center center!important}
.momp-library .momp-art-top{top:11px;left:11px;padding:7px 9px;border-radius:6px;font-size:9px}
.momp-library .momp-art-video{right:9px;bottom:10px;font-size:9px;padding:7px 9px}
.momp-library .momp-card-body{padding:14px 15px 15px;gap:8px}
.momp-library .momp-category-tag{font-size:9px;letter-spacing:.45px;padding:6px 8px}
.momp-library .momp-card-wordcount{font-size:10px}
.momp-library .momp-card-body h3{font:750 15px/1.36 var(--mo-head)!important;letter-spacing:-.35px!important;margin:2px 0 0!important;min-height:41px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.momp-library .momp-card-excerpt{font:400 11.5px/1.55 var(--mo-body)!important;min-height:36px;-webkit-line-clamp:2}
.momp-library .momp-card-actions{grid-template-columns:minmax(0,1fr) 71px 33px;gap:6px;padding-top:5px}
.momp-library .momp-card-actions .momp-btn{min-height:36px!important;padding:7px 5px!important;border-radius:7px!important;font-size:10px!important;line-height:1.2!important}
.momp-library .momp-card-actions .momp-btn-heart{font-size:20px!important;padding:4px!important}
/* Modal: less decorative sidebar, more readable prompt. */
.momp-modal-panel{width:min(1080px,100%);height:min(790px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);border-radius:19px}
.momp-modal-topbar{flex-basis:57px;padding:0 22px}
.momp-modal-content{grid-template-columns:235px minmax(0,1fr)}
.momp-modal-sidebar{padding:19px 16px;background:#f9f9fb}
.momp-modal-cover{aspect-ratio:4/5;max-width:201px;margin-inline:auto;display:flex;align-items:center;justify-content:center;background:#171e2a;border-radius:11px;overflow:hidden}
.momp-modal-cover img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.momp-modal-chips{margin:12px 0 13px}
.momp-sidebar-heading{margin-bottom:9px}
.momp-modal-tools{margin-bottom:11px;gap:5px}
.momp-tool-chip{font-size:10px;padding:5px 7px}
.momp-tutorial-link{padding:10px;margin:10px 0 0;border-radius:10px}
.momp-mini-guide{display:none}
.momp-reader-column{padding:22px 24px 0}
.momp-reader-intro{margin-bottom:15px}
.momp-modal .momp-modal-title{font:750 clamp(21px,2.1vw,28px)/1.25 var(--mo-head)!important;letter-spacing:-.8px!important;margin:7px 0 8px!important}
.momp-modal-desc{font-size:12px!important;line-height:1.5!important;-webkit-line-clamp:1}
.momp-prompt-head{margin-bottom:9px}
.momp-prompt-box{background:#fbfbfd;border-color:#e8e9f0;border-radius:11px}
.momp-prompt-scroll{padding:19px 22px}
.momp-prompt-full{line-height:1.65!important;color:#343b4c!important}
.momp-reader-bottom{min-height:35px}
.momp-modal-footer{padding:12px 20px}
.momp-actions-primary{grid-template-columns:1.3fr 1fr .75fr 1fr;gap:7px}
.momp-modal .momp-actions-primary .momp-btn{min-height:40px!important;font-size:11px!important}
.momp-actions-ai{margin-top:7px}
.momp-modal .momp-actions-ai>.momp-btn{min-height:34px!important}
/* Overflow stability: tune by actual viewport width, not builder's 670 px content box. */
@media(max-width:1160px){
  .momp-library .momp-grid{grid-template-columns:repeat(auto-fill,minmax(245px,275px));gap:15px}
  .momp-library .momp-card{max-width:275px}
}
@media(max-width:900px){
  .momp-library .momp-grid{grid-template-columns:repeat(auto-fill,minmax(220px,270px));gap:14px}
  .momp-library .momp-card{max-width:270px}
  .momp-modal-content{grid-template-columns:204px minmax(0,1fr)}
  .momp-modal-cover{max-width:174px}
  .momp-reader-column{padding:18px 18px 0}
  .momp-modal-footer{padding:10px 15px}
}
@media(max-width:660px){
  .momp-library{padding-bottom:45px}
  .momp-hero{margin-bottom:27px;border-radius:17px}
  .momp-section-heading{margin-bottom:15px}
  .momp-controls{grid-template-columns:1fr 124px}
  .momp-library .momp-grid{grid-template-columns:minmax(0,1fr);gap:15px;justify-items:center}
  .momp-library .momp-card{max-width:340px;width:100%}
  .momp-library .momp-card-body{padding:15px}
  .momp-library .momp-card-body h3{min-height:auto;font-size:16px!important}
  .momp-library .momp-card-actions{grid-template-columns:minmax(0,1fr) 82px 36px}
  .momp-library .momp-card-actions .momp-btn{min-height:39px!important;font-size:11px!important}
  .momp-modal{padding:4px}
  .momp-modal-panel{height:calc(100dvh - 8px);max-height:calc(100dvh - 8px);border-radius:13px}
  .momp-modal-topbar{flex-basis:49px;padding:0 10px}
  .momp-modal-content{display:block;overflow-y:auto}
  .momp-modal-sidebar{display:grid;grid-template-columns:76px minmax(0,1fr);gap:5px 10px;padding:11px;border-bottom:1px solid #e7e9ef}
  .momp-modal-cover{aspect-ratio:4/5;width:76px;height:96px;max-width:none;grid-row:span 3;align-self:start}
  .momp-modal-chips{margin:0 0 5px}
  .momp-modal-tools{margin:0;max-width:100%}
  .momp-tutorial-link{grid-column:2;padding:5px;margin:2px 0 0}
  .momp-reader-column{min-height:440px;padding:14px 11px 6px}
  .momp-reader-intro{margin-bottom:10px}
  .momp-modal-desc{-webkit-line-clamp:1;font-size:11px!important}
  .momp-prompt-scroll{padding:14px 13px}
  .momp-prompt-full{line-height:1.65!important}
  .momp-modal-footer{padding:8px}
  .momp-actions-primary{grid-template-columns:1fr 1fr;gap:6px}
  .momp-modal .momp-actions-primary .momp-btn{min-height:36px!important;font-size:10px!important}
}
@media(max-width:390px){
  .momp-library .momp-card{max-width:min(340px,calc(100vw - 32px))}
  .momp-library .momp-card-actions{grid-template-columns:minmax(0,1fr) 78px 36px}
  .momp-reader-column{min-height:405px}
}

/* ============================================================
   MentorOnline Master Prompts v4.0 — Creator Resource Hub
   No theme overrides. All selectors scoped to library or modal.
   ============================================================ */
.momp-library{--mo-pink:#cc2346;--mo-ink:#192033;--mo-muted:#606b7b;line-height:1.45!important}
.momp-hero{min-height:316px;margin-bottom:39px;background:radial-gradient(circle at 87% 21%,rgba(239,71,115,.20),transparent 31%),linear-gradient(116deg,#10182b,#252137)!important}
.momp-hero-content{padding-top:34px;padding-bottom:33px}
.momp-library .momp-hero h2{line-height:1.12!important;font-size:clamp(37px,3.95vw,56px)!important}
.momp-hero-pills{margin-top:20px}
.momp-showcase-main{transform:rotate(-4deg) scale(.88)}
.momp-showcase-free{display:none}
.momp-section-heading{margin-bottom:18px}
.momp-library .momp-section-heading h3{font-size:clamp(24px,2.45vw,32px)!important}
.momp-controls{margin-bottom:10px}
.momp-search-wrap,.momp-library .momp-sort{height:48px!important;border-radius:10px!important}
.momp-filter-row{gap:7px;margin-bottom:10px;align-items:center}
.momp-filter-row>label{display:inline-flex;align-items:center;gap:7px;min-height:36px;border:1px solid #e9e9ef;border-radius:9px;padding:7px 11px;background:#fff;color:#535e70;font:700 11px var(--mo-body);cursor:pointer}
.momp-filter-row>label:hover{border-color:#d8bac3}
.momp-library .momp-filter-row input[type=checkbox]{width:14px;height:14px}
.momp-library .momp-surprise{margin-left:auto;min-height:36px!important;padding:7px 13px!important;border-radius:9px!important;border:1px solid #e9d0d7!important;background:#fff6f8!important;color:#bb1c43!important;font:800 11px var(--mo-body)!important;cursor:pointer!important}
.momp-library .momp-surprise:hover{background:#ffe7ee!important}
.momp-extra-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 12px}
.momp-extra-filters>label{display:inline-flex;align-items:center;gap:9px;color:#626d7f;font:700 11px var(--mo-body)}
.momp-library .momp-extra-filters select{min-height:34px;max-width:180px;margin:0!important;padding:6px 29px 6px 11px!important;background-color:#fff!important;border:1px solid #e5e6ed!important;border-radius:8px!important;color:#242d40!important;font:700 11px var(--mo-body)!important;box-shadow:none!important;cursor:pointer}
.momp-library .momp-categories{margin-bottom:9px}
.momp-library .momp-category-button{min-height:35px!important;padding:7px 12px!important;font-size:11px!important}
.momp-results{font-size:12px;margin-bottom:13px}
/* 4:5 artwork stays fully visible, while cards are 230–246 px wide. */
.momp-library .momp-grid{grid-template-columns:repeat(auto-fill,minmax(215px,246px))!important;gap:16px!important;align-items:stretch!important}
.momp-library .momp-card{max-width:246px!important;width:100%;border-radius:14px!important;box-shadow:0 5px 17px #121b2b0a!important}
.momp-library .momp-card:hover{box-shadow:0 13px 26px #121b2b1b!important;transform:translateY(-3px)}
.momp-library .momp-card .momp-art{aspect-ratio:4/5!important}
.momp-library .momp-card .momp-art img{object-fit:contain!important;object-position:center!important;background:#101927!important}
.momp-library .momp-art-top{top:9px;left:9px;font-size:8px;padding:6px 8px}
.momp-library .momp-art-video{font-size:9px;padding:6px 8px}
.momp-library .momp-card-body{padding:12px 13px 13px;gap:6px}
.momp-library .momp-card-body h3{font-size:13px!important;font-weight:800!important;min-height:36px;line-height:1.35!important;margin:3px 0 1px!important}
.momp-library .momp-card-excerpt{font-size:11px!important;line-height:1.5!important;min-height:33px!important}
.momp-library .momp-card-actions{grid-template-columns:minmax(0,1fr) 60px 31px;gap:5px;margin-top:auto;padding-top:4px}
.momp-library .momp-card-actions .momp-btn{font-size:9.5px!important;min-height:34px!important;padding:5px 5px!important;border-radius:7px!important}
.momp-library .momp-card-wordcount{font-size:9px}
.momp-library .momp-category-tag{font-size:8px;padding:5px 7px}
.momp-modal-panel{width:min(1100px,100%);height:min(806px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:17px}
.momp-modal-topbar{flex-basis:56px!important;padding:0 20px}
.momp-modal-content{grid-template-columns:225px minmax(0,1fr)}
.momp-modal-sidebar{padding:17px 15px;background:#fafbfc}
.momp-modal-cover{max-width:177px}
.momp-modal .momp-modal-title{font-weight:800!important;font-size:clamp(20px,2vw,27px)!important;margin:5px 0 7px!important}
.momp-modal-desc{font-size:12px!important;line-height:1.48!important}
.momp-reader-intro{margin-bottom:10px}
.momp-reader-column{padding:18px 22px 0}
.momp-prompt-head{margin-bottom:8px;font-size:11px}
.momp-prompt-scroll{padding:17px 19px}
.momp-prompt-full{line-height:1.72!important}
.momp-reader-bottom{min-height:31px}
.momp-modal-footer{padding:10px 18px}
.momp-modal .momp-actions-primary .momp-btn{min-height:38px!important;font-size:10px!important}
.momp-modal .momp-actions-ai>.momp-btn{min-height:31px!important;font-size:10px!important}
/* New creator controls: short, collapsible, low-visual-noise. */
.momp-customizer{flex:0 0 auto;margin:0 0 9px;border:1px solid #f2c6d1;background:#fff6f8;border-radius:10px;padding:0 12px}
.momp-customizer summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;padding:10px 0;color:#ac1e42;font:800 12px/1.3 var(--mo-body)}
.momp-customizer summary::-webkit-details-marker{display:none}
.momp-customizer summary span{font:500 10px var(--mo-body);color:#845a69}
.momp-customizer[open] summary{border-bottom:1px solid #f5dce4}
.momp-customizer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding-top:10px}
.momp-customizer-field{display:flex;flex-direction:column;gap:4px;color:#5f5260;font:700 10px var(--mo-body)}
.momp-modal .momp-customizer-field input{width:100%;min-height:35px;margin:0!important;border:1px solid #ead9df!important;border-radius:7px!important;background:#fff!important;box-shadow:none!important;padding:6px 9px!important;color:#192538!important;font:500 12px var(--mo-body)!important}
.momp-customizer-note{padding:9px 0;color:#926779;font:500 10px/1.45 var(--mo-body)}
.momp-section-bar{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:40px;padding:6px 10px;margin-bottom:8px;background:#f7f8fb;border:1px solid #e8ebf1;border-radius:9px}
.momp-section-bar label{display:flex;flex:1;align-items:center;gap:8px;min-width:0;font:700 11px var(--mo-body);color:#626d7b}
.momp-modal .momp-section-select{min-width:0;flex:1;max-width:310px;min-height:29px;margin:0!important;border-radius:6px!important;border:1px solid #dfe2e9!important;padding:4px 23px 4px 8px!important;font:600 11px var(--mo-body)!important;background:#fff!important;color:#283147!important}
.momp-modal .momp-section-bar button{min-height:29px!important;padding:5px 9px!important;border:1px solid #ded1d9!important;border-radius:6px!important;background:#fff!important;color:#bc1c44!important;font:800 10px var(--mo-body)!important;cursor:pointer!important;white-space:nowrap}
.momp-samples,.momp-related{margin-top:16px;padding-top:14px;border-top:1px solid #e5e8ef}
.momp-samples>strong,.momp-related>strong{display:block;margin-bottom:9px;color:#717c8b;letter-spacing:1.1px;font:800 9px var(--mo-body)}
.momp-samples-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.momp-sample-link{display:block;height:58px;overflow:hidden;border-radius:7px;border:1px solid #e8e8ed;background:#eef0f3}
.momp-sample-link img{width:100%;height:100%;display:block;object-fit:cover}
.momp-related-list{display:grid;gap:6px}
.momp-modal .momp-related-button{display:block;width:100%;min-height:32px!important;margin:0!important;padding:7px 9px!important;border:1px solid #ececf0!important;border-radius:6px!important;text-align:left!important;color:#3d485b!important;background:#fff!important;font:700 10px/1.35 var(--mo-body)!important;cursor:pointer!important}
.momp-modal .momp-related-button:hover{color:#cc2346!important;border-color:#edc0ce!important}
.momp-course-link{display:block;margin-top:12px;padding:9px 10px;border-radius:8px;background:#fff1f5;border:1px solid #f5d7df;color:#b41e43!important;text-decoration:none!important;font:800 10px/1.4 var(--mo-body)}
@media(max-width:900px){
 .momp-library .momp-grid{grid-template-columns:repeat(auto-fill,minmax(205px,242px))!important}
 .momp-library .momp-card{max-width:242px!important}
 .momp-modal-content{grid-template-columns:195px minmax(0,1fr)}
 .momp-reader-column{padding:16px 15px 0}
 .momp-modal-cover{max-width:163px}
}
@media(max-width:660px){
 .momp-library .momp-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;justify-items:center}
 .momp-library .momp-card{max-width:310px!important}
 .momp-library .momp-card-body h3{font-size:14px!important;min-height:auto}
 .momp-library .momp-hero h2{font-size:34px!important}
 .momp-controls{grid-template-columns:minmax(0,1fr) 116px}
 .momp-filter-row{gap:6px}
 .momp-filter-row>label{padding:6px 8px;font-size:10px;min-height:32px}
 .momp-library .momp-surprise{margin-left:0;min-height:32px!important;font-size:10px!important;padding:6px 9px!important}
 .momp-extra-filters{gap:6px;margin-bottom:9px}
 .momp-extra-filters>label{flex:1 1 120px;display:flex;flex-direction:column;gap:3px;align-items:stretch;font-size:9px}
 .momp-library .momp-extra-filters select{max-width:100%;min-height:32px;font-size:10px!important}
 .momp-modal-panel{border-radius:11px;height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}
 .momp-modal-topbar{flex-basis:49px!important}
 .momp-modal-content{display:block;overflow-y:auto}
 .momp-modal-sidebar{display:grid;grid-template-columns:72px minmax(0,1fr);gap:5px 10px;padding:10px;overflow:visible}
 .momp-modal-cover{width:72px;height:91px;max-width:none;grid-row:span 3}
 .momp-modal-chips{margin:0}
 .momp-modal-tools{margin:0}
 .momp-samples,.momp-related{grid-column:1/-1;margin-top:7px;padding-top:7px}
 .momp-sample-link{height:58px}
 .momp-course-link{grid-column:1/-1;margin:5px 0 0}
 .momp-reader-column{min-height:380px;padding:12px 10px 5px}
 .momp-reader-intro{margin-bottom:9px}
 .momp-customizer summary{font-size:11px;flex-wrap:wrap}
 .momp-customizer summary span{font-size:9px}
 .momp-customizer-fields{grid-template-columns:1fr}
 .momp-section-bar{flex-wrap:wrap;padding:6px}
 .momp-section-bar label{min-width:100%;font-size:10px}
 .momp-modal .momp-section-bar button{width:100%}
 .momp-prompt-scroll{padding:12px}
 .momp-modal-footer{padding:8px}
}
@media(max-width:390px){.momp-library .momp-card{max-width:min(310px,calc(100vw - 36px))!important}}

/* Defer secondary discovery content on phones; it remains available on tap. */
.momp-mobile-extras{display:block}
.momp-mobile-extras>summary{display:none}
@media(max-width:660px){
 .momp-mobile-extras{grid-column:1/-1;margin-top:3px}
 .momp-mobile-extras>summary{display:block;list-style:none;padding:8px 10px;border:1px solid #eadce1;border-radius:8px;background:#fff8fa;color:#b91f46;font:800 11px var(--mo-body);cursor:pointer}
 .momp-mobile-extras>summary::-webkit-details-marker{display:none}
 .momp-mobile-extras>summary:after{content:'  ▾';float:right}
 .momp-mobile-extras[open]>summary:after{content:'  ▴'}
 .momp-modal-sidebar .momp-mobile-extras .momp-samples,.momp-modal-sidebar .momp-mobile-extras .momp-related{margin-top:9px}
}

.momp-library .momp-reset-filters{min-height:32px!important;margin:0!important;padding:6px 10px!important;background:transparent!important;border:0!important;border-radius:7px!important;color:#687284!important;font:700 11px var(--mo-body)!important;cursor:pointer!important}
.momp-library .momp-reset-filters:hover{text-decoration:underline!important;color:#bd2148!important}
@media(max-width:660px){.momp-library .momp-reset-filters{font-size:10px!important;min-height:30px!important}}

/* ============================================================
   MentorOnline v4.1 — FOUR-CARD SHOWCASE & GUIDED PROMPT READER
   Clear typography and touch targets; responsive at all widths.
   ============================================================ */
.momp-library{width:min(1250px,calc(100vw - 48px))!important}
/* Four meaningful columns, not tiny tiles; empty slots never stretch cards. */
.momp-library .momp-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;justify-content:start!important;align-items:stretch!important}
.momp-library .momp-card{width:100%!important;max-width:none!important;min-width:0!important;border-radius:17px!important;box-shadow:0 7px 25px rgba(17,24,43,.075)!important}
.momp-library .momp-card .momp-art{aspect-ratio:4/5!important;background:#111c2e!important}
.momp-library .momp-card .momp-art img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
.momp-library .momp-card-body{padding:17px 16px 17px!important;gap:9px!important}
.momp-library .momp-card-body h3{font:800 15px/1.35 var(--mo-head)!important;min-height:41px!important;margin:3px 0 0!important;letter-spacing:-.32px!important}
.momp-library .momp-card-excerpt{font:400 12px/1.6 var(--mo-body)!important;min-height:40px!important}
.momp-library .momp-card-actions{grid-template-columns:minmax(0,1.2fr) minmax(0,.75fr) 39px!important;gap:7px!important;padding-top:8px!important}
.momp-library .momp-card-actions .momp-btn{font:750 11px/1.2 var(--mo-body)!important;min-height:43px!important;padding:8px 7px!important;border-radius:9px!important}
.momp-library .momp-card-actions .momp-btn-heart{font-size:22px!important}
.momp-library .momp-card-wordcount{font-size:10px!important}
.momp-library .momp-category-tag{font-size:9px!important}
/* Large, readable workspace popup with a proper bottom action area. */
.momp-modal-panel{width:min(1200px,100%)!important;height:min(870px,calc(100dvh - 30px))!important;max-height:calc(100dvh - 30px)!important;border-radius:19px!important}
.momp-modal-topbar{flex-basis:59px!important;padding:0 24px!important}
.momp-modal-content{grid-template-columns:243px minmax(0,1fr)!important}
.momp-modal-sidebar{padding:20px 18px!important;background:#f8f9fc!important}
.momp-modal-cover{max-width:186px!important}
.momp-reader-column{padding:20px 27px 0!important}
.momp-modal .momp-modal-title{font:800 clamp(22px,2vw,29px)/1.26 var(--mo-head)!important;letter-spacing:-.7px!important}
.momp-modal-desc{font:450 13px/1.6 var(--mo-body)!important;-webkit-line-clamp:2!important}
.momp-reader-kicker{font-size:10px!important;letter-spacing:1.4px!important}
.momp-reader-intro{margin-bottom:12px!important}
.momp-prompt-head{font:700 12px/1.3 var(--mo-body)!important;color:#536178!important}
.momp-prompt-scroll{padding:19px 22px!important}
.momp-prompt-full{font-size:var(--momp-reader-size)!important;line-height:1.7!important}
.momp-reader-bottom{font-size:11px!important}
.momp-mini-guide{display:block!important;margin-top:16px;border-top:1px solid #e0e5ed;padding-top:15px}
.momp-mini-guide>strong{font:800 11px/1.4 var(--mo-body);letter-spacing:.6px;color:#30394b}
.momp-mini-guide>div{display:flex;gap:9px;align-items:center;margin:11px 0;color:#637085;font:500 12px/1.4 var(--mo-body)}
.momp-mini-guide b{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#ffe9ef;color:#b82047;font:800 11px var(--mo-body)}
.momp-tutorial-link{min-height:61px!important;padding:11px!important;border-radius:11px!important}
.momp-course-link{font-size:12px!important;min-height:40px;padding:12px!important}
.momp-customizer{border-radius:12px!important;padding:0 15px!important;margin-bottom:12px!important}
.momp-customizer summary{padding:12px 0!important;font-size:13px!important}
.momp-customizer summary .momp-summary-title{font:800 13px/1.3 var(--mo-body)!important;color:#b21e42!important}
.momp-customizer summary>span:nth-child(2){color:#835a6a!important;font-size:11px!important}
.momp-customizer-fields{gap:13px!important;padding-top:13px!important}
.momp-customizer-field{font:750 12px var(--mo-body)!important;gap:7px!important}
.momp-modal .momp-customizer-field input,.momp-modal .momp-customizer-field select{min-height:43px!important;width:100%;padding:9px 12px!important;background:#fff!important;color:#20283a!important;border:1px solid #e6d9df!important;border-radius:9px!important;font:500 13px var(--mo-body)!important}
.momp-customizer-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 0 13px;color:#7f6270;font-size:11px}
.momp-modal .momp-reset-variables{border:1px solid #edd7df!important;background:#fff!important;color:#b42043!important;border-radius:8px!important;min-height:35px!important;padding:7px 12px!important;font:750 11px var(--mo-body)!important;cursor:pointer!important;white-space:nowrap}
.momp-section-bar{border-radius:11px!important;min-height:50px!important;padding:8px 12px!important}
.momp-section-bar label{font:750 12px var(--mo-body)!important;gap:12px!important}
.momp-modal .momp-section-select{font:600 12px var(--mo-body)!important;min-height:35px!important;max-width:375px!important;padding:7px 31px 7px 10px!important}
.momp-modal .momp-section-bar button{font:750 12px var(--mo-body)!important;min-height:35px!important;padding:8px 12px!important}
/* Footer groups emphasize the primary task and explain all actions. */
.momp-modal-footer{padding:14px 23px 15px!important;background:#fff!important;border-top:1px solid #e9edf2!important;box-shadow:0 -9px 25px #12182708}
.momp-footer-intro{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:11px;font:500 12px var(--mo-body);color:#778398}
.momp-footer-intro strong{font:800 14px var(--mo-body);color:#1e2639}
.momp-step-marker{border-radius:5px;background:#fce8ed;color:#b51d44;padding:5px 8px;font:800 10px var(--mo-body);letter-spacing:.6px}
.momp-actions-primary{display:grid!important;grid-template-columns:1.35fr 1.15fr 1fr .95fr!important;gap:10px!important}
.momp-modal .momp-actions-primary .momp-btn{min-height:60px!important;border-radius:11px!important;padding:10px 13px!important;font:750 13px var(--mo-body)!important;gap:9px!important;line-height:1.25!important}
.momp-actions-primary .momp-btn>span:not(.momp-action-icon){display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left}
.momp-actions-primary .momp-btn strong{font:800 12px/1.25 var(--mo-body)}
.momp-actions-primary .momp-btn small{font:500 10px/1.3 var(--mo-body);opacity:.74;letter-spacing:0}
.momp-action-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:7px;background:#f4f5f8;font:800 17px var(--mo-body);color:#cc2346}
.momp-modal .momp-btn-primary .momp-action-icon{background:#ffffff26;color:white}
.momp-actions-ai{display:flex!important;align-items:center;gap:10px!important;margin-top:12px!important}
.momp-actions-ai>span{font:800 11px/1.35 var(--mo-body)!important;color:#4c596d!important;letter-spacing:.25px!important;white-space:normal!important}
.momp-actions-ai>span small{display:block;font:500 10px/1.35 var(--mo-body);color:#8692a2;letter-spacing:0;margin-top:2px}
.momp-modal .momp-actions-ai>.momp-btn{font:750 12px var(--mo-body)!important;min-height:43px!important;padding:9px 14px!important;border-radius:9px!important;white-space:nowrap!important}
.momp-footer-navigation{margin-left:auto!important}
.momp-nav-prev,.momp-nav-next{height:42px!important;min-width:42px!important;min-height:42px!important;border-radius:9px!important}
.momp-feedback{font-size:12px!important;margin-top:9px!important}
/* Responsive scaling: 4 -> 3 -> 2 -> 1; no horizontal overflow. */
@media(max-width:1180px){
 .momp-library .momp-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
 .momp-library .momp-card{max-width:none!important}
 .momp-modal-content{grid-template-columns:205px minmax(0,1fr)!important}
 .momp-modal-sidebar{padding:16px 12px!important}
 .momp-modal-cover{max-width:167px!important}
 .momp-reader-column{padding:17px 20px 0!important}
}
@media(max-width:880px){
 .momp-library .momp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 .momp-modal-panel{height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}
 .momp-modal-content{grid-template-columns:175px minmax(0,1fr)!important}
 .momp-modal .momp-actions-primary .momp-btn{min-height:52px!important;font-size:11px!important;padding:7px!important}
 .momp-actions-primary .momp-btn small{display:none}
 .momp-actions-primary .momp-btn strong{font-size:11px}
 .momp-action-icon{flex:0 0 22px;width:22px;height:22px;font-size:14px}
 .momp-modal-footer{padding:10px 12px!important}
 .momp-footer-intro{margin-bottom:8px}
 .momp-actions-ai>span small{display:none}
}
@media(max-width:640px){
 .momp-library{width:calc(100vw - 26px)!important}
 .momp-library .momp-grid{grid-template-columns:1fr!important;gap:17px!important;justify-items:center!important}
 .momp-library .momp-card{width:min(100%,420px)!important;max-width:420px!important}
 .momp-library .momp-card-body h3{font-size:16px!important;min-height:0!important}
 .momp-library .momp-card-actions .momp-btn{min-height:45px!important;font-size:12px!important}
 .momp-modal{padding:3px!important}
 .momp-modal-panel{height:calc(100dvh - 6px)!important;max-height:calc(100dvh - 6px)!important;border-radius:13px!important}
 .momp-modal-content{display:block!important;overflow-y:auto!important}
 .momp-modal-sidebar{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:6px 10px!important;padding:10px!important}
 .momp-modal-cover{width:72px!important;height:91px!important;max-width:72px!important;grid-row:span 3!important}
 .momp-modal-chips{margin:0!important}
 .momp-tutorial-link{grid-column:2!important;min-height:41px!important;margin:2px 0!important;padding:7px!important}
 .momp-mini-guide{display:none!important}
 .momp-reader-column{min-height:300px!important;padding:11px 12px 4px!important}
 .momp-modal .momp-modal-title{font-size:20px!important}
 .momp-modal-desc{font-size:11px!important}
 .momp-customizer summary{font-size:11px!important}
 .momp-customizer summary>span:nth-child(2){font-size:9px!important}
 .momp-customizer-fields{grid-template-columns:1fr!important}
 .momp-customizer-bottom{flex-wrap:wrap}
 .momp-section-bar{flex-wrap:wrap!important}
 .momp-section-bar label{width:100%!important;flex-wrap:wrap!important}
 .momp-modal .momp-section-select{max-width:100%!important;flex:1!important}
 .momp-modal .momp-section-bar button{width:100%!important}
 .momp-prompt-scroll{padding:13px!important}
 .momp-footer-intro{gap:7px;margin-bottom:8px!important}
 .momp-footer-intro>span:last-child{display:none}
 .momp-footer-intro strong{font-size:12px!important}
 .momp-modal-footer{padding:9px 10px!important}
 .momp-actions-primary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 .momp-modal .momp-actions-primary .momp-btn{min-height:46px!important;padding:8px!important;font-size:11px!important;gap:6px!important}
 .momp-actions-primary .momp-btn strong{font-size:11px!important}
 .momp-action-icon{display:none!important}
 .momp-actions-ai{gap:6px!important;margin-top:9px!important;flex-wrap:wrap!important}
 .momp-actions-ai>span{flex-basis:100%!important;font-size:9px!important}
 .momp-actions-ai>span small{display:inline!important;font-size:9px!important}
 .momp-modal .momp-actions-ai>.momp-btn{font-size:11px!important;min-height:38px!important;padding:7px 9px!important}
 .momp-footer-navigation{margin-left:auto!important}
 .momp-nav-prev,.momp-nav-next{height:36px!important;min-height:36px!important;min-width:34px!important}
}
@media(max-width:360px){
 .momp-actions-ai>span small{display:none!important}
 .momp-footer-navigation{display:none!important}
 .momp-modal .momp-actions-primary .momp-btn{min-height:43px!important}
}
