/* WFN research guides and an explicit, visitor-controlled Atlas handoff. */
#worldforexnews-prototype .hub-page{padding-block:24px 60px}
#worldforexnews-prototype .hub-hero{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:clamp(26px,4vw,48px);background:linear-gradient(120deg,#102d4e,#194f7c);color:#fff;position:relative;overflow:hidden}
#worldforexnews-prototype .hub-kicker{color:#b5d9f8;font-size:.72rem;font-weight:700;letter-spacing:.12em}
#worldforexnews-prototype .hub-hero h1{font-size:clamp(2rem,3.8vw,3.2rem);letter-spacing:-.035em;line-height:1.16;margin:20px 0;max-width:24ch}
#worldforexnews-prototype .hub-hero p{max-width:72ch;color:#d5e7f5;font-size:1.02rem;line-height:1.8;margin:0}
#worldforexnews-prototype .hub-hero-count{border-inline-start:1px solid #ffffff30;flex:0 0 145px;padding-inline-start:30px;display:grid;gap:8px}
#worldforexnews-prototype .hub-hero-count strong{font-size:4rem;font-weight:300;line-height:1;color:#add7fa}
#worldforexnews-prototype .hub-hero-count span{font-size:.82rem;line-height:1.5}
#worldforexnews-prototype .hub-index-symbol{width:220px;flex:0 0 220px;aspect-ratio:1;border:1px solid #a4d5ff45;border-radius:50%;display:grid;place-content:center;text-align:center;position:relative}
#worldforexnews-prototype .hub-index-symbol span{font-size:6rem;font-weight:200;line-height:1;color:#bddfff}
#worldforexnews-prototype .hub-index-symbol b{font-size:.65rem;letter-spacing:.3em;margin-top:16px;font-weight:500}
#worldforexnews-prototype .hub-index-symbol i{position:absolute;inset:14px;border:1px dashed #a4d5ff40;border-radius:50%;animation:hub-orbit 70s linear infinite}
@keyframes hub-orbit{to{transform:rotate(360deg)}}
#worldforexnews-prototype .hub-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
#worldforexnews-prototype .hub-theme-card{display:block;position:relative;border:1px solid var(--fx-line);background:var(--fx-surface);padding:28px;text-decoration:none;transition:border-color .2s,transform .2s}
#worldforexnews-prototype .hub-theme-card:hover{border-color:var(--fx-blue);transform:translateY(-3px)}
#worldforexnews-prototype .hub-number{font-size:.78rem;color:var(--fx-blue);letter-spacing:.1em}
#worldforexnews-prototype .hub-theme-card h2{font-size:1.55rem;line-height:1.3;margin:22px 0 12px;max-width:30ch}
#worldforexnews-prototype .hub-theme-card p{font-size:.95rem;line-height:1.8;color:var(--fx-muted);max-width:62ch;padding-inline-end:20px}
#worldforexnews-prototype .hub-card-arrow{position:absolute;inset-inline-end:24px;bottom:25px;font-size:1.5rem;color:var(--fx-blue)}
#worldforexnews-prototype .hub-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
#worldforexnews-prototype .hub-tabs a{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--fx-line);background:var(--fx-surface);padding:10px 13px;font-size:.78rem;text-decoration:none;line-height:1.45}
#worldforexnews-prototype .hub-tabs a:hover,#worldforexnews-prototype .hub-tabs a[aria-current]{border-color:var(--fx-blue);color:var(--fx-blue);background:var(--fx-blue-soft)}
#worldforexnews-prototype .hub-primer{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr);gap:40px;padding:38px 0;border-bottom:1px solid var(--fx-line)}
#worldforexnews-prototype .hub-primer h2,#worldforexnews-prototype .hub-reading>h2,#worldforexnews-prototype .hub-related>h2{font-size:clamp(1.6rem,2.3vw,2rem);line-height:1.3;letter-spacing:-.02em;margin:14px 0 20px}
#worldforexnews-prototype .hub-primer p{font-size:1rem;line-height:1.9}
#worldforexnews-prototype .hub-primer aside{padding:24px;background:var(--fx-blue-soft);align-self:start}
#worldforexnews-prototype .hub-primer aside h2{font-size:1.15rem;margin-top:0}
#worldforexnews-prototype .hub-primer ol{padding:0;margin:0;list-style:none;display:grid;gap:18px}
#worldforexnews-prototype .hub-primer li{display:flex;gap:14px;line-height:1.6;font-size:.93rem}
#worldforexnews-prototype .hub-primer li span{font-size:.75rem;color:var(--fx-blue);padding-top:3px}
#worldforexnews-prototype .hub-reading{padding-block:40px}
#worldforexnews-prototype .hub-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#worldforexnews-prototype .hub-story{border:1px solid var(--fx-line);background:var(--fx-surface);min-width:0;display:flex;flex-direction:column}
#worldforexnews-prototype .hub-story>div{padding:24px;display:flex;flex-direction:column;flex:1}
#worldforexnews-prototype .hub-story-photo{display:block;aspect-ratio:16/7;overflow:hidden;background:var(--fx-surface-soft)}
#worldforexnews-prototype .hub-story-photo img{display:block;width:100%;height:100%;object-fit:cover}
#worldforexnews-prototype .hub-story h3{font-size:1.3rem;line-height:1.45;margin:14px 0 12px}
#worldforexnews-prototype .hub-story h3 a{text-decoration:none}
#worldforexnews-prototype .hub-story h3 a:hover{color:var(--fx-blue)}
#worldforexnews-prototype .hub-story p{font-size:.93rem;line-height:1.8;color:var(--fx-muted)}
#worldforexnews-prototype .hub-read{margin-top:auto;padding-top:16px;font-size:.86rem;color:var(--fx-blue);min-height:44px;display:inline-flex;gap:14px;align-items:center}
#worldforexnews-prototype .hub-tool-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 30px}
#worldforexnews-prototype .hub-tool-links a{display:inline-flex;min-height:44px;align-items:center;color:var(--fx-blue);font-size:.9rem}
#worldforexnews-prototype .hub-related{padding-top:32px}
#worldforexnews-prototype .hub-scope{color:var(--fx-muted);font-size:.8rem;line-height:1.8;padding-top:24px;border-top:1px solid var(--fx-line);margin-top:30px}
#worldforexnews-prototype .wfn-atlas-context{display:grid;grid-template-columns:145px minmax(0,1fr);gap:30px;background:#102e51;color:#fff;padding:clamp(24px,4vw,38px);margin:34px 0}
#worldforexnews-prototype .wfn-atlas-mark{font-weight:700;font-size:1.8rem;letter-spacing:.03em;display:grid;align-content:start;gap:8px;border-inline-end:1px solid #ffffff30;padding-inline-end:24px;height:100%}
#worldforexnews-prototype .wfn-atlas-mark span{font-size:.7rem;font-weight:400;letter-spacing:.2em;color:#a6c9e7}
#worldforexnews-prototype .wfn-atlas-context h2{font-size:clamp(1.4rem,2.3vw,1.85rem);line-height:1.3;margin:0 0 12px}
#worldforexnews-prototype .wfn-atlas-context p{color:#c8dfef;font-size:.96rem;line-height:1.8;max-width:70ch}
#worldforexnews-prototype .wfn-atlas-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 18px;background:#dff0ff;color:#0a2e51;text-decoration:none;font-size:.88rem;font-weight:600;border:0;cursor:pointer;line-height:1.5}
#worldforexnews-prototype .wfn-atlas-button:hover{background:#fff}
#worldforexnews-prototype .article-topic-route{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:30px 0 0;padding:24px;background:var(--fx-surface);border:1px solid var(--fx-line)}
#worldforexnews-prototype .article-topic-route>span{flex:1 0 100%;font-size:.7rem;color:var(--fx-muted);letter-spacing:.08em;text-transform:uppercase}
#worldforexnews-prototype .article-topic-route a{min-height:44px;display:inline-flex;align-items:center;gap:12px;padding:9px 12px;background:var(--fx-blue-soft);color:var(--fx-blue);font-size:.82rem;text-decoration:none}
#worldforexnews-prototype .home-topic-centers{padding:30px;border:1px solid var(--fx-line);background:var(--fx-surface);margin:28px 0}
#worldforexnews-prototype .home-topic-centers h2{font-size:1.8rem;line-height:1.3;margin:12px 0}
#worldforexnews-prototype .home-topic-centers p{color:var(--fx-muted);line-height:1.8;max-width:84ch;font-size:.96rem}
#worldforexnews-prototype .home-topic-centers .hub-tabs{margin-bottom:0}
.wfn-brief-dialog{color-scheme:light dark;--dialog-bg:light-dark(#fff,#182330);--dialog-text:light-dark(#182a40,#e9eef4);--dialog-muted:light-dark(#5c6b7b,#bdcad7);--dialog-line:light-dark(#dce3e9,#425365);width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--dialog-line);background:var(--dialog-bg);color:var(--dialog-text);font:16px/1.7 Inter,system-ui,sans-serif;box-shadow:0 24px 90px #001b3b55;overflow:auto;}
.wfn-brief-dialog::backdrop{background:#051a34b3;backdrop-filter:blur(3px)}
.wfn-brief-dialog .brief-body{padding:clamp(22px,4vw,36px)}
.wfn-brief-dialog .brief-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;color:var(--dialog-muted);font-size:.75rem;letter-spacing:.06em}
.wfn-brief-dialog .brief-close{min-width:44px;min-height:44px;border:1px solid var(--dialog-line);background:transparent;color:var(--dialog-text);font:inherit;cursor:pointer;font-size:1.5rem}
.wfn-brief-dialog h2{font-size:1.65rem;line-height:1.3;margin:0 0 16px}
.wfn-brief-dialog p{color:var(--dialog-muted);font-size:.9rem;line-height:1.8}
.wfn-brief-dialog label{display:block;font-weight:600;font-size:.88rem;margin:20px 0 8px}
.wfn-brief-dialog textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:150px;padding:14px;font:inherit;font-size:.88rem;line-height:1.7;background:var(--dialog-bg);color:var(--dialog-text);border:1px solid var(--dialog-line)}
.wfn-brief-dialog textarea[readonly]{min-height:180px;color:var(--dialog-muted)}
.wfn-brief-dialog .brief-source a{overflow-wrap:anywhere;color:inherit}
.wfn-brief-dialog .brief-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 14px}
.wfn-brief-dialog .brief-actions button,.wfn-brief-dialog .brief-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 15px;font:inherit;font-size:.85rem;border:1px solid var(--dialog-line);background:transparent;color:var(--dialog-text);text-decoration:none;cursor:pointer}
.wfn-brief-dialog .brief-actions .brief-primary{background:#124f85;color:#fff;border-color:#124f85}
.wfn-brief-dialog .brief-status{font-weight:600;color:var(--dialog-text);min-height:1.8em}
.wfn-brief-dialog :focus-visible,#worldforexnews-prototype .hub-page a:focus-visible{outline:3px solid #e8ad45;outline-offset:3px}
#worldforexnews-prototype .request-page{padding:36px 0 60px}
#worldforexnews-prototype .request-launch{padding:32px;border:1px solid var(--fx-line);background:var(--fx-surface)}
@media(max-width:800px){#worldforexnews-prototype .hub-hero{align-items:flex-start;gap:24px}#worldforexnews-prototype .hub-index-symbol{width:140px;flex-basis:140px}#worldforexnews-prototype .hub-index-symbol span{font-size:4rem}#worldforexnews-prototype .hub-primer{grid-template-columns:1fr;gap:20px}#worldforexnews-prototype .hub-hero-count{flex-basis:100px;padding-inline-start:20px}#worldforexnews-prototype .hub-hero-count strong{font-size:3rem}}
@media(max-width:560px){#worldforexnews-prototype .hub-theme-grid,#worldforexnews-prototype .hub-story-grid{grid-template-columns:1fr}#worldforexnews-prototype .hub-index-symbol{display:none}#worldforexnews-prototype .hub-hero{flex-direction:column}#worldforexnews-prototype .hub-hero-count{border-inline-start:0;border-top:1px solid #ffffff30;padding:18px 0 0;display:flex;align-items:center;gap:16px;flex-basis:auto;width:100%}#worldforexnews-prototype .hub-hero-count strong{font-size:2rem}#worldforexnews-prototype .hub-theme-card{padding:24px}#worldforexnews-prototype .hub-theme-card h2{font-size:1.4rem}#worldforexnews-prototype .wfn-atlas-context{grid-template-columns:1fr;gap:20px}#worldforexnews-prototype .wfn-atlas-mark{border-inline-end:0;border-bottom:1px solid #ffffff30;padding:0 0 16px;display:flex;align-items:center;gap:14px;height:auto}#worldforexnews-prototype .home-topic-centers{padding:22px}.wfn-brief-dialog .brief-actions{flex-direction:column}.wfn-brief-dialog .brief-actions>*{width:100%;box-sizing:border-box}}
html[dir=rtl] #worldforexnews-prototype .hub-hero h1{letter-spacing:0;line-height:1.5}
@media(prefers-reduced-motion:reduce){#worldforexnews-prototype .hub-index-symbol i{animation:none}#worldforexnews-prototype .hub-theme-card{transition:none}}
