/* Clearwater Aminos v1.2 • Centered, accessible research-use acknowledgment */
.cw-research-gate[hidden],.cw-gate-error[hidden]{display:none!important}
body.cw-gate-locked{overflow:hidden!important}
.cw-research-gate{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:22px;isolation:isolate;font-family:var(--font,Inter,Arial,sans-serif);color:#12334b}
.cw-gate-backdrop{position:absolute;inset:0;background:rgba(5,24,43,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:-1}
.cw-gate-dialog{position:relative;width:min(100%,552px);max-height:min(94dvh,860px);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid rgba(214,233,239,.96);border-radius:19px;box-shadow:0 28px 85px rgba(2,18,37,.43);outline:none}
.cw-gate-topline{height:5px;background:linear-gradient(95deg,#073b66,#0699b9 52%,#41d9df)}
.cw-gate-content{padding:30px 36px 24px}
.cw-gate-identity{display:flex;align-items:center;gap:11px;margin-bottom:25px}
.cw-gate-identity img{width:45px;height:45px;flex:none}
.cw-gate-identity>span{display:flex;flex-direction:column;line-height:1.08;color:#0b345b}
.cw-gate-identity strong{font-size:19px;letter-spacing:-.06em;font-weight:850}
.cw-gate-identity small{font-size:11px;letter-spacing:.38em;margin-top:4px;font-weight:750}
.cw-gate-eyebrow{font-size:10px;font-weight:850;letter-spacing:.19em;color:#087e9b;margin-bottom:10px}
.cw-gate-dialog h2{font-size:clamp(1.55rem,3vw,2.15rem);letter-spacing:-.045em;line-height:1.15;color:#0c2d49;margin:0 0 10px;font-weight:850}
.cw-gate-intro{font-size:14px;color:#5c7280;line-height:1.55;margin:0 0 21px}
.cw-gate-checks{display:grid;gap:9px}
.cw-gate-check{display:flex;align-items:flex-start;gap:13px;padding:12px 13px;background:#f5fafb;border:1px solid #e1edf1;border-radius:9px;cursor:pointer;font-size:12.8px;line-height:1.48;color:#254254}
.cw-gate-check:hover{border-color:#b7e0e9}
.cw-gate-check input{appearance:auto!important;position:relative!important;opacity:1!important;flex:none;width:19px!important;height:19px!important;min-width:19px;margin:1px 0 0;accent-color:#008eac;cursor:pointer}
.cw-gate-check strong{color:#153951}
.cw-gate-check a{color:#087b9d;text-decoration:underline;text-underline-offset:2px;font-weight:750}
.cw-gate-actions{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;margin-top:17px}
.cw-gate-accept,.cw-gate-exit{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;font-size:13px;line-height:1.2;font-weight:800;text-align:center;letter-spacing:.01em}
.cw-gate-accept{background:linear-gradient(115deg,#0b4b75,#008dac);color:#fff!important;border:1px solid #065a79;padding:10px 16px;box-shadow:0 6px 15px rgba(3,105,137,.14)}
.cw-gate-accept span{font-size:19px;font-weight:400}
.cw-gate-accept:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.cw-gate-accept:not(:disabled):hover{background:linear-gradient(115deg,#073856,#007e9b)}
.cw-gate-exit{border:1px solid #c8dbe1;color:#325166!important;background:#fff;padding:10px 13px;text-decoration:none!important}
.cw-gate-exit:hover{background:#f2f8fa}
.cw-gate-note{color:#718492;margin:15px 0 0;font-size:11px;line-height:1.5;text-align:center}
.cw-gate-error{font-size:12px;color:#a02e35;margin:10px 0 0;font-weight:750}
@media(max-width:600px){.cw-research-gate{padding:12px}.cw-gate-dialog{max-height:calc(100dvh - 24px);border-radius:14px}.cw-gate-content{padding:19px 18px 17px}.cw-gate-identity{margin-bottom:16px}.cw-gate-eyebrow{font-size:9px}.cw-gate-check{padding:10px 11px;font-size:12px;gap:10px}.cw-gate-intro{margin-bottom:14px}.cw-gate-actions{grid-template-columns:1fr}.cw-gate-accept,.cw-gate-exit{min-height:45px}.cw-gate-note{font-size:10px;margin-top:12px}}
@media(prefers-reduced-motion:reduce){.cw-research-gate *{transition:none!important;animation:none!important}}
