/* UI only: compact first opening; unchanged preference and measurement logic. */
.ufc-consent-backdrop { padding:12px; background:transparent; pointer-events:none; }
.ufc-consent-panel { pointer-events:auto; width:min(1040px,100%); padding:20px 24px; min-height:100px; max-height:90svh; font-size:14px; line-height:1.4; display:flex; align-items:center; gap:24px; }
.ufc-consent-panel [hidden] { display:none!important; }
.ufc-consent-sr-only { position:absolute; width:1px; height:1px; padding:0!important; margin:-1px!important; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ufc-consent-panel .ufc-consent-summary { flex:1; margin:0; }
.ufc-consent-actions { display:flex; flex-wrap:nowrap; gap:8px; margin:0; flex-shrink:0; }
.ufc-consent-actions button { flex:0 0 auto; min-height:44px; padding:10px 14px; }
.ufc-consent-settings-open { background:#171c1855; pointer-events:auto; }
.ufc-consent-expanded { display:block; width:min(640px,100%); padding:24px; }
.ufc-consent-expanded .ufc-consent-sr-only { position:static; width:auto; height:auto; margin:0 0 12px!important; overflow:visible; clip:auto; white-space:normal; }
.ufc-consent-expanded .ufc-consent-summary { margin-bottom:12px; }
.ufc-consent-expanded .ufc-consent-actions { margin-top:16px; }
.ufc-consent-expanded .ufc-consent-actions button { flex:1; }
@media(max-width:700px) {
  .ufc-consent-backdrop { padding:8px; }
  .ufc-consent-panel { display:block; padding:12px; min-height:0; font-size:13px; line-height:1.35; }
  .ufc-consent-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin-top:10px; }
  .ufc-consent-actions button { width:100%; padding:8px 4px; font-size:12px; }
  .ufc-consent-expanded { max-height:85svh; padding:16px; }
  .ufc-consent-expanded h2 { font-size:20px; }
  .ufc-consent-choice { gap:12px; padding:10px 0; }
  .ufc-consent-choice small { font-size:12px; }
}
