/* HeroEdge shared theme. Palette follows /poker/assets/style.css. */
:root{color-scheme:light;--bg:#d9e4dc;--bg-soft:#cddbd0;--panel:#fff;--panel2:#f4f8f5;--panel3:#e5eee7;--line:#c7d3c9;--line2:#aebdaf;--line-strong:#aebdaf;--text:#1f2937;--ink:#1f2937;--heading:#111827;--muted:#596a61;--accent:#1e6b43;--accent-dark:#145233;--accent-soft:#d3e4d6;--green:#1b7a49;--green2:#145233;--cream:#1e6b43;--orange:#a84c10;--gold:#896000;--red:#b12e3a;--blue:#2365a7;--shadow:0 8px 24px #0f172a14;--radius:14px}
html{background:var(--bg)}body,body.he-member-body{background:linear-gradient(180deg,#e7efe9,#d9e4dc 65%,#cddbd0);color:var(--text);color-scheme:light;font-family:Inter,"Segoe UI",system-ui,sans-serif}body::before{display:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2575d8;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.6}summary{cursor:pointer}button,a,input,select{touch-action:manipulation}[hidden]{display:none!important}
/* One header for every member destination. */
.he-app-header,.he-app-header *{box-sizing:border-box}.he-app-header{display:flex;align-items:center;justify-content:space-between;gap:18px;width:min(1240px,calc(100% - 40px));margin:0 auto 24px;padding:20px 0;border-bottom:1px solid var(--line-strong);color:var(--text);font-family:inherit;position:relative;z-index:20}.sim-shell>.he-app-header,.cal-shell>.he-app-header{width:100%}.he-app-brand{display:flex;align-items:center;gap:10px;color:var(--heading);text-decoration:none;flex-shrink:0}.he-app-brand>span:first-child,.brand .brand-mark,.he-brand .brand-mark{width:38px;height:38px;background:linear-gradient(135deg,#ff9d45,#d86a18);color:#201206;border-radius:10px;display:grid;place-items:center;font-size:25px;box-shadow:0 4px 12px #d86a1820}.he-app-brand b{display:block;font-size:23px;letter-spacing:-.8px;line-height:1.1}.he-app-brand small{display:block;font-size:8px;letter-spacing:.13em;color:var(--accent);font-weight:800;margin-top:5px}.he-app-header nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.he-app-header nav a{padding:9px 12px;border-radius:8px;color:#4a5e51;font-size:13px;text-decoration:none;font-weight:650;white-space:nowrap}.he-app-header nav a:hover,.he-app-header nav [aria-current=page]{background:var(--accent-soft);color:var(--accent-dark)}.he-account-menu{position:relative;font-size:12px;flex-shrink:0}.he-account-menu summary{list-style:none;border:1px solid var(--line-strong);background:var(--panel2);border-radius:8px;padding:9px 12px;color:var(--text);white-space:nowrap}.he-account-menu summary::-webkit-details-marker{display:none}.he-account-menu>div{position:absolute;right:0;top:calc(100% + 8px);min-width:190px;background:#fff;border:1px solid var(--line-strong);box-shadow:var(--shadow);border-radius:10px;padding:6px;z-index:100}.he-account-menu>div>a{display:block!important;padding:10px!important;color:#1f2937!important;text-decoration:none;border-radius:6px;font-size:13px!important}.he-account-menu>div>a:hover{background:var(--panel3)}.he-context-nav{display:flex;justify-content:space-between;gap:16px;margin:16px 0}.he-context-nav a{color:var(--accent);font-size:13px;font-weight:700;text-decoration:none}.he-app-footer,.he-app-footer a{color:var(--muted);border-color:var(--line)}.he-app-skip{background:#fff;color:var(--accent)}
/* Marketing: calm, spacious panels with the familiar green and orange brand. */
.site-header nav>a:hover,.site-header [aria-current=page],.he-brand small,.brand-dot{color:var(--accent)}.button,.he-button{background:var(--accent);border-color:var(--accent);color:#fff!important;box-shadow:0 3px 8px #14523318}.button:hover,.he-button:hover{background:var(--accent-dark)}.button.secondary,.he-button.secondary{background:#fff;color:var(--accent)!important;border-color:var(--line-strong)}.button.secondary:hover,.he-button.secondary:hover{background:var(--panel2)}.button.warm,.he-button.warm{background:#ffe4cd;border-color:#e9b384;color:#713405!important}.text-link,.he-link{color:var(--accent)!important;border-color:#9bb3a2}.text-link:hover{color:var(--accent-dark)}.feature-card,.note-card,.feature-wide,.line-lab,.line-explanation,.journal-preview,.warm-card{background:var(--panel);border-color:var(--line);box-shadow:0 8px 28px #24473308}.feature-wide{background:#f4f8f5}.feature-card small,.feature-tag,.lab-label,.line-lab>small,.journal-check,.journal-preview>small,.site-footer nav,.site-footer .footer-note,.site-footer>div>small{color:var(--muted);border-color:var(--line)}.journal-preview blockquote{color:var(--heading)}.line-options button{border-color:var(--line-strong);color:var(--accent)}.line-options button.active{background:var(--accent);color:#fff}.line-explanation{background:var(--panel2)}.cta-band{background:#145233;border-color:#145233;color:#fff}.cta-band .eyebrow,.cta-band h2{color:#fff}.cta-band p{color:#cde0d3}.cta-band .button{background:#fff;color:#145233!important;border-color:#fff}.cta-band .button.secondary{background:transparent;color:#fff!important}.steps article,.feature-list article,.training-route article,.journal-check{border-color:var(--line-strong)}.site-footer nav a:hover{color:var(--accent)}.table-preview{--cream:#efdfb4;--muted:#b7cdbd;--green:#41d394;color:#f5f8f4}.table-preview .eyebrow{color:#bce3c7}.table-preview .preview-question h3{color:#f5f8f4}.table-preview .range-note .eyebrow{color:#45604a}
/* Dashboard and account share the existing poker canvas. */
.he-workspace,.he-app-footer{color:var(--text)}.he-workspace h1,.he-workspace h2,.he-workspace h3{color:var(--heading)}.he-workspace p,.he-stats span,.he-session-result small,.he-caption,.he-account-label{color:var(--muted)!important}.he-eyebrow{color:var(--accent)}.he-focus,.he-empty,.he-session,.he-stats,.he-member-card,.he-account-panel,.he-notice{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}.he-focus{background:#f4f8f5}.he-focus .he-eyebrow{color:var(--accent)}.he-stats>div,.he-session-list,.he-session{border-color:var(--line)}.he-stats b,.he-session-result b{color:var(--accent)}.he-status,.he-status.complete{color:var(--accent-dark);border-color:#b2cbb9;background:#edf6ef}.he-caption{color:var(--muted)!important}.he-account-panel label,.he-account-panel h3{color:var(--text)}.he-account-panel input,.he-account-panel select,.he-workspace input{background:#f8fbf9;color:var(--text);border-color:var(--line-strong)}
/* Existing root auth forms retain their validation and submission behavior. */
.he-auth{background:linear-gradient(140deg,#e8f0ea,#ceded1)}.auth-card{background:#fff;border-color:var(--line);box-shadow:var(--shadow)}.auth-card h2,.auth-story h1,.auth-benefit b,.auth-trial strong{color:var(--heading)}.auth-story p,.auth-benefit p,.auth-story>small,.auth-footer,.auth-card>p,.auth-fineprint,.auth-switch{color:var(--muted)}.auth-existing-form label,.auth-details dd,.auth-first-session li,.auth-first-session b{color:var(--text)}.auth-existing-form input:not([type=checkbox]),.auth-existing-form select{background:#f5f9f6;color:var(--text);border-color:var(--line-strong)}.auth-existing-form button[type=submit],.auth-start{background:var(--accent);color:white!important;border-color:var(--accent)}.auth-password button{background:transparent;color:var(--accent);border-color:var(--line)}.auth-trial,.auth-first-session,.auth-details,.auth-future-plans{background:var(--panel2);border-color:var(--line);color:var(--text)}.auth-trial span,.auth-details dt,.auth-terms,.auth-first-session p,.auth-future-plans p{color:var(--muted)}.auth-future-plans summary,.auth-row a,.auth-switch a,.auth-terms a{color:var(--accent)}.auth-street span{background:var(--panel);border-color:var(--line);color:var(--accent)}.auth-benefit{border-color:var(--line-strong)}.auth-existing-form [role=alert]{background:#fff0ed;border-color:#e2b2a5;color:#8b2c1c}.auth-ready-mark{background:#e5f2e8;color:var(--green)}
@media(max-width:800px){.he-app-header{flex-wrap:wrap;gap:12px;padding:15px 0;width:calc(100% - 28px);margin-bottom:15px}.he-app-header nav{order:3;width:100%;gap:4px;display:flex}.he-app-header nav a{padding:8px 10px;font-size:12px}.he-app-header .he-account-menu{margin-left:auto}.site-header #site-nav{background:#f4f8f5;border-color:var(--line)}.site-header .menu-toggle{color:var(--text);border-color:var(--line-strong);background:#fff}.he-member-main{width:calc(100% - 28px)}.site-footer nav{color:var(--muted)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
/* Final contrast alignment for forms and legacy dashboard components. */
.he-companions .he-member-card:first-child{background:#fff8ef;border-color:#d9c7ad}.he-companions .he-member-card:first-child .he-eyebrow{color:#97521b}.he-companions ol{color:#4c6354}.he-profile dd{color:#1f2937}.he-profile dt,.he-account label,.he-account #password-help{color:#596a61}.he-profile dl>div{border-color:var(--line)}.he-account input:not([type=hidden]),.he-auth .auth-existing-form input:not([type=hidden]):not([type=checkbox]):not([type=radio]){background:#f8fbf9;color:#1f2937;border-color:#aebdaf}.he-auth .auth-existing-form button[type=submit],.he-auth .auth-existing-form input[type=submit]{background:#1e6b43!important;color:#fff!important;border-color:#1e6b43!important}.auth-footer a{color:#1e6b43}.auth-header,.auth-footer,.auth-switch{border-color:#b9cbbf}.he-auth .auth-existing-form input::placeholder{color:#728478}
