/* Restricted free users are signed into the SAME application shell as paid users. */
/* Free members share the member views. Only the views that need membership data stay out of reach (they open the friendly note instead). */
body[data-member-tier="free"] #main > [data-view]:not(#freeWorkspace):not(#overview):not(#professionalServices){display:none!important}
body[data-member-tier="free"] #main > #professionalServices:not(.is-active){display:none!important}
body[data-member-tier="free"] #main > #overview:not(.is-active){display:none!important}
body[data-member-tier="free"] #main #freeWorkspace:not([hidden]) ~ #overview{display:none!important}
body[data-member-tier="free"] #main #freeWorkspace{display:block!important;max-width:1160px;margin:0 auto;padding-bottom:60px}
body[data-member-tier="free"] #main #freeWorkspace[hidden]{display:none!important}
.free-tier-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid #a7e4d9;border-radius:16px;padding:18px 22px;background:linear-gradient(100deg,#effbf9,#f9ffff);margin-bottom:24px;color:#163b4b}
.free-tier-banner>div{display:flex;flex-direction:column;gap:5px;max-width:660px}
.free-tier-banner strong{font-size:14px;letter-spacing:.02em}
.free-tier-banner span{font-size:14px;line-height:1.5;color:#456471}
.free-tier-upgrade,.free-tier-actions .free-tier-upgrade{background:#0f755f!important;color:#fff!important;border:1px solid #0f755f!important;text-decoration:none!important}
.free-tier-page-head{margin-bottom:23px}.free-tier-page-head h1{font-size:clamp(26px,3vw,36px);font-weight:780;letter-spacing:-.04em;line-height:1.2;margin:0 0 10px}.free-tier-page-head p{color:var(--muted,#687386);max-width:740px;line-height:1.6;margin:0}
.free-tier-welcome{border-radius:22px;border:1px solid #2a8f90;background:linear-gradient(118deg,#0d254a,#124e58);padding:clamp(20px,3vw,34px);color:#fff;margin-bottom:26px;box-shadow:0 12px 38px #0a27461c}
.free-tier-welcome h2{font-size:clamp(21px,2.4vw,29px);margin:0 0 12px;letter-spacing:-.03em;color:#fff}.free-tier-welcome p{line-height:1.65;max-width:770px;color:#e0f3f7;margin-bottom:20px}
.free-tier-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:15px}.free-tier-welcome .btn-secondary{background:#ffffff15;color:#fff;border:1px solid #ffffff88}.free-tier-welcome .btn-secondary:hover{background:#ffffff30}
.free-tier-section-title{font-size:21px;margin:22px 0 18px;letter-spacing:-.025em}.free-tier-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 28px}
.free-tier-feature{display:flex;flex-direction:column;align-items:flex-start;gap:11px;border-radius:18px;min-height:218px;padding:22px!important;transition:transform .15s ease,box-shadow .15s ease}
.free-tier-feature:hover{transform:translateY(-2px);box-shadow:0 7px 28px #19314e1b}.free-tier-feature h3{margin:0;font-size:18px;line-height:1.4}.free-tier-feature p{margin:0 0 10px;font-size:14px;line-height:1.55;color:var(--muted,#667289);flex:1}
.free-tier-icon{background:#f1f5fa;border-radius:9px;padding:8px 10px;font-size:17px}.free-tier-feature .btn{margin-top:auto}.free-tier-resource-teaser{margin:18px 0 24px;padding:24px!important;border-radius:18px}.free-tier-resource-teaser h2{margin:0 0 10px}.free-tier-resource-teaser p{color:var(--muted,#687386);line-height:1.6}
.free-tier-locked{max-width:790px;margin:18px 0 28px;padding:clamp(22px,3vw,36px)!important;border-radius:20px}.free-tier-biglock{font-size:34px;line-height:1.2;margin-bottom:10px}.free-tier-kicker{color:#0d7965;font-size:12px;letter-spacing:.07em;font-weight:700}.free-tier-locked h2{margin:9px 0;font-size:26px}.free-tier-locked p{line-height:1.65;color:var(--muted,#647084)}
.free-tier-sample{padding:18px 20px;border:1px dashed #b8d2d9;border-radius:12px;background:#f6fbfc;margin:19px 0;color:#193954}.free-tier-sample p{margin:7px 0 0!important;color:#4c667a!important}.free-tier-help{font-size:13px}.free-tier-learning{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);align-items:start;gap:24px;margin:20px 0 30px}.free-tier-learning h2{margin:0 0 9px}.free-tier-learning p{color:var(--muted,#637085);line-height:1.6}.free-tier-video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px;background:#0b1833;box-shadow:0 8px 24px #0002}
.free-tier-price{font-size:18px;color:#16796a}.free-tier-availability{font-size:12px;color:#98630d}.free-tier-email{overflow-wrap:anywhere}
.unified-auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0 20px;padding:4px;background:var(--surface-2,#f1f4f7);border-radius:12px}.auth-switch-btn{border:0!important;border-radius:9px!important;background:transparent!important;color:var(--text,#273346)!important;font-weight:700!important;padding:12px 10px!important;width:100%;cursor:pointer}.auth-switch-btn.is-active{background:var(--surface,#fff)!important;box-shadow:0 2px 7px #0001!important}
#freeSignupPanel h2{font-size:20px;margin:0 0 6px}#freeSignupPanel .hint{margin-bottom:12px}#freeSignupPanel form{display:grid;gap:10px}#freeSignupPanel form button{margin-top:6px}
@media(max-width:960px){.free-tier-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.free-tier-learning{grid-template-columns:1fr}}@media(max-width:610px){body[data-member-tier="free"] #main #freeWorkspace{padding-inline:0}.free-tier-feature-grid{grid-template-columns:1fr;gap:12px}.free-tier-feature{min-height:0}.free-tier-banner{padding:17px;align-items:stretch}.free-tier-banner .btn{width:100%;text-align:center}.free-tier-welcome{padding:22px}.free-tier-actions{flex-direction:column;align-items:stretch}.free-tier-actions .btn{width:100%;text-align:center}.free-tier-page-head h1{font-size:27px}}

/* Respect the portal's persistent theme preference. */
:root[data-theme="dark"] .free-tier-banner{background:linear-gradient(100deg,#142b36,#10233a);border-color:#2f7a78;color:#e8f4f5}
:root[data-theme="dark"] .free-tier-banner span{color:#bad2df}
:root[data-theme="dark"] .free-tier-icon{background:#273850}
:root[data-theme="dark"] .free-tier-sample{background:#18283b;border-color:#35566c;color:#ecf3f8}
:root[data-theme="dark"] .free-tier-sample p{color:#b3cad9!important}

.free-tier-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}
.free-tier-demo-row{display:flex;flex-direction:column;gap:8px;padding:15px;border:1px solid var(--border,#dfe4ec);background:var(--surface,#fff);border-radius:11px;min-width:0}
.free-tier-demo-row small{font-size:12px;color:var(--text-3,#5f6b80)}.free-tier-demo-row strong{font-size:16px;line-height:1.25;color:var(--text,#172b3a);overflow-wrap:anywhere}
@media(max-width:610px){.free-tier-demo-grid{grid-template-columns:1fr}}

/* Expert Services acquisition and authenticated free-account request journey */
#sidebar .nav-link[data-nav-id="services"]{background:linear-gradient(95deg,#dff6f0,#eef8fd);color:#0a574e!important;border:1px solid #9acfc5;border-radius:10px;font-weight:800;margin:3px 9px;width:calc(100% - 18px)}
#sidebar .nav-link[data-nav-id="services"] svg{stroke:#0b7c68}
:root[data-theme="dark"] #sidebar .nav-link[data-nav-id="services"]{background:linear-gradient(95deg,#10463e,#193e58);color:#e8fffa!important;border-color:#247a72}
.free-service-primary{background:#0e806c!important;color:#fff!important;border:1px solid #08715d!important;text-decoration:none!important;font-weight:750!important}
.free-expert-eyebrow{font-size:12px;font-weight:800;letter-spacing:.09em;color:#a8eee4}
.free-expert-hero{background:linear-gradient(120deg,#123c57,#096d65);border-radius:18px;border:1px solid #3b8f88;padding:clamp(22px,3vw,36px);color:#fff;margin-bottom:20px}
.free-expert-hero h2{color:#fff;font-size:clamp(23px,3vw,34px);line-height:1.25;max-width:740px;margin:8px 0 12px}
.free-expert-hero p{color:#e4f9f7;font-size:16px;max-width:820px;line-height:1.65}
.free-expert-hero .free-service-primary{background:#fff!important;color:#0d544b!important;border-color:#fff!important}
.free-expert-grid .free-expert-card{min-height:250px}
.free-expert-label{font-size:12px;font-weight:800;letter-spacing:.02em;color:#1c7766;background:#e7f7f1;border-radius:999px;padding:5px 10px}
.free-expert-card .free-tier-price{font-weight:800;color:#11765c;font-size:20px}
.free-expert-panel{padding:24px!important;margin:22px 0!important;border-radius:16px}
.free-expert-panel h2{font-size:23px;margin:0 0 8px}
.free-expert-panel>p{margin:0 0 17px;color:var(--muted,#617186);line-height:1.6}
.free-expert-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.free-expert-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-weight:700;font-size:15px}
.free-expert-field:has(textarea),.free-expert-consent,.free-expert-form>.free-service-notice{grid-column:1/-1}
.free-expert-field input,.free-expert-field select,.free-expert-field textarea{width:100%;min-height:44px;border:1px solid var(--border,#cfd9e2);border-radius:9px;padding:10px 12px;background:var(--surface,#fff);color:var(--text,#1b3044);font-size:16px;font-family:inherit}
.free-expert-field textarea{min-height:120px;resize:vertical}
.free-expert-consent{display:flex;gap:11px;align-items:start;font-size:14px;line-height:1.55}
.free-expert-consent input{width:19px;height:19px;margin-top:2px;flex-shrink:0}
.free-service-notice{font-size:14px;color:var(--muted,#567083);line-height:1.5}
.free-service-notice.is-good,.free-service-completed{color:#127a61;font-weight:700}
.free-expert-history{display:grid;gap:13px}
.free-expert-history-row{border:1px solid var(--border,#dce5ec);padding:15px;border-radius:12px;background:var(--surface,#fff);min-width:0}
.free-expert-history-row strong{font-size:16px;line-height:1.5}
.free-expert-history-row p{font-size:14px;line-height:1.6;color:var(--muted,#596b7e);margin:7px 0}
.free-expert-history-row .free-expert-history-row{background:var(--surface-2,#f3f7fa);padding:10px;margin-top:8px}
.free-expert-footnote{color:var(--muted,#596c80);line-height:1.6;margin:18px 0 30px}
:root[data-theme="dark"] .vse-expert-top-link{background:#12463f;color:#f0fffa;border-color:#386f68}
:root[data-theme="dark"] .free-expert-label{background:#1a413d;color:#a4f3db}
:root[data-theme="dark"] .free-expert-card .free-tier-price{color:#8ce1bd}
@media(max-width:750px){.free-expert-form{grid-template-columns:1fr}.vse-expert-dashboard-banner,.free-expert-dashboard-teaser{align-items:stretch}.vse-expert-top-link{font-size:12px;padding:6px 8px}.free-expert-grid .free-expert-card{min-height:0}}
