/* CHG entry layout; scoped to the supplied master stylesheet wrapper. */
.chg-page.chg-conversation,.chg-page.chg-events{min-height:100vh;padding:0 24px 48px;background:#14001F;color:#E6E2DA;font-family:Arial,sans-serif;line-height:1.6}
.chg-page .chg-entry-header{max-width:1060px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}
.chg-page .chg-entry-header .chg-home-logo{width:150px;height:auto;margin:0}
.chg-page .chg-entry-header nav{display:flex;flex-wrap:wrap;gap:8px}
.chg-page .chg-entry-header a,.chg-page .chg-entry-body a{color:#D3B87F}
.chg-page .chg-home-hero{padding:24px 0 32px}
.chg-page .chg-home-hero h1{font-size:clamp(2rem,5vw,3.5rem);max-width:880px;margin:0 auto 16px;color:#B89A5A;line-height:1.15}
.chg-page .chg-entry-body{max-width:900px;margin:auto}
.chg-page .notice{padding:16px 20px;border-left:3px solid #B89A5A;background:#220030;border-radius:4px;margin-bottom:24px;font-size:.95rem}
.chg-page form{background:#220030;padding:24px;border:1px solid #695336;border-radius:14px}
.chg-page label{display:block;margin:0 0 20px;font-weight:600}
.chg-page input,.chg-page select,.chg-page textarea{width:100%;font:inherit;line-height:1.5;margin-top:6px;padding:11px 12px;border:2px solid #B89A5A;border-radius:6px;background:#FFFDF7;color:#14001F}
.chg-page textarea{resize:vertical;min-height:110px}
.chg-page small{display:block;font-weight:normal;font-size:.9rem}
.chg-page .grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.chg-page fieldset{min-width:0;border:1px solid #796540;margin:0 0 24px;padding:16px;border-radius:8px}
.chg-page legend{color:#D3B87F;font-weight:bold;padding:0 8px}
.chg-page .check{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start}
.chg-page input[type=checkbox]{width:21px;height:21px;accent-color:#B89A5A}
.chg-page button{font:inherit;font-weight:bold;padding:12px 20px;border-radius:6px;background:#B89A5A;border:2px solid #B89A5A;color:#14001F;cursor:pointer;min-height:46px}
.chg-page button:disabled{opacity:.55;cursor:not-allowed}
.chg-page :focus-visible{outline:3px solid #F9DD96;outline-offset:4px}
.chg-page [aria-invalid=true]{border-color:#D73550;outline:2px solid #D73550}
.chg-page [role=alert]{color:#FFC6CC;font-weight:bold}
.chg-page [role=alert]:empty{display:none}
.chg-page [data-result]{padding:24px;background:#220030;border:1px solid #B89A5A;border-radius:14px;overflow-wrap:anywhere}
.chg-page [data-result] h2,.chg-page [data-result] h3,.chg-page .continuations h2{color:#D3B87F}
.chg-page [data-result] li{margin:8px 0}
.chg-page details{margin:20px 0;padding:12px;border:1px solid #695336;border-radius:6px}
.chg-page summary{cursor:pointer;font-weight:bold}
.chg-page dt{font-weight:bold;color:#D3B87F;margin-top:12px}
.chg-page dd{margin:0;white-space:pre-wrap}
.chg-page .entry-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
.chg-page .continuations{margin:28px 0}
.chg-page .continuations button{margin:0 12px 12px 0}
.chg-page footer{padding:28px 0}
.chg-page .trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.chg-page [hidden]{display:none!important}
@media(max-width:600px){.chg-page.chg-conversation,.chg-page.chg-events{padding:0 16px 32px}.chg-page .grid{grid-template-columns:1fr;gap:0}.chg-page form,.chg-page [data-result]{padding:18px}.chg-page .chg-entry-header{align-items:flex-start;gap:14px}.chg-page .chg-entry-header .chg-home-logo{width:120px}.chg-page .chg-entry-header nav{font-size:.85rem;max-width:160px}}
