/* Moozonian Homepage Pro 1.0 — visual layer over the existing PHP integrations.
   No third-party fonts, JS frameworks, external image assets, or backend changes required. */
:root{
  --pro-bg:#f4f7fb;--pro-ink:#111e33;--pro-muted:#637086;--pro-line:#e4eaf2;
  --pro-card:#ffffff;--pro-soft:#f2f6fc;--pro-primary:#176bdf;--pro-indigo:#4757d7;
  --pro-shadow:0 18px 48px rgba(30,51,92,.065);--pro-hero:#f1f6ff;
}
html[data-theme="dark"]{
  --pro-bg:#0c1220;--pro-ink:#eef4ff;--pro-muted:#a4b1c6;--pro-line:#29354a;
  --pro-card:#161f30;--pro-soft:#1d2a40;--pro-primary:#7ab5ff;--pro-indigo:#a2a9ff;
  --pro-shadow:0 18px 56px rgba(0,0,0,.2);--pro-hero:#111d32;
}
html{scroll-behavior:smooth}body{background:var(--pro-bg)!important;color:var(--pro-ink)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body,button,input,textarea,select{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
a,button{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #70adff;outline-offset:3px}img{max-width:100%}
/* Identity and navigation */
.page{background:var(--pro-bg)}
.portal-head{position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:500!important;height:78px!important;min-height:78px;background:var(--pro-card)!important;color:var(--pro-ink)!important;border-bottom:1px solid var(--pro-line)!important;padding:0 clamp(18px,3.2vw,55px)!important;box-shadow:0 3px 16px rgba(20,48,86,.025);gap:24px!important}
.pro-brand{display:flex;align-items:center;gap:12px;flex:none;min-width:0;white-space:nowrap;color:var(--pro-ink);font-size:21px;font-weight:820;letter-spacing:-1px}
.pro-brand img{width:41px;height:41px;object-fit:contain;border-radius:12px;box-shadow:0 2px 9px rgba(18,52,108,.08)}
.pro-brand .pro-brand-word{display:flex;flex-direction:column;line-height:1.1}.pro-brand small{font-size:9px;letter-spacing:.18em;color:var(--pro-muted);margin-top:5px;font-weight:800}
.portal-head .nav-group:first-of-type{flex:1;justify-content:center}.portal-head .nav-group:last-of-type{flex:none}
.portal-head .nav-link{color:var(--pro-muted)!important;text-shadow:none!important;font-size:13px!important;font-weight:640!important;padding:11px 12px!important;white-space:nowrap;transition:background .15s,color .15s}
.portal-head .nav-link:hover{color:var(--pro-ink)!important;background:var(--pro-soft)!important}
.portal-head .nav-button{border:1px solid var(--pro-line)!important;background:var(--pro-soft)!important;color:var(--pro-ink)!important;backdrop-filter:none!important;border-radius:12px!important;height:39px!important;font-weight:720}
.portal-head .signup{background:#176bdf!important;color:#fff!important;border-color:#176bdf!important}
.portal-head #themeButton{height:40px!important;min-height:40px!important;width:40px!important;min-width:40px!important;flex:0 0 40px!important}
/* Modern split hero with original Moozonian logo + same native search form */
.hero{min-height:540px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important;background:linear-gradient(118deg,var(--pro-hero),#e8f3ff 55%,#e8ebff)!important;padding:55px max(22px,calc((100vw - 1350px)/2)) 70px!important;gap:clamp(25px,4vw,70px)!important;isolation:isolate;position:relative!important}
html[data-theme="dark"] .hero{background:linear-gradient(112deg,#121c30,#15233b 55%,#221f3e)!important}
.hero::before{content:"";position:absolute;z-index:-1;top:0;right:0;width:60%;height:100%;background:radial-gradient(ellipse at 62% 45%,rgba(91,146,255,.13),transparent 60%);pointer-events:none}
.hero::after{content:"";position:absolute;z-index:-1;inset:0;opacity:.33;pointer-events:none;background-image:radial-gradient(var(--pro-line) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000)}
.hero-bg{display:none!important}.hero-center{width:min(735px,100%)!important;text-align:left!important;margin:0!important;z-index:3!important;flex:1 1 0!important;min-width:0}
.hero-logo-img{width:59px!important;height:59px!important;box-shadow:0 12px 24px rgba(37,74,139,.12)!important;background:#fff!important;border-radius:17px!important;padding:6px!important}
.hero .wordmark{font-size:clamp(49px,5.3vw,70px)!important;line-height:1.02!important;letter-spacing:-.065em!important;color:var(--pro-ink)!important;text-shadow:none!important;margin:17px 0 3px!important;font-weight:830!important}
.hero .wordmark .dotcom{font-size:.24em!important;letter-spacing:-.02em!important;color:var(--pro-primary)!important;opacity:1!important}
.hero .tagline{color:var(--pro-muted)!important;font-size:17px!important;font-weight:530!important;text-shadow:none!important;line-height:1.5!important;margin:0 0 7px!important}
.hero .hero-kicker{display:inline-flex!important;align-items:center;gap:8px!important;order:-1!important;border:1px solid #d3e2ff!important;color:#215eb2!important;background:rgba(255,255,255,.68)!important;border-radius:99px!important;padding:7px 11px!important;font-size:11px!important;letter-spacing:.07em!important;font-weight:800!important;margin:18px 0 14px!important}
html[data-theme="dark"] .hero .hero-kicker{background:#223452!important;color:#b8d5ff!important;border-color:#395276!important}
.live-lamp{background:#20b67a!important;box-shadow:0 0 0 3px rgba(32,182,122,.12)!important}
.hero .search-area{width:min(760px,100%)!important;margin:20px 0 0!important;z-index:50!important}
.hero .search-form{height:65px!important;border:1px solid #d9e5f5!important;border-radius:19px!important;background:#fff!important;box-shadow:0 14px 38px rgba(22,54,107,.11)!important;transform:none!important;overflow:hidden}
.hero .search-form:focus-within{border-color:#5f9ef6!important;box-shadow:0 12px 38px rgba(22,54,107,.13),0 0 0 4px rgba(64,133,239,.11)!important}
.search-form .searchBox{color:#1e2d43!important;font-size:16px!important}.search-form .searchBox::placeholder{color:#7d8ba0!important}
.search-form .searchButton{height:47px!important;min-width:94px;background:#176bdf!important;border-radius:12px!important;margin-right:1px!important;font-size:13px!important;color:#fff!important}
.search-form .searchButton:hover{background:#1156b4!important}.search-form .searchButton::after{display:none!important}.search-form .tool-btn:hover{background:#eaf1ff!important}
.search-secondary{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px!important;color:var(--pro-muted)!important}.search-mini{border:0!important;background:transparent!important;color:var(--pro-muted)!important;padding:7px 11px!important;border-radius:8px!important;font-size:12px!important}.search-mini:hover{background:rgba(102,139,191,.11)!important;color:var(--pro-ink)!important}.keyboard-hint{font-size:11px!important;color:var(--pro-muted)!important}
.search-modes{justify-content:flex-start!important;margin-top:20px!important;gap:8px!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding:2px 0 8px!important;scrollbar-width:none}.search-modes::-webkit-scrollbar{display:none}
.search-modes .mode-pill,.search-modes .moo-research-tab{height:37px!important;min-height:37px!important;flex:0 0 auto!important;padding:0 13px!important;border-radius:11px!important;color:var(--pro-ink)!important;font-size:12px!important;font-weight:730!important;text-shadow:none!important;background:rgba(255,255,255,.8)!important;border:1px solid rgba(183,203,237,.65)!important;backdrop-filter:none!important;white-space:nowrap}
.search-modes .mode-pill:hover,.search-modes .moo-research-tab:hover{background:#fff!important;border-color:#8fb8f6!important}
.search-modes .moo-ai-link{background:#e0e5ff!important;color:#353ca6!important;border-color:#c8d0ff!important}
.search-modes .moo-create-image{background:#175dcd!important;color:white!important;border-color:#175dcd!important;min-height:37px!important;padding:0 13px!important;font-size:12px!important}
.search-modes .moo-create-image:hover{background:#1248a5!important;color:#fff!important}
.pro-hero-aside{width:min(360px,31vw);flex:0 0 min(360px,31vw);background:linear-gradient(155deg,#121e35 0%,#19325b 64%,#24396f 100%);color:#fff;border:1px solid rgba(119,162,240,.16);border-radius:26px;box-shadow:0 26px 64px rgba(34,61,116,.18);padding:25px;position:relative;overflow:hidden;z-index:2;align-self:stretch;min-height:365px;display:flex;flex-direction:column;gap:15px}
.pro-hero-aside:before{content:"";position:absolute;right:-70px;top:-74px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(69,133,255,.35),transparent 68%);pointer-events:none}
.pro-hero-aside .pro-hero-aside-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:11px;letter-spacing:.14em;font-weight:800;text-transform:uppercase;color:#a7c8ff;z-index:1}.pro-live-chip{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);padding:6px 8px;border-radius:99px;color:#fff;font-size:10px;letter-spacing:.03em}.pro-live-chip i{background:#2bd5a3;width:7px;height:7px;border-radius:50%}
.pro-hero-story{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;z-index:1}.pro-hero-story small{font-size:12px;color:#a6c5f6}.pro-hero-story h2{font-size:clamp(22px,2.1vw,29px);letter-spacing:-.05em;line-height:1.18;margin:0;color:white;font-weight:780;overflow-wrap:anywhere}.pro-hero-story p{font-size:12px;line-height:1.55;color:#c7d8f1;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pro-story-link{color:#d6e8ff;font-size:12px;font-weight:750;align-self:start;text-decoration:none;border-bottom:1px solid rgba(204,222,255,.35);padding-bottom:3px;margin-top:auto}.pro-hero-aside-bottom{border-top:1px solid rgba(206,224,255,.17);display:flex;justify-content:space-between;gap:9px;padding-top:14px;font-size:11px;color:#b6cdf0;z-index:1}.pro-hero-aside-bottom strong{font-size:15px;color:#fff;display:block}
/* Dashboard shell */
.main{width:min(1350px,calc(100% - 48px))!important;max-width:none!important;margin:36px auto 48px!important;padding:0!important;z-index:2!important}
.main .surface{display:flex;flex-direction:column;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:0!important;padding:0!important;overflow:visible!important;gap:0}
.surface>.overview{order:0;margin:0 0 22px!important;padding:0 2px!important;align-items:center!important;gap:12px!important}
.overview .eyebrow,.eyebrow{font-size:11px!important;letter-spacing:.13em!important;font-weight:830!important;color:var(--pro-primary)!important}
.overview .section-title{font-size:clamp(28px,3.4vw,39px)!important;letter-spacing:-.047em!important;line-height:1.17!important;color:var(--pro-ink)!important;margin:8px 0!important;font-weight:790!important}
.section-sub{color:var(--pro-muted)!important;line-height:1.55!important;font-size:13px!important}
.status-row{max-width:initial!important}.status-pill{height:32px!important;color:var(--pro-muted)!important;background:var(--pro-card)!important;border-color:var(--pro-line)!important;border-radius:10px!important;padding:0 12px!important}.refresh-btn{height:36px!important;border:1px solid var(--pro-line)!important;border-radius:10px!important;background:var(--pro-card)!important;color:var(--pro-ink)!important;padding:0 15px!important}.refresh-btn:hover{background:var(--pro-soft)!important}
.surface>.pro-tools-rail{order:1}.surface>.moo-ai-widget{order:2}.surface>.pro-news-spotlight{order:3}.surface>.homepage-top-row{order:4}.surface>.data-divider{order:5}.surface>.pulse-grid{order:6}.surface>.news-head{order:7}.surface>.category-row{order:8}.surface>.moo-news-toolbar{order:9}.surface>.moo-publisher-panel{order:10}.surface>.news-grid{order:11}.surface>.more-stories{order:12}.surface>.pro-api-explorer{order:13}.surface>.api-strip{order:14}
/* Tool launcher */
.pro-tools-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:23px}
.pro-tool{display:flex;align-items:center;gap:12px;min-width:0;padding:14px 12px;background:var(--pro-card);border:1px solid var(--pro-line);border-radius:15px;box-shadow:0 3px 12px rgba(22,49,88,.025);transition:transform .16s,box-shadow .16s,border-color .16s}
.pro-tool:hover{transform:translateY(-3px);box-shadow:var(--pro-shadow);border-color:#b8cee9}.pro-tool-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#edf4ff;color:#316cba;font-size:20px}.pro-tool strong{display:block;font-size:12px;color:var(--pro-ink);font-weight:780;white-space:nowrap}.pro-tool small{display:block;margin-top:4px;color:var(--pro-muted);font-size:10px;line-height:1.25}.pro-tool b{margin-left:auto;font-size:15px;color:var(--pro-muted)}html[data-theme="dark"] .pro-tool-icon{background:#273d60;color:#b9d5ff}
/* Moo-AI workspace — preserve all IDs used by the existing native Moo-AI script */
.moo-ai-widget{display:grid!important;grid-template-columns:minmax(0, .76fr) minmax(0,1.24fr)!important;gap:24px!important;align-items:center!important;border:1px solid rgba(126,145,248,.21)!important;background:linear-gradient(115deg,#121e35,#18284c 58%,#212452)!important;border-radius:23px!important;padding:clamp(22px,3vw,40px)!important;box-shadow:0 23px 58px rgba(21,40,85,.14)!important;margin:0 0 32px!important;position:relative;overflow:hidden;color:#fff!important}
.moo-ai-widget:before{content:"";position:absolute;width:300px;height:300px;right:-100px;top:-125px;background:radial-gradient(circle,rgba(99,107,255,.4),transparent 70%);pointer-events:none}
.moo-ai-widget .moo-ai-intro,.moo-ai-widget .moo-ai-controls{position:relative;z-index:1}.moo-ai-widget .moo-ai-tag{display:inline-flex!important;padding:8px 10px!important;border:1px solid rgba(203,217,255,.25)!important;background:rgba(255,255,255,.08)!important;border-radius:99px!important;color:#c7d9ff!important;font-size:11px!important;font-weight:790!important;letter-spacing:.05em}
.moo-ai-widget .moo-ai-intro h3{font-size:clamp(29px,3vw,43px)!important;line-height:1.1!important;letter-spacing:-.06em!important;color:#fff!important;font-weight:810!important;margin:14px 0!important}.moo-ai-widget .moo-ai-intro p{font-size:13px!important;color:#c2d1ec!important;line-height:1.7!important;max-width:400px!important;margin:0!important}
.moo-ai-widget .moo-ai-question{background:rgba(255,255,255,.98)!important;border:1px solid rgba(255,255,255,.4)!important;border-radius:17px!important;padding:9px!important;display:flex!important;align-items:flex-end!important;gap:8px!important;box-shadow:0 18px 40px rgba(5,15,48,.2)!important}
.moo-ai-widget #mooAiQuestion{background:transparent!important;border:0!important;color:#1d2b44!important;outline:0!important;box-shadow:none!important;min-width:0!important;min-height:65px!important;flex:1!important;font-size:14px!important;line-height:1.5!important;resize:vertical!important;padding:11px 12px!important}
.moo-ai-widget #mooAiQuestion::placeholder{color:#7e8aa0!important}
.moo-ai-widget #mooAiSubmit{background:#176bdf!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:13px 18px!important;font-size:12px!important;font-weight:760!important;white-space:nowrap!important;min-height:46px!important}
.moo-ai-presets{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:12px!important}.moo-ai-presets button{border:1px solid rgba(227,236,255,.26)!important;background:rgba(255,255,255,.1)!important;color:#e3eaff!important;font-size:11px!important;border-radius:9px!important;padding:8px 10px!important}.moo-ai-presets button:hover{background:rgba(255,255,255,.17)!important}
.moo-ai-widget .moo-ai-response{grid-column:1/-1!important;background:var(--pro-card)!important;color:var(--pro-ink)!important;border:1px solid var(--pro-line)!important;border-radius:17px!important;padding:18px!important;min-width:0;overflow:hidden}.moo-ai-widget .moo-ai-response[hidden]{display:none!important}.moo-ai-widget .moo-ai-response-head{display:flex!important;gap:10px!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important}.moo-ai-widget .moo-ai-response-head strong{color:var(--pro-ink)!important}.moo-ai-widget #mooAiAnswerStatus{color:var(--pro-muted)!important}.moo-ai-widget #mooAiAnswerText,.moo-ai-widget #mooAiAnswerScroll{color:var(--pro-ink)!important;max-width:100%!important;overflow-wrap:anywhere}.moo-ai-widget .moo-ai-native-toolbar{background:var(--pro-soft)!important;color:var(--pro-ink)!important;border:1px solid var(--pro-line)!important;border-radius:10px!important;padding:8px!important}.moo-ai-widget #mooAiStop,.moo-ai-widget #mooAiCopy,.moo-ai-widget #mooAiHide{border-radius:9px!important}
/* Editorial spotlight populated from the same real, deduplicated live news payload */
.pro-news-spotlight{background:var(--pro-card);border:1px solid var(--pro-line);border-radius:22px;padding:23px;margin-bottom:21px;box-shadow:var(--pro-shadow)}
.pro-section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:17px}.pro-section-top h2{margin:5px 0 0;font-size:25px;font-weight:800;line-height:1.12;letter-spacing:-.045em}.pro-section-top p{margin:5px 0 0;color:var(--pro-muted);font-size:12px;line-height:1.55}.pro-section-top>a{color:var(--pro-primary);font-size:12px;font-weight:750;white-space:nowrap}
.pro-headline-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px}.pro-headline-lead{position:relative;border-radius:17px;min-height:320px;overflow:hidden;background:linear-gradient(135deg,#172c50,#384f86);color:white;display:flex;align-items:flex-end;border:1px solid rgba(71,109,180,.18)}.pro-headline-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.66;transition:transform .28s}.pro-headline-lead:hover .pro-headline-image{transform:scale(1.03)}.pro-headline-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,24,42,.06),rgba(13,24,42,.46) 48%,rgba(10,22,42,.96))}.pro-headline-content{position:relative;z-index:1;padding:25px;width:100%}.pro-headline-content .pro-story-source{font-size:11px;color:#b9ddff;font-weight:780;letter-spacing:.07em;text-transform:uppercase}.pro-headline-content h3{font-size:clamp(21px,2.4vw,31px);letter-spacing:-.045em;line-height:1.23;margin:10px 0!important;color:white!important;font-weight:790}.pro-headline-content p{font-size:12px;line-height:1.5;color:#dee9f9;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pro-headline-side{display:grid;grid-template-rows:1fr 1fr;gap:13px;min-width:0}.pro-side-story{border:1px solid var(--pro-line);border-radius:16px;padding:20px;display:flex;flex-direction:column;min-width:0;background:var(--pro-soft)}.pro-side-story .pro-story-source{color:var(--pro-primary);font-size:10px;letter-spacing:.06em;text-transform:uppercase;font-weight:820}.pro-side-story h3{font-size:17px;line-height:1.35;margin:9px 0!important;letter-spacing:-.02em;font-weight:760;color:var(--pro-ink)!important}.pro-side-story p{color:var(--pro-muted);font-size:11px;line-height:1.45;margin:0}.pro-side-story:hover{border-color:#a9cbf5;background:var(--pro-card)}
/* Weather and personalized utility cards */
.homepage-top-row{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:16px!important;margin:0 0 30px!important}
.homepage-top-row>.weather-feature,.homepage-top-row>.discovery-feature{background:var(--pro-card)!important;border:1px solid var(--pro-line)!important;border-radius:22px!important;box-shadow:var(--pro-shadow)!important;padding:24px!important;min-width:0;color:var(--pro-ink)!important}
.weather-feature .weather-heading{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;justify-content:space-between}.weather-feature .weather-place{color:var(--pro-ink)!important;font-size:23px!important;letter-spacing:-.04em!important;margin:5px 0!important}.weather-feature .weather-note,.weather-feature .weather-condition,.weather-feature .weather-attribution{color:var(--pro-muted)!important}.weather-feature .weather-small-btn{border:1px solid var(--pro-line)!important;border-radius:10px!important;background:var(--pro-soft)!important;color:var(--pro-ink)!important}.weather-feature .city-search-row input{background:var(--pro-soft)!important;border:1px solid var(--pro-line)!important;color:var(--pro-ink)!important;border-radius:10px!important}.weather-feature .city-search-row button{border-radius:10px!important}
.discovery-feature h3{color:var(--pro-ink)!important;font-size:24px!important;letter-spacing:-.045em!important;margin:8px 0!important}.discovery-feature p{color:var(--pro-muted)!important;font-size:12px!important;line-height:1.6!important}.discovery-action{border:1px solid var(--pro-line)!important;background:var(--pro-soft)!important;color:var(--pro-ink)!important;border-radius:12px!important}.discovery-action:hover{background:var(--pro-card)!important;border-color:#a6c8ee!important}.saved-searches-heading{color:var(--pro-ink)!important}
/* Structured data cards */
.data-divider{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:2px 2px 15px!important;padding:0!important;border:0!important}.data-divider h3{font-size:26px!important;letter-spacing:-.045em!important;margin:5px 0!important;color:var(--pro-ink)!important}.data-divider>span{font-size:11px!important;color:var(--pro-muted)!important}
.pulse-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-bottom:35px!important}
.pulse-card{background:var(--pro-card)!important;color:var(--pro-ink)!important;border:1px solid var(--pro-line)!important;border-radius:16px!important;padding:17px!important;min-height:127px!important;box-shadow:0 3px 12px rgba(34,64,110,.026)!important}.pulse-card:hover{box-shadow:var(--pro-shadow)!important;border-color:#bad2f2!important}.pulse-icon{font-size:20px!important;color:var(--pro-primary)!important}.pulse-label{font-size:10px!important;letter-spacing:.07em!important;color:var(--pro-muted)!important;margin:8px 0 6px!important}.pulse-value{color:var(--pro-ink)!important;font-size:21px!important;letter-spacing:-.035em!important}.pulse-detail{color:var(--pro-muted)!important;line-height:1.45!important;white-space:normal!important;font-size:10px!important;margin-top:7px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Full editorial news grid, filtered by original moo-home-v4.js */
.news-head{padding:0!important;border:0!important;margin:0 2px 12px!important}.news-head strong{font-size:27px!important;letter-spacing:-.05em!important;color:var(--pro-ink)!important}.news-head span{font-size:12px!important;color:var(--pro-muted)!important;margin-top:6px!important;display:block!important}
.category-row{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:0 0 12px!important}.category-btn{border:1px solid var(--pro-line)!important;background:var(--pro-card)!important;color:var(--pro-muted)!important;border-radius:10px!important;padding:9px 15px!important;font-size:12px!important;font-weight:740!important}.category-btn.selected,.category-btn[aria-pressed="true"]{background:#e7efff!important;color:#1557b5!important;border-color:#abcaff!important}html[data-theme="dark"] .category-btn.selected,html[data-theme="dark"] .category-btn[aria-pressed="true"]{background:#263d65!important;color:#c5dcff!important;border-color:#466397!important}
.moo-news-toolbar{background:var(--pro-card)!important;border:1px solid var(--pro-line)!important;border-radius:12px!important;padding:11px 14px!important;margin-bottom:14px!important;color:var(--pro-muted)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}.moo-news-toolbar button,.moo-publisher-title button{border:1px solid var(--pro-line)!important;background:var(--pro-soft)!important;color:var(--pro-ink)!important;border-radius:9px!important;padding:8px 11px!important;font-size:11px!important}.moo-publisher-panel{background:var(--pro-card)!important;border:1px solid var(--pro-line)!important;color:var(--pro-ink)!important;border-radius:16px!important;padding:16px!important;margin-bottom:15px!important}.moo-publisher-panel[hidden]{display:none!important}.moo-publisher-filter{background:var(--pro-soft)!important;border:1px solid var(--pro-line)!important;border-radius:10px!important;color:var(--pro-ink)!important}
.news-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important;margin-bottom:16px!important}.news-card{min-height:265px!important;background:var(--pro-card)!important;color:var(--pro-ink)!important;border:1px solid var(--pro-line)!important;border-radius:16px!important;box-shadow:0 3px 11px rgba(23,51,93,.025)!important;transition:transform .17s,box-shadow .17s,border-color .17s!important}.news-card:hover{transform:translateY(-3px)!important;box-shadow:var(--pro-shadow)!important;border-color:#b4cef1!important}.news-image{height:144px!important;background:#eaf1fc!important}.news-image img{width:100%!important;height:100%!important;object-fit:cover!important}.news-image img.fallback-thumb{object-fit:contain!important;padding:35px!important}.news-body{padding:14px!important}.news-source{color:var(--pro-primary)!important;font-size:10px!important;letter-spacing:.075em!important}.news-title{font-size:14px!important;line-height:1.41!important;letter-spacing:-.015em!important;font-weight:750!important;color:var(--pro-ink)!important}.news-summary{font-size:11px!important;line-height:1.55!important;color:var(--pro-muted)!important}.news-time{font-size:10px!important;color:var(--pro-muted)!important}
.more-stories{align-self:center!important;border:1px solid var(--pro-line)!important;background:var(--pro-card)!important;color:var(--pro-primary)!important;border-radius:11px!important;padding:12px 24px!important;font-size:12px!important;font-weight:770!important;margin:0 auto 30px!important}
.more-stories:hover{background:var(--pro-soft)!important}
/* Honest feed browser: only show successful responders reported by the existing endpoint */
.pro-api-explorer{border:1px solid var(--pro-line);background:var(--pro-card);border-radius:22px;padding:24px;box-shadow:var(--pro-shadow);margin-bottom:16px}
.pro-api-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.pro-api-head h2{font-size:24px;line-height:1.2;letter-spacing:-.045em;margin:7px 0;color:var(--pro-ink)}.pro-api-head p{color:var(--pro-muted);font-size:12px;line-height:1.55;margin:0}.pro-api-status{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:760;color:var(--pro-muted);background:var(--pro-soft);border:1px solid var(--pro-line);padding:9px 11px;border-radius:99px;white-space:nowrap}.pro-api-status i{display:block;width:8px;height:8px;border-radius:50%;background:#1abc83}.pro-api-toolbar{margin:18px 0 13px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.pro-api-toolbar input{height:40px;border:1px solid var(--pro-line);background:var(--pro-soft);color:var(--pro-ink);border-radius:10px;padding:0 13px;flex:1 1 220px;min-width:0;font-size:13px}.pro-api-toolbar a{border:1px solid var(--pro-line);background:var(--pro-soft);border-radius:10px;padding:10px 13px;color:var(--pro-primary);font-weight:750;font-size:12px;white-space:nowrap}.pro-api-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-height:235px;overflow:auto;padding:2px}.pro-api-item{padding:11px 12px;min-width:0;border-radius:11px;background:var(--pro-soft);border:1px solid var(--pro-line);display:flex;gap:8px;align-items:center;font-size:11px;font-weight:690;color:var(--pro-ink)}.pro-api-item>i{display:block;flex:none;width:7px;height:7px;border-radius:50%;background:#1fbc83}.pro-api-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro-api-footnote{margin-top:11px;color:var(--pro-muted);font-size:11px;line-height:1.5}.api-strip{display:flex!important;gap:7px!important;padding:0 3px!important;margin-bottom:3px}.api-chip{background:var(--pro-card)!important;border-color:var(--pro-line)!important;color:var(--pro-muted)!important;border-radius:8px!important;font-size:10px!important}
/* Footer + browser promotion stay intact */
.moo-nova{max-width:1350px!important;margin:8px auto 34px!important;border-radius:23px!important}.footer{background:var(--pro-card)!important;border-color:var(--pro-line)!important}.copyright,.footer-link{color:var(--pro-muted)!important}.footer-link:hover{color:var(--pro-ink)!important;background:var(--pro-soft)!important}
/* Responsive: layout is deliberately fluid from desktop down to 320 px */
@media(max-width:1270px){.portal-head{gap:12px!important}.portal-head .nav-group:first-of-type{gap:0}.portal-head .nav-link{padding:10px 8px!important}.pro-brand{font-size:19px}.pro-tools-rail{grid-template-columns:repeat(3,minmax(0,1fr))}.pulse-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1050px){.hero{min-height:510px!important;padding:48px 28px 55px!important;gap:24px!important}.pro-hero-aside{flex:0 0 32%;width:32%;padding:21px;min-height:350px}.pro-hero-story h2{font-size:21px}.portal-head .nav-group:first-of-type .nav-link:nth-child(n+4){display:none}.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.pro-api-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.homepage-top-row{grid-template-columns:1fr 1fr!important}}
@media(max-width:800px){.portal-head{height:auto!important;min-height:70px!important;padding:13px 18px!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:9px!important}.portal-head .nav-group:first-of-type{order:3!important;flex:0 0 100%!important;overflow:auto!important;justify-content:flex-start!important;padding-bottom:2px}.portal-head .nav-group:last-of-type{order:2!important;margin-left:auto!important}.portal-head .nav-group:first-of-type .nav-link:nth-child(n){display:inline-flex!important}.portal-head .nav-group:first-of-type .nav-link{padding:8px 11px!important}.pro-brand{order:1}.hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:47px 24px 42px!important;min-height:initial!important}.hero-center{width:100%!important;flex:auto!important}.pro-hero-aside{width:100%;flex:none;min-height:220px;max-width:none;padding:24px;gap:12px}.pro-hero-story h2{font-size:24px}.pro-hero-story p{-webkit-line-clamp:2}.pro-hero-aside-bottom{padding-top:10px}.main{margin-top:28px!important;width:calc(100% - 36px)!important}.moo-ai-widget{grid-template-columns:1fr!important;gap:19px!important}.moo-ai-widget .moo-ai-intro p{max-width:none!important}.homepage-top-row{grid-template-columns:1fr!important}.pro-headline-layout{grid-template-columns:1fr}.pro-headline-side{grid-template-columns:1fr 1fr;grid-template-rows:none}.pro-headline-lead{min-height:300px}.pulse-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pro-api-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.portal-head{padding:12px 14px!important}.portal-head .nav-group:last-of-type .hide-phone{display:none!important}.portal-head .nav-group:last-of-type .nav-link{font-size:11px!important;padding:8px!important}.portal-head .signup{padding:0 11px!important;font-size:11px!important}.portal-head .nav-group:last-of-type{gap:3px!important}.pro-brand{font-size:18px}.pro-brand img{width:36px;height:36px}.pro-brand small{font-size:8px}.hero{padding:30px 16px 34px!important}.hero .hero-kicker{margin-top:14px!important}.hero .wordmark{font-size:clamp(43px,10vw,54px)!important}.hero .tagline{font-size:14px!important}.hero-logo-img{width:52px!important;height:52px!important}.hero .search-area{margin-top:16px!important}.hero .search-form{height:56px!important;border-radius:15px!important}.hero .search-form .searchButton{font-size:0!important;width:46px!important;min-width:46px!important;height:42px!important;margin-right:1px!important;padding:0!important}.hero .search-form .searchButton::after{content:'→'!important;display:inline!important;font-size:20px!important;color:white!important}.search-form .search-icon{margin-left:14px!important;width:19px!important;height:19px!important}.search-form .searchBox{font-size:15px!important;padding:0 8px!important}.search-secondary{gap:3px}.keyboard-hint{display:none!important}.hero .search-modes{margin:16px -2px 0!important}.search-modes .mode-pill,.search-modes .moo-research-tab{height:34px!important;min-height:34px!important;padding:0 11px!important;font-size:11px!important}.pro-hero-aside{min-height:230px;border-radius:18px;padding:19px}.main{width:calc(100% - 26px)!important;margin-top:22px!important}.surface>.overview{display:flex!important;flex-direction:column!important;align-items:flex-start!important}.surface>.overview .status-row{width:100%!important;justify-content:flex-start!important;gap:6px!important}.overview .section-title{font-size:27px!important}.pro-tools-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pro-tool{padding:11px 8px;gap:8px}.pro-tool-icon{width:34px;height:34px;font-size:17px}.pro-tool strong{font-size:11px}.pro-tool small{font-size:9px}.pro-tool b{display:none}.moo-ai-widget{padding:21px 17px!important;border-radius:17px!important;margin-bottom:23px!important}.moo-ai-widget .moo-ai-intro h3{font-size:29px!important}.moo-ai-widget .moo-ai-question{display:block!important}.moo-ai-widget #mooAiQuestion{display:block!important;width:100%!important;min-height:76px!important}.moo-ai-widget #mooAiSubmit{width:100%!important;margin-top:4px!important}.pro-news-spotlight{padding:15px;border-radius:17px}.pro-section-top{align-items:flex-start}.pro-section-top h2{font-size:22px}.pro-headline-lead{min-height:270px}.pro-headline-content{padding:17px}.pro-headline-content h3{font-size:22px}.pro-headline-side{grid-template-columns:1fr}.pro-side-story{padding:15px;min-height:105px}.homepage-top-row>.weather-feature,.homepage-top-row>.discovery-feature{padding:17px!important;border-radius:17px!important}.data-divider h3,.news-head strong{font-size:23px!important}.data-divider>span{display:none}.pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:25px!important}.pulse-card{min-height:115px!important;padding:13px!important}.pulse-value{font-size:19px!important}.news-grid{grid-template-columns:1fr!important;gap:10px!important}.news-card{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;min-height:126px!important;border-radius:13px!important}.news-image{height:100%!important;min-height:126px!important}.news-body{padding:11px!important}.news-title{font-size:12px!important}.news-summary{font-size:10px!important;-webkit-line-clamp:2}.pro-api-explorer{padding:18px;border-radius:16px}.pro-api-head{flex-wrap:wrap;gap:8px}.pro-api-head h2{font-size:21px}.pro-api-grid{grid-template-columns:1fr 1fr;gap:7px}.pro-api-item{padding:9px 8px;font-size:10px}.moo-nova{margin:12px 13px 25px!important}.footer-inner{flex-direction:column}.footer-links{justify-content:center}}
@media(max-width:375px){.portal-head .signup{display:none!important}.pro-brand{font-size:16px}.hero .wordmark{font-size:39px!important}.hero .tagline{font-size:13px!important}.pro-tools-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.pro-tool small{display:none}.pulse-grid{grid-template-columns:1fr 1fr!important}.pulse-card{padding:11px!important}.news-card{grid-template-columns:98px minmax(0,1fr)!important}.news-image{min-height:120px!important}.pro-api-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.pro-tool,.pro-headline-image,.news-card,.pulse-card{transition:none!important}}


/* MOO_SEARCH_NAV_FINAL_FIX_V5 */

/* Center the search interface */
html body .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: min(740px, 90svh) !important;
    overflow: visible !important;
}

html body .hero .hero-center {
    width: min(940px, 100%) !important;
    max-width: 940px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    flex: 0 1 auto !important;
    text-align: center !important;
}

html body .hero .hero-logo-img {
    display: block !important;
    margin: 0 auto 14px !important;
}

html body .hero .search-area {
    width: min(800px, 100%) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html body .hero .search-secondary {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* The actual Pro navigation fix */
html body .hero .hero-center .search-modes {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;

    margin: 20px auto 0 !important;
    padding: 6px 4px 14px !important;
    gap: 9px !important;

    overflow: visible !important;
    white-space: normal !important;
}

/* Make all category buttons visible */
html body .hero .hero-center .search-modes > a,
html body .hero .hero-center .search-modes > button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 8px 13px !important;

    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    transform: none !important;
    box-sizing: border-box !important;
}

/* Preserve Research button appearance */
html body .hero .search-modes .moo-research-tab {
    border-radius: 11px !important;
    background: #ffffff !important;
    color: #1554b5 !important;
    border: 1px solid #bfd1ee !important;
    font-weight: 750 !important;
}

/* Hide the secondary hero panel, not news below */
html body .hero .pro-hero-aside {
    display: none !important;
}

/* Tablets */
@media (max-width: 1024px) {
    html body .hero {
        min-height: 580px !important;
        padding: 80px 22px 65px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    html body .hero {
        min-height: 0 !important;
        padding: 55px 15px 48px !important;
    }

    html body .hero .hero-center {
        width: 100% !important;
    }

    html body .hero .search-area {
        width: 100% !important;
    }

    html body .hero .hero-center .search-modes {
        flex-wrap: wrap !important;
        justify-content: center !important;
        margin: 17px auto 0 !important;
        gap: 7px !important;
    }

    html body .hero .hero-center .search-modes > a,
    html body .hero .hero-center .search-modes > button {
        min-height: 35px !important;
        padding: 7px 10px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 390px) {
    html body .hero .hero-center .search-modes {
        gap: 6px !important;
    }

    html body .hero .hero-center .search-modes > a,
    html body .hero .hero-center .search-modes > button {
        padding: 7px 8px !important;
        font-size: 10px !important;
    }
}

