/* GCNM HF15 privacy notice, controls, demographic forms and private dashboards. */
#gcnm-privacy-dialog { position:fixed;bottom:1rem;left:1rem;right:1rem;max-width:660px;z-index:2147483000;background:#fff;color:#182e29;padding:1.25rem 1.4rem;border:1px solid #b9d8c4;border-radius:16px;box-shadow:0 12px 42px #0003;max-height:calc(100vh - 2rem);overflow:auto;font:inherit;line-height:1.5; }
#gcnm-privacy-dialog h2{font-size:1.3rem;margin:0 0 .5rem;color:#164b36}#gcnm-privacy-dialog p{margin:.5rem 0;font-size:.93rem;color:#243b32}
.gcnm-privacy-essential{font-weight:600}.gcnm-privacy-check{display:flex;align-items:flex-start;gap:.55rem;margin:.6rem 0;font-size:.93rem;cursor:pointer;color:#183e31}
.gcnm-privacy-check input{margin-top:.23rem;flex-shrink:0;min-width:17px;min-height:17px}
.gcnm-privacy-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.gcnm-privacy-actions button,.gcnm-privacy-form button{background:#146542;border:1px solid #146542;color:white;cursor:pointer;padding:.7rem 1rem;border-radius:8px;font-weight:650;min-height:40px}
.gcnm-privacy-actions button:first-child{background:#fff;color:#164b36}.gcnm-privacy-actions button:disabled{opacity:.55;cursor:wait}
.gcnm-privacy-status,.gcnm-privacy-error{color:#a42424;font-size:.9rem}
.gcnm-privacy-manage{font-size:.85rem;padding:.5rem 1rem;text-align:center;background:transparent;color:inherit}
.gcnm-privacy-manage button{border:0;background:transparent;text-decoration:underline;cursor:pointer;font:inherit;color:inherit;padding:.25rem}
.gcnm-account-privacy-link{margin:1rem auto;padding:.6rem;font-size:.86rem;text-align:center;line-height:1.5;color:inherit}
.gcnm-signup-fields{margin:1rem 0;padding:1rem;border:1px solid #bad5c3;border-radius:10px;min-width:0}
.gcnm-signup-fields legend{font-size:1rem;font-weight:700;width:auto;padding:0 .3rem}
.gcnm-signup-fields>label:not(.gcnm-privacy-check){display:block;font-weight:600;margin:.6rem 0 .3rem}
.gcnm-signup-fields>input,.gcnm-signup-fields>select{display:block;width:100%;box-sizing:border-box;border:1px solid #718c80;border-radius:8px;padding:.65rem;min-height:44px;background:#fff;color:#162a22}
.gcnm-privacy-document{margin:0;background:#f4f8f5;color:#22382c;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.67}
.gcnm-policy-wrap{max-width:900px;margin:1.5rem auto;padding:2rem;box-sizing:border-box;background:#fff;border-radius:14px;box-shadow:0 3px 18px #173a2712}
.gcnm-policy-wrap header,.gcnm-policy-wrap footer{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-bottom:1px solid #d9e7dc;padding-bottom:1rem}
.gcnm-policy-wrap footer{border-bottom:0;border-top:1px solid #d9e7dc;padding:1rem 0 0;margin-top:2rem}
.gcnm-policy-wrap h1{font-size:2rem;color:#145936;line-height:1.2;margin:1.5rem 0}
.gcnm-policy-wrap h2{font-size:1.18rem;color:#185940;margin:1.8rem 0 .5rem}
.gcnm-policy-wrap a{color:#0f604b}.gcnm-policy-wrap p{margin:.75rem 0}
.gcnm-policy-note{background:#f6f5e9;border-left:4px solid #aa922e;padding:.85rem}
.gcnm-privacy-form{display:grid;gap:.6rem;padding:1.2rem;background:#f5f9f6;border-radius:12px}
.gcnm-privacy-form label{font-weight:600}.gcnm-privacy-form textarea,.gcnm-privacy-form select{width:100%;box-sizing:border-box;border:1px solid #759084;border-radius:8px;padding:.75rem;font:inherit}
.gcnm-privacy-request{padding:1rem 0;border-bottom:1px solid #dce9de}
.gcnm-privacy-scroll{overflow-x:auto}.gcnm-policy-wrap table{border-collapse:collapse;width:100%;min-width:380px}
.gcnm-policy-wrap th,.gcnm-policy-wrap td{padding:.7rem;border-bottom:1px solid #dce9de;text-align:left;vertical-align:top}
.gcnm-privacy-success{padding:.8rem;background:#eaf9ef;color:#126039}
@media(max-width:650px){#gcnm-privacy-dialog{bottom:0;left:0;right:0;max-width:none;border-radius:14px 14px 0 0;padding:1rem;max-height:75vh}.gcnm-privacy-actions button{flex:1 1 42%}.gcnm-policy-wrap{margin:0;padding:1.1rem;border-radius:0}.gcnm-policy-wrap h1{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){#gcnm-privacy-dialog{scroll-behavior:auto}}
