#clinic-cookie-choice { box-sizing:border-box; color:#262421; background:#fffdf9; border:1px solid #aaa49a; padding:16px 20px; font:16px/1.45 system-ui,sans-serif; text-align:left; }
#clinic-cookie-choice.clinic-choice-banner { position:fixed; right:16px; bottom:16px; left:auto; z-index:2147483647; width:min(400px,calc(100% - 32px)); max-height:80vh; overflow:auto; box-shadow:0 3px 16px #0002; border-radius:4px; }
#clinic-cookie-choice.clinic-choice-inline { margin:12px 0 18px; max-width:620px; scroll-margin-block-start:72px; }
#clinic-cookie-choice p { font:inherit; margin:6px 0 12px; color:inherit; }
#clinic-cookie-choice a { color:inherit; text-decoration:underline; text-underline-offset:.15em; }
#clinic-cookie-choice button { font:inherit; padding:6px 16px; min-height:40px; border:1px solid #625e57; border-radius:3px; background:white; color:#27241f; cursor:pointer; }
#clinic-cookie-choice button + button { margin-left:8px; }
#clinic-cookie-choice :is(button, a):focus-visible { outline:2px solid #33533d; outline-offset:2px; }
#clinic-cookie-choice .clinic-choice-status { margin:8px 0 0; }
#clinic-cookie-choice .clinic-choice-status:empty { display:none; }

@media (max-width: 480px) and (max-height: 740px) and (orientation: portrait) {
  #clinic-cookie-choice.clinic-choice-banner {
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    padding: 10px 12px;
    line-height: 1.35;
  }
  #clinic-cookie-choice.clinic-choice-banner p { margin: 4px 0 8px; }
  #clinic-cookie-choice.clinic-choice-banner > div { display: flex; gap: 8px; }
  #clinic-cookie-choice.clinic-choice-banner button { flex: 1; margin: 0; min-height: 44px; }
}
