.ax-external-nav{background:#0c1730;border-bottom:1px solid rgba(255,255,255,.1);position:relative;z-index:1040}.ax-external-nav .container{min-height:68px}.ax-external-brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.ax-external-brand-mark{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:rgba(126,230,220,.15);font-weight:800}.ax-external-brand span{display:block;font-weight:800}.ax-external-brand small{display:block;color:#9fb0cc;font-size:11px;font-weight:500}.ax-external-nav .nav-link{color:#c8d3e6}.ax-external-nav .nav-link:hover{color:#fff}.researcher-identity-card{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid rgba(148,163,184,.25);border-radius:18px;background:rgba(255,255,255,.72)}.researcher-identity-logo{width:72px;height:72px;border-radius:16px;object-fit:contain;background:#071429;border:1px solid #e5e7eb;padding:8px}.researcher-identity-placeholder{width:72px;height:72px;border-radius:16px;display:grid;place-items:center;background:#111b33;color:#fff;font-size:24px;font-weight:800}.researcher-identity-card strong,.researcher-identity-card small{display:block}.researcher-identity-card small{color:#b8cdf2}.study-inactive-card{max-width:780px;margin:42px auto;padding:32px;border-radius:22px;border:1px solid rgba(148,163,184,.24);background:rgba(255,255,255,.8);text-align:center}.study-inactive-card .icon{font-size:42px}.study-team-chat{position:fixed;left:22px;bottom:22px;z-index:1092}.study-team-chat-launch{border:0;border-radius:999px;background:#14284d;color:#fff;padding:11px 15px;box-shadow:0 14px 36px rgba(0,0,0,.2);display:flex;gap:8px;align-items:center}.study-team-chat-panel{position:absolute;left:0;bottom:58px;width:min(410px,calc(100vw - 30px));height:560px;max-height:76vh;background:#071429;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 22px 65px rgba(0,0,0,.25);overflow:hidden;display:flex;flex-direction:column}.study-team-chat-panel[hidden]{display:none!important}.study-team-chat-panel header{background:#14284d;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}.study-team-chat-panel header small{display:block;color:#c1cee3;font-size:11px}.study-team-chat-panel header button{border:0;background:rgba(255,255,255,.12);color:#fff;width:32px;height:32px;border-radius:9px;font-size:20px}.study-team-chat-note{font-size:11px;color:#b8cdf2;padding:9px 12px;border-bottom:1px solid #edf0f4}.study-team-chat-messages{flex:1;overflow:auto;padding:12px;background:#071222}.study-team-chat-panel form{padding:11px;border-top:1px solid #e8ecf2}.study-chat-bubble{max-width:88%;background:#071429;border:1px solid #dfe5ed;border-radius:13px;padding:9px 11px;margin:8px 0}.study-chat-bubble.mine{margin-left:auto;background:#244fb4}.study-chat-bubble.admin{border-left:4px solid #1d4ed8}.study-chat-bubble.researcher{border-left:4px solid #7c3aed}.study-chat-meta{display:flex;align-items:center;gap:6px}.study-chat-meta b{font-size:12px}.study-chat-meta span{font-size:9px;padding:2px 5px;border-radius:999px;background:#152c52;color:#c9dcfb}.study-chat-bubble p{margin:4px 0;white-space:pre-wrap;word-break:break-word}.study-chat-bubble small{color:#abc5ec;font-size:10px}.prolific-researcher-strip{display:flex;align-items:center;gap:10px;margin-top:12px}.prolific-researcher-strip img{width:42px;height:42px;object-fit:contain;background:#071429;border-radius:10px;padding:5px}.prolific-researcher-strip .mini-logo{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#071429;color:#14284d;font-weight:800}.official-badge{font-size:9px;padding:2px 6px;border-radius:999px;background:#e9e4ff;color:#5b21b6;font-weight:800}.admin-badge{background:#dbeafe;color:#1d4ed8}.thread-locked{padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#0b1930;color:#b8cdf2}.external-hive-closed{min-height:60vh;display:grid;place-items:center;padding:40px 20px}@media(max-width:575.98px){.study-team-chat{left:12px;bottom:12px}.study-team-chat-panel{position:fixed;inset:0;width:100vw;height:100dvh;max-height:none;border-radius:0}.ax-external-nav .navbar-collapse{padding-bottom:12px}}
/* V9.1 Prolific workspace / white-label refinements */
.ax-external-brand-logo{width:38px;height:38px;object-fit:contain;border-radius:10px;background:#071429;padding:4px}.prolific-study-hero{position:relative;overflow:hidden;padding:52px 0;background:linear-gradient(135deg,#14284d 0%,#40327f 48%,#7c3aed 100%);color:#fff}.prolific-study-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-170px;background:radial-gradient(circle,rgba(126,230,220,.35),rgba(126,230,220,0) 68%)}.prolific-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.7fr);gap:32px;align-items:center}.prolific-study-hero h1{font-size:clamp(2.2rem,5vw,4rem);letter-spacing:-.05em;max-width:850px;margin:12px 0}.prolific-study-hero p{max-width:760px;color:#dbe5f7;font-size:1.05rem}.prolific-provider-pill{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.prolific-hero-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.prolific-hero-meta span{background:rgba(8,15,37,.28);border:1px solid rgba(255,255,255,.14);padding:10px 12px;border-radius:14px;font-size:.82rem}.prolific-hero-meta strong{display:block;font-size:1rem}.prolific-researcher-card{position:relative;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(16px);border-radius:24px;padding:24px}.prolific-researcher-card img,.prolific-logo-fallback{width:78px;height:78px;display:grid;place-items:center;object-fit:contain;background:#071429;color:#14284d;border-radius:18px;padding:8px;font-size:28px;font-weight:900;margin-bottom:15px}.prolific-researcher-card small,.prolific-researcher-card strong,.prolific-researcher-card em{display:block}.prolific-researcher-card small{color:#c9d7ec}.prolific-researcher-card strong{font-size:1.3rem}.prolific-researcher-card em{font-style:normal;color:#d5c8ff;font-size:.78rem;margin-top:3px}.prolific-researcher-card p{font-size:.85rem;margin:12px 0 0;color:#e6ebf5}.prolific-id-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-radius:18px;background:linear-gradient(90deg,#14284d,#263b66);color:#fff;box-shadow:0 12px 30px rgba(20,40,77,.15)}.prolific-id-strip small,.prolific-id-strip strong{display:block}.prolific-id-strip small{color:#b9c9e4;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em}.prolific-workspace-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:24px}.prolific-workspace-card{border-radius:24px;border:1px solid rgba(148,163,184,.2);background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:0 18px 55px rgba(38,50,75,.08);padding:26px}.prolific-reward-chip{padding:9px 13px;border-radius:14px;background:#ede9fe;color:#5b21b6;font-weight:900}.prolific-progress-banner{display:flex;align-items:center;justify-content:space-between;margin:18px 0;padding:13px 15px;border-radius:14px;background:#eef6ff;color:#1e3a5f}.prolific-task-preview{border-top:1px solid #edf0f5}.prolific-task-preview>div{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f5}.prolific-task-preview>div>span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#f0ecff;color:#6546c4;font-weight:900}.prolific-task-preview strong,.prolific-task-preview small{display:block}.prolific-task-preview small{color:#7a8497}.prolific-community-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f5;text-decoration:none;color:inherit}.prolific-community-link strong,.prolific-community-link small{display:block}.prolific-community-link small{color:#778195}.study-chat-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e8edf4;background:#f7f9fc}.study-chat-tabs button{border:0;background:transparent;padding:11px 8px;font-size:12px;font-weight:800;color:#b8cdf2;border-bottom:2px solid transparent}.study-chat-tabs button.active{background:#071429;color:#14284d;border-bottom-color:#6d5ce7}.admin-study-chat-stream{max-height:340px;overflow:auto;background:#f7f9fc;border-radius:14px;padding:10px}.admin-study-chat-row{background:#071429;border:1px solid #e5eaf0;border-radius:12px;padding:9px 10px;margin-bottom:8px}.admin-study-chat-row.mine{background:#eef4ff}.admin-study-chat-row strong{font-size:.78rem}.admin-study-chat-row p{margin:4px 0;white-space:pre-wrap}.admin-study-chat-row small{color:#8b94a5}.external-research-brand{padding:14px;border-radius:16px;background:rgba(255,255,255,.08);display:flex;align-items:center;gap:10px;margin:12px 0 16px}.external-research-brand img,.external-research-brand>span{width:44px;height:44px;border-radius:10px;object-fit:contain;background:#071429;color:#14284d;padding:5px;display:grid;place-items:center;font-weight:900}.external-research-brand small,.external-research-brand strong,.external-research-brand em{display:block}.external-research-brand small{font-size:.65rem;opacity:.7}.external-research-brand strong{font-size:.85rem}.external-research-brand em{font-style:normal;font-size:.64rem;opacity:.7}.prolific-community-hero{position:relative;overflow:hidden;border-radius:24px;padding:28px;background:linear-gradient(135deg,#ede9fe 0%,#dff7f4 55%,#fef3c7 100%);display:flex;justify-content:space-between;gap:20px}.prolific-community-hero h2{font-size:2rem;letter-spacing:-.04em}.prolific-stat-pills{display:flex;gap:8px;flex-wrap:wrap}.prolific-stat-pills span{padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.75);font-size:.75rem}.prolific-hero-art{min-width:150px;position:relative;display:grid;place-items:center}.prolific-hero-art span{font-size:3.4rem;color:#6d5ce7}.prolific-hero-art i{position:absolute;border-radius:50%;border:1px solid rgba(109,92,231,.25);width:100px;height:100px}.prolific-hero-art i+ i{width:145px;height:145px}.prolific-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.prolific-task-card{position:relative;border:1px solid #e5e9f0;border-radius:18px;padding:18px;background:#071429;box-shadow:0 10px 30px rgba(37,48,74,.05)}.prolific-task-card .task-no{position:absolute;right:14px;top:13px;color:#c6c9d6;font-size:1.4rem;font-weight:900}.prolific-task-card small,.prolific-task-card strong{display:block}.prolific-task-card small{font-size:.68rem;color:#7566c8;text-transform:uppercase;font-weight:800}.prolific-task-card h4{font-size:1rem;margin:5px 0}.prolific-task-card p{font-size:.8rem;color:#768094;min-height:36px}.status-chip{display:inline-flex!important;padding:5px 8px;border-radius:999px;background:#f4f1ff;color:#6346b3!important;text-transform:none!important}.community-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-topic-card{border:1px solid #e3e8ef;border-radius:20px;background:#071429;padding:18px;box-shadow:0 12px 35px rgba(37,48,74,.06);border-top:4px solid var(--topic-accent,#6d5ce7)}.community-topic-card header{display:flex;align-items:center;gap:10px}.community-topic-card header>div{flex:1}.community-topic-card header small,.community-topic-card header h4,.community-topic-card header h3{display:block;margin:0}.community-topic-card header small{font-size:.62rem;letter-spacing:.06em;color:#8b94a6}.community-topic-card header>b{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#f3f5f8}.topic-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f0ecff;color:#6448b5;font-weight:900}.community-topic-card>p{font-size:.8rem;color:#758095;margin:10px 0}.topic-discussions>a{display:flex;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;padding:12px 0;border-top:1px solid #edf0f4}.topic-discussions strong,.topic-discussions small,.topic-discussions em{display:block}.topic-discussions small{color:#7c8597;font-size:.76rem;margin-top:2px}.topic-discussions em{font-style:normal;color:#9aa2b1;font-size:.67rem;margin-top:3px}.topic-discussions>a>span{white-space:nowrap;font-size:.72rem;color:#6d5ce7}.topic-empty{padding:14px 0;color:#8b94a5;font-size:.8rem}.thread-topic-crumb{display:flex;align-items:center;gap:8px;font-size:.75rem;color:#8a94a5;margin-bottom:10px}.thread-topic-crumb a{text-decoration:none}.external-study-shell .hive-top{background:linear-gradient(90deg,#fff,#faf8ff)}
@media(max-width:991.98px){.prolific-hero-grid,.prolific-workspace-grid{grid-template-columns:1fr}.community-topic-grid,.prolific-task-grid{grid-template-columns:1fr}.prolific-researcher-card{max-width:520px}.prolific-hero-art{display:none}}@media(max-width:575.98px){.prolific-study-hero{padding:34px 0}.prolific-id-strip{align-items:flex-start;flex-direction:column}.prolific-workspace-card{padding:18px}.prolific-community-hero{padding:20px}.study-chat-tabs button{font-size:11px}}

/* V9.7.2 study-team chat hard-dark override */
.study-team-chat-panel{background:linear-gradient(160deg,#050c18,#09152b 56%,#151438)!important;color:#f7fbff!important;border-color:rgba(92,155,255,.34)!important}
.study-team-chat-panel>header{background:linear-gradient(110deg,#081a37,#123766 52%,#422078)!important;color:#fff!important}
.study-chat-tabs,.study-team-chat-note,.study-team-chat-panel form{background:#071429!important;color:#c7dbf9!important;border-color:rgba(96,154,255,.22)!important}
.study-team-chat-messages{background:radial-gradient(circle at 96% 0%,rgba(163,70,255,.12),transparent 30%),linear-gradient(180deg,#06101f,#08172d)!important}
.study-chat-bubble{background:linear-gradient(145deg,#10213f,#0b1930)!important;color:#f4f9ff!important;border-color:rgba(126,166,230,.22)!important}
.study-chat-bubble.mine{background:linear-gradient(135deg,#087ca6,#345fd0 52%,#7e3fc6)!important;color:#fff!important}
.study-chat-bubble p,.study-chat-meta b{color:#fff!important}.study-chat-bubble small{color:#a9c2e7!important}
.study-team-chat input{background:#07182e!important;color:#fff!important;border-color:rgba(91,158,255,.3)!important}.study-team-chat input::placeholder{color:#88a7d4!important;opacity:1!important}

/* V9.7.4 external participant source-dark corrections */
.ax-external-experience .prolific-workspace-card{background:linear-gradient(160deg,#0a1730,#0c1b37)!important;color:#f7fbff!important;border-color:rgba(100,171,255,.22)!important}
.ax-external-experience .prolific-progress-banner{background:linear-gradient(110deg,#0b2548,#102e5b 65%,#202558)!important;color:#fff!important}
.ax-external-experience .prolific-reward-chip{background:linear-gradient(105deg,rgba(28,193,255,.20),rgba(93,99,255,.25),rgba(174,72,255,.24))!important;color:#fff!important}
.ax-external-experience .study-chat-tabs,.ax-external-experience .study-team-chat-panel form{background:#071429!important;color:#eef7ff!important}
.ax-external-experience .study-team-chat-messages{background:linear-gradient(180deg,#06101f,#08172d)!important}
.ax-external-experience .study-chat-bubble{background:linear-gradient(145deg,#10213f,#0b1930)!important;color:#f4f9ff!important}
.ax-external-experience .study-chat-bubble.mine{background:linear-gradient(135deg,#087ca6,#345fd0 52%,#7e3fc6)!important;color:#fff!important}
