/* Emperor Roofing: compact cookie notice. All rules are scoped to its controls. */
.er-consent { box-sizing:border-box; font-family:inherit; font-size:14px; line-height:1.55; }
.er-consent * { box-sizing:border-box; }
.er-consent [hidden], .er-cookie-banner[hidden] { display:none !important; }
.er-consent h2 { margin:0 0 7px; color:inherit; font-size:20px; font-weight:700; line-height:1.3; }
.er-consent p { margin:0 0 9px; font-size:inherit; line-height:inherit; }
.er-consent a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.er-cookie-banner { position:fixed; z-index:2147483000; left:18px; right:18px; bottom:18px; max-width:1000px; margin:auto; padding:18px 52px 18px 22px; background:#fff; color:#152c3b; border:1px solid #dfb663; border-radius:12px; box-shadow:0 8px 35px #0003; max-height:calc(100vh - 36px); max-height:calc(100dvh - 36px); overflow:auto; }
.er-cookie-inner { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:24px; align-items:center; }
.er-consent .er-policy-links { margin-bottom:0; font-size:13px; }
.er-consent .er-policy-links a { display:inline-block; padding:3px 0; }
.er-cookie-actions { display:flex; flex-wrap:wrap; gap:10px; }
.er-cookie-banner .er-cookie-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.er-cookie-banner .er-cookie-actions .er-secondary { grid-column:1/-1; }
.er-consent button { cursor:pointer; font:inherit; font-weight:700; line-height:1.3; border-radius:6px; padding:11px 15px; min-height:44px; border:2px solid #dfb663; color:#071827; background:#dfb663; text-transform:none; letter-spacing:normal; box-shadow:none; }
.er-cookie-actions button { flex:1 1 auto; }
.er-consent button:hover { background:#f3cb80; color:#071827; }
.er-consent .er-secondary { background:transparent; color:inherit; border-color:#a6b3bd; }
.er-consent .er-secondary:hover { background:#f5f3ee; }
.er-consent .er-close { padding:0; min-width:36px; min-height:36px; font-size:25px; font-weight:400; background:transparent; color:inherit; border-color:transparent; }
.er-cookie-banner > .er-close { position:absolute; top:7px; right:7px; }
.er-consent :focus-visible, .er-cookie-settings:focus-visible { outline:3px solid #3084ce; outline-offset:4px; }
.er-cookie-dialog { width:min(500px,calc(100% - 28px)); max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); margin:auto; padding:24px; background:#fff; color:#152c3b; border:1px solid #bd9145; border-radius:12px; overflow-y:auto; overscroll-behavior:contain; }
.er-cookie-dialog::backdrop { background:#071827b8; }
.er-dialog-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.er-option { display:flex; align-items:flex-start; gap:14px; padding:16px 0; margin:0 0 16px; border-bottom:1px solid #dbe1e5; cursor:pointer; font-weight:400; }
.er-option > span > span { display:block; margin-top:5px; }
.er-option input[type="checkbox"] { appearance:auto; -webkit-appearance:checkbox; accent-color:#071827; width:22px; height:22px; min-width:22px; padding:0; margin:3px 0 0; position:static; opacity:1; }
.er-consent .er-settings-note { font-size:13px; }
.er-cookie-dialog .er-cookie-actions { margin-top:18px; }
.er-cookie-settings { font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-decoration:underline; text-underline-offset:3px; text-align:inherit; line-height:inherit; }
.er-cookie-settings:hover { text-decoration:none; color:inherit; }
.er-cookie-status { position:fixed; z-index:2147483001; left:16px; bottom:20px; max-width:calc(100vw - 32px); padding:10px 15px; border-radius:6px; color:#fff; background:#071827; font-size:14px; pointer-events:none; }
.er-cookie-status:empty { display:none; }
.er-no-js { padding:10px 18px; background:#faf8f2; color:#152c3b; font-size:14px; text-align:center; }
@media (max-width:700px) {
  .er-cookie-banner { left:10px; right:10px; bottom:max(10px,env(safe-area-inset-bottom)); padding:18px; }
  .er-cookie-inner { display:block; }
  .er-cookie-banner h2 { padding-right:28px; font-size:18px; }
  .er-cookie-banner .er-cookie-actions { margin-top:12px; }
  .er-cookie-banner .er-cookie-actions button { padding:10px 8px; }
  .er-cookie-dialog { padding:18px; }
}
@media print { .er-consent, .er-cookie-settings, .er-cookie-status { display:none !important; } }
