/* Entry gate layout only. Notice and policy strings live in copy.js. */
:is(#research-notice, .notice-policy-dialog) { --paper: #f6f7f2; --ink: #18342f; --muted: #65756d; --line: #dce3d9; --green: #264d41; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; border: 1px solid var(--line); margin: auto; overscroll-behavior: contain; box-shadow: 0 20px 70px rgb(16 32 26 / .2); }
:is(#research-notice, .notice-policy-dialog)::backdrop { background: rgb(16 32 26 / .62); backdrop-filter: blur(5px); }
body:has(#research-notice[open]) { overflow: hidden; }
#research-notice { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 32px; border-radius: 26px; }
.notice-heading { display: flex; align-items: center; gap: 14px; }
#research-notice .notice-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); background: #e9eddf; border-radius: 14px; margin: 0; color: var(--green); }
.notice-icon svg { height: 24px; width: 24px; }
#research-notice .eyebrow { font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
#research-notice h2 { font: normal 42px/1.1 Georgia, 'Times New Roman', serif; letter-spacing: -1.2px; margin: 20px 0 16px; }
#research-notice h2:focus { outline: none; }
#research-notice #notice-description { font-size: 14px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
#research-notice .notice-restriction { font-size: 13px; line-height: 1.7; background: #eee8dc; border: 1px solid #dfd4c1; color: #665039; border-radius: 13px; padding: 14px 16px; margin: 0 0 20px; }
.notice-confirmations { font-size: 13px; line-height: 1.7; }
.notice-confirmations p { font-weight: 600; margin: 0 0 8px; }
.notice-confirmations ul { margin: 0; padding-left: 19px; }
.notice-confirmations li + li { margin-top: 7px; }
#research-notice .notice-terms { font-size: 13px; min-height: 44px; text-align: left; display: inline-flex; align-items: center; gap: 12px; margin: 12px 0; color: var(--green); }
.notice-consent { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); background: #fff; border-radius: 14px; font-size: 13px; line-height: 1.7; cursor: pointer; }
.notice-consent:has(:checked) { background: #e9eddf; border-color: #96ae86; }
.notice-consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--green); }
.notice-consent input:focus-visible { outline: 3px solid #b5964c; outline-offset: 3px; }
.notice-actions { display: grid; gap: 12px; margin-top: 22px; }
#research-notice .primary { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: 100px; font-size: 14px; text-align: left; padding: 13px 20px; }
#research-notice .primary:disabled { background: #e1e5dc; border-color: #e1e5dc; color: #65756d; opacity: 1; cursor: not-allowed; }
#research-notice .notice-leave { display: block; width: 100%; min-height: 44px; margin: 0; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--ink); font-size: 13px; padding: 11px 20px; text-decoration: none; }
:is(#research-notice, .notice-policy-dialog) button:focus-visible { outline: 3px solid #b5964c; outline-offset: 3px; }
.notice-policy-dialog { width: min(850px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; border-radius: 22px; }
.notice-policy-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; padding: 20px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.notice-policy-top h2 { font: normal 28px/1.2 Georgia, 'Times New Roman', serif; margin: 0; }
.notice-policy-close { border: 0; background: transparent; color: var(--ink); width: 44px; height: 44px; flex-shrink: 0; font-size: 28px; }
.notice-policy-body { padding: 0 28px 28px; font-size: 13px; line-height: 1.8; }
.notice-policy-body h3 { font: 600 17px/1.5 Arial, sans-serif; margin: 24px 0 6px; }
.notice-policy-body p { color: var(--muted); margin: 0 0 14px; }
.notice-policy-body a, .notice-policy-body button { color: var(--green); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { #research-notice .primary:not(:disabled):hover { background: #183e31; } #research-notice .notice-leave:hover { background: #e9eddf; } }
@media (max-width: 650px) { #research-notice { padding: 24px; border-radius: 22px; } #research-notice h2 { font-size: 36px; letter-spacing: -1px; margin-top: 18px; } #research-notice #notice-description { font-size: 13px; } .notice-policy-top { padding: 16px 20px; } .notice-policy-top h2 { font-size: 24px; } .notice-policy-body { padding: 0 20px 24px; } }
@media (max-width: 360px), (max-height: 650px) { #research-notice { padding: 20px; } #research-notice h2 { font-size: 32px; } .notice-confirmations { font-size: 12px; } .notice-consent { padding: 13px; font-size: 12px; } }
