.consent-is-open, .consent-is-open body { overflow: hidden; }
.consent-backdrop { position: fixed; inset: 0; z-index: 2000; background: rgba(3, 6, 15, .72); }
.consent-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100%;
  height: 100dvh;
  background: #0E1528;
  color: #E7EBF5;
  border-left: 1px solid #2A3450;
  box-shadow: -18px 0 48px rgba(0, 0, 0, .45);
  font: 400 14px/1.5 Poppins, system-ui, sans-serif;
}
.consent-head { flex: none; padding: 20px 20px 12px; border-bottom: 1px solid #2A3450; }
.consent-title { margin: 0 0 6px; font-weight: 600; font-size: 18px; line-height: 1.3; color: #FFFFFF; }
.consent-text { margin: 0; color: #B9C2D9; }
.consent-text a { color: #FF6B80; }
.consent-services { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0; padding: 12px 20px; list-style: none; display: grid; gap: 10px; align-content: start; }
.consent-service label { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid #2A3450; border-radius: 10px; cursor: pointer; }
.consent-service input { margin-top: 3px; width: 18px; height: 18px; accent-color: #FF2346; flex: none; }
.consent-service input:disabled { opacity: .7; }
.consent-service-body { display: grid; gap: 2px; }
.consent-service-name { font-weight: 600; color: #FFFFFF; }
.consent-service-tag { font-size: 12px; color: #FF9AA9; }
.consent-service-purpose { font-size: 13px; color: #B9C2D9; }
.consent-technical { font-size: 11px; color: #7F8AA6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.consent-actions { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #2A3450; background: #0B1220; }
.consent-button {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #4A5778;
  background: #1B2540;
  color: #FFFFFF;
  font: 600 14px/1.2 Poppins, system-ui, sans-serif;
  cursor: pointer;
}
.consent-button:hover { background: #24304F; }
.consent-button.is-primary { grid-column: 1 / -1; min-height: 48px; border-color: #E8183D; background: #E8183D; font-size: 15px; }
.consent-button.is-primary:hover { background: #C9122F; border-color: #C9122F; }
.consent-close { grid-column: 1 / -1; min-height: 40px; border: 0; background: transparent; color: #B9C2D9; font: 500 14px/1.2 Poppins, system-ui, sans-serif; text-decoration: underline; cursor: pointer; }
.consent-button:focus-visible, .consent-close:focus-visible, .consent-service input:focus-visible { outline: 3px solid #FF6B80; outline-offset: 2px; }
@media (max-width: 520px) {
  .consent-panel { width: 100vw; border-left: 0; }
  .consent-head { padding: 16px 16px 10px; }
  .consent-services { padding: 10px 16px; }
  .consent-actions { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
}
.consent-minimized { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 2001; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 32rem; margin: 0 auto; padding: 10px 12px 10px 16px; border: 1px solid #2A3450; border-radius: 12px; background: #0E1528; color: #E7EBF5; box-shadow: 0 12px 32px rgba(0, 0, 0, .45); font: 400 14px/1.4 Poppins, system-ui, sans-serif; }
.consent-minimized .consent-button.is-primary { flex: none; min-height: 44px; padding: 8px 16px; font-size: 14px; }
