/* MINDORA — Heritage visual system, inspired by the older emerald/navy reader UI. */
html[data-mfa-theme="night"] body.mfa-shell {
  background:radial-gradient(ellipse 85% 65% at 90% 3%,rgba(0,85,67,.2),transparent 65%),var(--mfa-bg,#071119) !important;
}
html[data-mfa-theme="day"] body.mfa-shell {
  background:var(--mfa-bg,#ebf5f1)!important;
}
body.mfa-shell{letter-spacing:-.008em;font-size:16px;line-height:1.65}
body.mfa-shell .mfa-header{
  height:67px;background:linear-gradient(100deg,#06382f,#071b20 65%,#080e18);
  border-bottom:1px solid rgba(119,230,206,.23);box-shadow:0 5px 28px #0003;
}
body.mfa-shell .mfa-brand{font-weight:700;font-size:17px;letter-spacing:.005em;color:#f6ffff}
body.mfa-shell .mfa-brand img{width:37px;height:37px;border-radius:10px}
body.mfa-shell .mfa-header .mfa-icon-btn{color:#d2f6ed}
body.mfa-shell .mfa-header .mfa-top-links{color:#b6d8d1}
body.mfa-shell .mfa-header .mfa-top-links a[aria-current="page"]{color:#77e4d0}
body.mfa-shell .mfa-main{padding-top:95px}
body.mfa-shell .mfa-hero,
body.mfa-shell .mfa-section-intro {
  color:#f6ffff;background:radial-gradient(circle at 105% -5%,rgba(28,177,141,.25),transparent 39%),linear-gradient(120deg,#101728 7%,#102330 50%,#064234 120%);
  border:1px solid #245456;border-radius:23px;
  box-shadow:0 20px 55px rgba(0,0,0,.23);
}
body.mfa-shell .mfa-hero{position:relative;min-height:270px;padding:clamp(30px,5vw,65px);overflow:hidden}
body.mfa-shell .mfa-hero::after{content:"";position:absolute;right:-52px;bottom:-88px;width:290px;height:290px;border:1px solid #3cb5a640;border-radius:50%;box-shadow:0 0 0 35px #2dbaa50c,0 0 0 85px #2dbaa508;pointer-events:none}
body.mfa-shell .mfa-hero h1{max-width:780px;font-size:clamp(39px,6vw,70px);line-height:1.06;font-weight:790;letter-spacing:-.052em;margin-bottom:22px;color:#f9ffff}
body.mfa-shell .mfa-hero .mfa-eyebrow,body.mfa-shell .mfa-section-intro .mfa-eyebrow{color:#80e4d0!important;font-weight:750!important;letter-spacing:.13em}
body.mfa-shell .mfa-hero>p:not(.mfa-eyebrow){font-size:clamp(15px,1.8vw,19px);color:#b5cbd0;line-height:1.65}
body.mfa-shell .mfa-hero-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap;position:relative;z-index:1}
body.mfa-shell .mfa-cta{background:#087c69;color:#f7ffff!important;border-radius:12px;font-size:14px;font-weight:720;padding:14px 24px;border:1px solid #20a58b}
body.mfa-shell .mfa-cta-secondary{background:#11222b;border-color:#304c50;color:#e1f8f3!important}
body.mfa-shell .mfa-hero .mfa-cta:hover{filter:brightness(1.16)}
body.mfa-shell .mfa-section-intro{min-height:205px;padding:clamp(28px,4vw,50px)}
body.mfa-shell .mfa-section-intro h1{font-size:clamp(34px,5vw,57px);font-weight:770;line-height:1.08;letter-spacing:-.047em;color:#f7ffff}
body.mfa-shell .mfa-section-intro .mfa-intro-copy{font-size:16px;line-height:1.65;color:#bdcfd0}
body.mfa-shell .mfa-section-intro::before{display:none}
body.mfa-shell .mfa-section-intro .mfa-intro-index{color:#8caca8}
body.mfa-shell .mfa-intro-accent{border-color:#54c8b73b}
body.mfa-shell .mfa-intro-accent::before,body.mfa-shell .mfa-intro-accent::after{border-color:#54c8b73b}
body.mfa-shell .mfa-heading-line h2{font-size:clamp(25px,3vw,34px);font-weight:750;letter-spacing:-.035em}
body.mfa-shell .mfa-eyebrow{color:var(--mfa-accent)!important;font-size:11px!important;letter-spacing:.13em!important}
/* The old homepage had a visible path grid; give Ideas its own path. */
body.mfa-shell .mfa-paths{margin:30px 0 42px}
body.mfa-shell .mfa-paths .mfa-heading-line{margin:0 0 18px}
body.mfa-shell .mfa-path-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.mfa-shell .mfa-path-grid a{background:linear-gradient(145deg,var(--mfa-card),var(--mfa-bg));border:1px solid var(--mfa-border);border-radius:17px;min-height:146px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;padding:20px}
body.mfa-shell .mfa-path-grid a .mfa-icon{width:26px;height:26px;color:var(--mfa-accent);margin-bottom:10px}
body.mfa-shell .mfa-path-grid strong{font-size:17px;font-weight:750}
body.mfa-shell .mfa-path-grid small{font-size:13px;color:var(--mfa-muted);line-height:1.4}
body.mfa-shell .mfa-card{border-color:var(--mfa-border);border-radius:17px;background:linear-gradient(145deg,var(--mfa-card),var(--mfa-bg))}
body.mfa-shell .mfa-quote-body{background:linear-gradient(125deg,rgba(8,106,80,.10),transparent 70%)}
body.mfa-shell .mfa-quote-body p{font-size:clamp(18px,2.1vw,24px);line-height:1.52}
body.mfa-shell .mfa-quote-body span{font-size:11px;letter-spacing:.07em}
/* Ideas: entire post visible; full-width editorial layout, no side column and no excerpt box. */
body.mfa-shell .mfa-idea-list{max-width:850px;margin-inline:auto;gap:26px}
body.mfa-shell .mfa-idea-card{display:block;min-height:0;overflow:hidden}
body.mfa-shell .mfa-idea-cover{height:auto;min-height:0;aspect-ratio:16/9;overflow:hidden;background:#08171b}
body.mfa-shell .mfa-idea-cover img{display:block;width:100%;height:100%;object-fit:cover}
body.mfa-shell .mfa-idea-detail{padding:clamp(23px,4vw,40px);display:flex;flex-direction:column;gap:17px}
body.mfa-shell .mfa-idea-title{font-size:clamp(25px,3.6vw,39px);font-weight:770;letter-spacing:-.045em;line-height:1.16;margin:0;color:var(--mfa-text)}
body.mfa-shell .mfa-idea-content{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;max-width:70ch}
body.mfa-shell .mfa-idea-content.mfa-prose,body.mfa-shell .mfa-idea-content p,body.mfa-shell .mfa-idea-content li{font-size:17px!important;line-height:1.75!important;color:var(--mfa-text)!important;letter-spacing:0!important;font-weight:400!important}
body.mfa-shell .mfa-idea-content p{margin:0 0 17px!important}
body.mfa-shell .mfa-idea-content h2{font-size:25px;font-weight:740;line-height:1.25;margin:22px 0 10px}
body.mfa-shell .mfa-idea-content h3{font-size:21px;font-weight:680;margin:19px 0 9px}
body.mfa-shell .mfa-idea-footer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;align-items:stretch;margin-top:9px;padding-top:16px;border-top:1px solid var(--mfa-border)}
body.mfa-shell .mfa-idea-footer button,body.mfa-shell .mfa-idea-footer .mfa-card-views{width:100%;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:8px 5px;font-size:13px;color:var(--mfa-muted);background:transparent;border-radius:10px;border:0;flex-wrap:wrap}
body.mfa-shell .mfa-idea-footer button:hover{background:var(--mfa-selected-bg);color:var(--mfa-text)}
body.mfa-shell .mfa-idea-footer .mfa-icon{width:18px;height:18px}
body.mfa-shell .mfa-related-box{display:block;background:linear-gradient(105deg,rgba(11,133,109,.18),rgba(36,67,81,.17));border:1px solid var(--mfa-border);border-left:3px solid var(--mfa-accent);border-radius:13px;padding:17px 20px;text-decoration:none}
body.mfa-shell .mfa-related-label{display:block;color:var(--mfa-accent);font-size:10px;letter-spacing:.10em;font-weight:720;margin-bottom:6px}
body.mfa-shell .mfa-related-title{font-size:15px;line-height:1.4;font-weight:650;display:flex;align-items:center;justify-content:space-between}
body.mfa-shell .mfa-related-title .mfa-icon{transform:rotate(-90deg)}
body.mfa-shell .mfa-read-more{display:none!important}
body.mfa-shell .mfa-filters a,body.mfa-shell .mfa-sort-tabs a,body.mfa-shell .mfa-bookmark-filters button{border-radius:12px;font-size:13px;font-weight:580}
body.mfa-shell .mfa-filters a[aria-current="true"],body.mfa-shell .mfa-sort-tabs a[aria-current="true"]{background:var(--mfa-selected-bg);color:var(--mfa-text);border-color:var(--mfa-accent)}
body.mfa-shell .mfa-library-title h2{font-size:clamp(20px,2.4vw,26px);font-weight:730}
body.mfa-shell .mfa-card-copy h3{font-size:16px;font-weight:680}
body.mfa-shell .mfa-drawer{background:var(--mfa-card);border-left-color:var(--mfa-border)}
body.mfa-shell .mfa-bottom{background:linear-gradient(110deg,#0a493f,#08191d)!important;border-top:1px solid #397a6d5c}
body.mfa-shell .mfa-bottom-inner a{color:#b7d1cd!important;font-size:11px}
body.mfa-shell .mfa-bottom-inner a[aria-current="page"]{color:#9df5e0!important;background:#0c5d52!important;border-radius:11px}
body.mfa-shell .mfa-reader-panel{border-radius:18px;border:1px solid var(--mfa-border);background:var(--mfa-card);padding:clamp(20px,4vw,33px)}
body.mfa-shell .mfa-reader-panel h2{font-size:27px;line-height:1.25;font-weight:730}
body.mfa-shell .mfa-welcome{background:rgba(4,15,19,.96)}
body.mfa-shell .mfa-welcome-inner{background:radial-gradient(circle at 100% 0%,#0c6c5966,transparent 53%),linear-gradient(155deg,#081821,#092528);color:#f9ffff;border:1px solid #1e6b5b;border-radius:23px;box-shadow:0 28px 90px #0007;padding:clamp(28px,5vw,48px)}
body.mfa-shell .mfa-welcome-intro h1{font-size:clamp(32px,5vw,49px)!important;line-height:1.11;font-weight:780;letter-spacing:-.046em}
body.mfa-shell .mfa-welcome-intro p,body.mfa-shell .mfa-welcome-inner .mfa-help{color:#c1d8d5;font-size:14px;line-height:1.6}
body.mfa-shell .mfa-gis-login{width:100%;display:flex;flex-direction:column;align-items:center;gap:8px;margin:10px 0 4px}
body.mfa-shell .mfa-gis-button{min-height:44px;width:min(100%,370px);display:flex;align-items:center;justify-content:center}
body.mfa-shell .mfa-gis-message{margin:0;font-size:12px;color:#bbd6d1;text-align:center;line-height:1.5}
body.mfa-shell .mfa-google-fallback{margin:10px 0 8px;color:#b7dad1;font-size:13px}
body.mfa-shell .mfa-google-fallback summary{cursor:pointer;text-align:center;text-decoration:underline;text-decoration-color:#449d90;text-underline-offset:4px}
body.mfa-shell .mfa-google-fallback .mfa-google-login{padding:14px 0 3px}
body.mfa-shell .mfa-outline-button{border-color:#3d8076;color:inherit;border-radius:12px;min-height:45px}
body.mfa-shell .mfa-account-logout{color:var(--mfa-text)}
@media(max-width:840px){body.mfa-shell .mfa-main{padding-top:91px}body.mfa-shell .mfa-bottom{z-index:1100}}
@media(max-width:620px){
 body.mfa-shell .mfa-main{width:calc(100% - 22px);padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 body.mfa-shell .mfa-hero{padding:32px 24px 37px;margin-bottom:26px}
 body.mfa-shell .mfa-hero h1{font-size:clamp(37px,10.4vw,53px)}
 body.mfa-shell .mfa-section-intro{padding:30px 24px;min-height:190px}
 body.mfa-shell .mfa-section-intro h1{font-size:clamp(34px,8vw,44px)}
 body.mfa-shell .mfa-section-intro .mfa-intro-copy{font-size:15px}
 body.mfa-shell .mfa-path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.mfa-shell .mfa-path-grid a{min-height:152px;padding:16px}
 body.mfa-shell .mfa-path-grid strong{font-size:16px}
 body.mfa-shell .mfa-path-grid small{font-size:12px}
 body.mfa-shell .mfa-idea-detail{padding:23px 20px;gap:15px}
 body.mfa-shell .mfa-idea-title{font-size:clamp(26px,7vw,32px)}
 body.mfa-shell .mfa-idea-content p,body.mfa-shell .mfa-idea-content li{font-size:17px!important;line-height:1.72!important}
 body.mfa-shell .mfa-idea-footer button,body.mfa-shell .mfa-idea-footer .mfa-card-views{font-size:12px}
 body.mfa-shell .mfa-idea-footer{gap:0}
 body.mfa-shell .mfa-idea-footer .mfa-control-label{display:none}
 body.mfa-shell .mfa-welcome-inner{margin:12px;padding:28px 23px}
}
