/* Hide the legacy writing form even if the lesson script cannot load. */
#hqMindsetView:not([data-lesson-library="ready"]) .hq-native-block{display:none!important}
/* Zero's Edge HQ: psychology lesson library and refined market/video workspaces. */
#hqMindsetView .native-wrap{max-width:1160px}
.ze-psych-hero{padding:clamp(22px,3.3vw,42px);background:radial-gradient(ellipse at 95% 8%,rgba(179,140,66,.18),transparent 53%),linear-gradient(135deg,#182a34,#0b151d);border:1px solid #6c644e;border-radius:16px;box-shadow:0 20px 55px #0005}
.ze-psych-hero h2{font-size:clamp(29px,3.3vw,46px);max-width:790px}
.ze-psych-hero .native-lead{max-width:825px}
.ze-psych-hero .native-actions{align-items:center;margin-top:22px}
.ze-psych-hero .native-secondary{border-radius:8px}
.ze-psych-count{font-size:12px;color:#abcccb}
.ze-psych-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:30px 0 15px}
.ze-psych-section-head h3{margin:0;color:#f1e6d3;font-size:21px}
.ze-psych-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 19px}
.ze-psych-filters button{padding:9px 14px;border:1px solid #526468;border-radius:100px;background:#13232c;color:#c2d5d4;font-size:12px;font-weight:750;cursor:pointer;transition:border-color .2s,background .2s}
.ze-psych-filters button[aria-pressed="true"],.ze-psych-filters button:hover{color:#f3ddb5;background:#3a3023;border-color:#dbb87b}
.ze-psych-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ze-psych-card{display:flex;flex-direction:column;text-align:left;gap:11px;min-height:210px;padding:clamp(19px,2.3vw,27px);border:1px solid #3e5c63;border-radius:13px;background:radial-gradient(ellipse at 100% 0%,#2845433b,transparent 56%),linear-gradient(135deg,#192c35,#0b1720);color:#d4e3e3;cursor:pointer;transition:border-color .2s,transform .2s,box-shadow .2s}
.ze-psych-card:hover,.ze-psych-card:focus-visible{transform:translateY(-3px);border-color:#e0bb82;box-shadow:0 18px 38px #0006,0 0 27px #cda75b15;outline-offset:3px}
.ze-psych-card small{font-size:10px;letter-spacing:1px;color:#e3c18b;text-transform:uppercase}
.ze-psych-card strong{color:#f4ecde;font-size:clamp(18px,1.7vw,24px);line-height:1.25}
.ze-psych-card span{color:#b3c9ca;font-size:13px;line-height:1.7}
.ze-psych-card em{margin-top:auto;font-size:11px;font-weight:800;color:#d8ba8b;font-style:normal}
.ze-psych-empty{padding:26px;border:1px dashed #54696e;background:#12232d;border-radius:12px;color:#adc5c5}
.ze-psych-reader{max-width:850px;margin:0 auto}
.ze-psych-back{background:#172a34;color:#e8cf9f;border:1px solid #607075;border-radius:8px;padding:11px 17px;font-size:12px;cursor:pointer;margin-bottom:22px}
.ze-psych-back:hover{border-color:#e8bf7c}
.ze-psych-article{background:linear-gradient(145deg,#172933,#0c1820);border:1px solid #526468;border-radius:17px;padding:clamp(23px,4vw,48px);overflow-wrap:anywhere;box-shadow:0 24px 70px #0006}
.ze-psych-category{color:#e2bd83;font-size:11px;font-weight:850;letter-spacing:1.1px;text-transform:uppercase}
.ze-psych-article h2{font-size:clamp(28px,3.1vw,42px);line-height:1.2;margin:14px 0 14px}
.ze-psych-summary{font-size:16px;line-height:1.75;color:#b9cfcf;margin-bottom:24px}
.ze-psych-prose{font-size:clamp(14px,1.2vw,16px);line-height:1.9;color:#d4e1df}
.ze-psych-prose p{margin:0 0 19px}
.ze-psych-prose h2,.ze-psych-prose h3,.ze-psych-prose h4,.ze-psych-prose h5{font-size:clamp(20px,1.9vw,26px);line-height:1.35;color:#f0dcb8;margin:29px 0 11px}
.ze-psych-prose ul,.ze-psych-prose ol{padding-left:27px;margin:0 0 24px}
.ze-psych-prose li{margin:6px 0;padding-left:4px}
.ze-psych-prose li::marker{color:#e0bb7e}
.ze-psych-prose blockquote{border-left:3px solid #e2bd82;padding:17px 22px;margin:28px 0;background:#1d333b;border-radius:0 10px 10px 0;color:#e1dccc}
.ze-psych-prose blockquote p{margin:0}
.ze-psych-prose a{color:#a5e6e6;text-underline-offset:3px}
.ze-psych-prose code{font:13px ui-monospace,Consolas,monospace;color:#f1d19d;background:#1d343c;padding:2px 5px;border-radius:4px}
.ze-psych-prose pre{white-space:pre-wrap;overflow:auto;background:#07121a;border:1px solid #415a62;padding:18px;border-radius:9px;margin:20px 0}
.ze-psych-prose pre code{background:none;padding:0}
.ze-psych-prose hr{border:0;height:1px;background:linear-gradient(90deg,transparent,#b99a65,transparent);margin:31px 0}
.ze-psych-image{margin:28px 0;border-radius:12px;border:1px solid #4a6269;overflow:hidden;background:#08151c}
.ze-psych-image img{width:100%;height:auto;max-height:520px;object-fit:contain;display:block}
.ze-psych-video{margin-top:30px}
.ze-psych-video h3{font-size:19px;color:#f0d5a9}
.ze-psych-video-stage{aspect-ratio:16/9;background:#07141c;border:1px solid #52666b;border-radius:12px;overflow:hidden;display:grid;place-items:center}
.ze-psych-video-stage button{width:100%;height:100%;cursor:pointer;border:0;background:#10232b center/cover no-repeat;color:#fff;display:grid;place-items:center}
.ze-psych-video-stage button span{padding:14px 23px;background:#111c25e6;border:1px solid #e5bb84;border-radius:10px;font-size:14px;font-weight:900;color:#f0d8ad}
.ze-psych-video-stage iframe{width:100%;height:100%;border:0}
.ze-psych-video>a{display:inline-block;color:#e2c495;font-size:12px;margin-top:12px}
/* Market Intelligence - clearer visual hierarchy without changing the calendar feed. */
#hqMarketView .native-wrap{max-width:1240px}
#hqMarketView .native-wrap>.native-eyebrow{display:inline-block;border:1px solid #4d746d;border-radius:30px;background:#17302e;padding:8px 12px;margin-bottom:8px}
#hqMarketView .native-wrap>h2{font-size:clamp(31px,3.3vw,46px)}
#hqMarketView .native-wrap>.native-lead{font-size:15px;max-width:990px}
#hqMarketView .hq-market-clock{background:linear-gradient(115deg,#172e33,#101e27);border:1px solid #64807d;border-radius:12px;margin:24px 0 29px;padding:19px 24px;box-shadow:inset 0 1px #d7fff010}
#hqMarketView .hq-market-clock strong{color:#e8cca0;font-size:29px}
#hqMarketView .hq-market-clock span{font-size:12px;line-height:1.6;max-width:730px}
#hqMarketView .hq-live-calendar-heading{padding-bottom:17px;border-bottom:1px solid #425d64}
#hqMarketView .hq-live-calendar-heading h3{font-size:23px;margin-top:4px}
#hqMarketView .hq-econ-status{margin:15px 0;color:#abd0c4}
#hqMarketView .hq-econ-expanded{border-color:#50686b;border-radius:12px;padding:7px;background:#101e27;box-shadow:0 16px 30px #0004}
#hqMarketView .hq-econ-expanded .hq-econ-list{max-height:480px}
#hqMarketView .hq-econ-expanded .hq-econ-row{padding:14px 13px;border-radius:7px;transition:background .2s}
#hqMarketView .hq-econ-expanded .hq-econ-row:hover,#hqMarketView .hq-econ-expanded .hq-econ-row:focus-visible{background:#263c47;border-color:#769c9b}
#hqMarketView .hq-econ-expanded .hq-econ-when{color:#c3d9d9;font-size:12px}
#hqMarketView .hq-econ-expanded .hq-econ-title{font-size:13px;line-height:1.45}
#hqMarketView .hq-econ-impact{font-size:10px;padding:5px 7px}
#hqMarketView .hq-econ-sources{background:#14252e;border:1px solid #38535c;border-radius:9px;padding:17px;line-height:1.8}
#hqMarketView .hq-market-grid a{border-radius:12px;padding:19px;background:linear-gradient(135deg,#172b34,#0b1822);box-shadow:inset 0 1px #d1f7ee0c;transition:border-color .22s,transform .22s}
#hqMarketView .hq-market-grid a:hover{border-color:#e4bd7f;transform:translateY(-2px)}
#hqMarketView .hq-native-block{border-radius:12px;margin-top:22px}
/* Video theater - feature, large player, controls and disclosure. */
#hqVideoView .native-wrap{max-width:1140px}
#hqVideoView .native-wrap>.native-eyebrow{display:inline-block;background:#302b22;border:1px solid #7d6c4e;border-radius:30px;padding:8px 12px}
#hqVideoView .native-wrap>h2{font-size:clamp(30px,3.1vw,44px);max-width:950px}
#hqVideoView .native-wrap>.native-lead{max-width:950px}
#hqVideoView .hq-video-player{width:100%;max-width:1140px;margin:22px 0 18px;border:1px solid #91744e;border-radius:15px;box-shadow:0 30px 85px #000a,0 0 36px #c5a56616}
#hqVideoView .hq-video-placeholder{max-width:540px;padding:25px}
#hqVideoView .hq-video-placeholder strong{font-size:20px;color:#f3e8d5}
#hqVideoView .hq-video-actions{background:linear-gradient(120deg,#1b2b32,#111f27);border:1px solid #465f61;border-radius:11px;padding:14px 18px;margin:0 0 23px}
#hqVideoView .hq-video-actions button{background:linear-gradient(120deg,#dfbb82,#c49a62);border:1px solid #e4c58b;border-radius:8px;padding:13px 19px;color:#21170d;min-height:44px;font-weight:850;transition:filter .2s,transform .2s}
#hqVideoView .hq-video-actions button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-2px)}
#hqVideoView .hq-video-actions a{font-size:12px;color:#ebcd93;text-underline-offset:4px}
#hqVideoView .hq-video-credit{font-size:14px;color:#ebd4a6}
#hqVideoView .hq-video-attribution{border-left:2px solid #b38d59;padding:11px 15px;background:#121e25;color:#b9c9c9;border-radius:0 8px 8px 0;max-width:100%}
#hqVideoView .hq-inline-note{font-size:12px}
@media(max-width:720px){.ze-psych-grid{grid-template-columns:1fr}.ze-psych-hero,.ze-psych-article{padding:20px}#hqMarketView .hq-econ-expanded .hq-econ-row{grid-template-columns:83px minmax(0,1fr) 53px;padding:10px 6px}#hqMarketView .hq-econ-impact{font-size:8px}#hqVideoView .hq-video-actions{flex-direction:column;align-items:stretch}}
@media(prefers-reduced-motion:reduce){.ze-psych-card,#hqMarketView .hq-econ-expanded .hq-econ-row,#hqMarketView .hq-market-grid a,#hqVideoView .hq-video-actions button{transition:none!important;transform:none!important}}


/* Integrated 7 Challenge within the Trader Psychology workspace. */
.ze-psych-challenge-feature{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:18px 0 9px;padding:clamp(18px,2.6vw,27px);border:1px solid #856e48;border-radius:14px;background:radial-gradient(ellipse at 92% 20%,#b48b4735,transparent 52%),linear-gradient(115deg,#223139,#101e27);box-shadow:inset 0 1px #fff1}
.ze-psych-challenge-feature h3{font-size:clamp(17px,2vw,23px);line-height:1.3;color:#f3e3c5;margin:8px 0 7px}
.ze-psych-challenge-feature p{font-size:13px;line-height:1.65;color:#bad0ce;margin:0;max-width:670px}
.ze-psych-challenge-feature button{flex:none;background:linear-gradient(120deg,#dfbc83,#b99155);border:1px solid #edc896;color:#191811;font-size:12px;font-weight:850;letter-spacing:.2px;border-radius:8px;padding:13px 18px;cursor:pointer}
.ze-psych-challenge-feature button:hover,.ze-psych-challenge-feature button:focus-visible{filter:brightness(1.1);outline-offset:3px}
#zePsychChallenge{max-width:1320px;margin:0 auto;padding-bottom:30px}
.ze-psych-challenge-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:13px 17px;margin-bottom:13px;border:1px solid #5d6456;border-radius:11px;background:linear-gradient(115deg,#172a30,#111d26)}
.ze-psych-challenge-bar .ze-psych-back{margin:0}
.ze-psych-challenge-bar>div{text-align:right;display:grid;gap:4px}
.ze-psych-challenge-bar strong{font-size:12px;letter-spacing:1.15px;color:#e4c38c}
.ze-psych-challenge-bar span{font-size:11px;color:#b1c5c7}
.ze-psych-challenge-frame-shell{overflow:hidden;border:1px solid #56635b;border-radius:14px;background:#08141c;box-shadow:0 18px 50px #0008}
.ze-psych-challenge-frame{display:block;width:100%;height:820px;border:0;background:#08141c}
.ze-psych-challenge-status{padding:14px 18px;margin-top:13px;border:1px solid #54656a;border-radius:10px;background:#13232c;color:#ddc99c;font-size:13px}
@media(max-width:750px){.ze-psych-challenge-feature{align-items:stretch;flex-direction:column}.ze-psych-challenge-feature button{width:100%}.ze-psych-challenge-bar>div{text-align:left}.ze-psych-challenge-frame{min-height:720px}}
@media(prefers-reduced-motion:reduce){.ze-psych-challenge-feature button{transition:none!important}}
