
  #aia-pdpa-banner, #aia-pdpa-banner *,
  #aia-pdpa-modal-backdrop, #aia-pdpa-modal-backdrop * {
    box-sizing: border-box;
    font-family: "Sarabun", Tahoma, Arial, sans-serif;
  }
  #aia-pdpa-banner {
    display: none;
    position: fixed;
    left: 12px;
    right: auto;
    bottom: 8px;
    width: auto;
    max-width: 640px;
    z-index: 2147483000;
    background: rgba(39, 48, 56, 0.90);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    padding: 5px 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  #aia-pdpa-banner.is-visible {
    display: block;
  }
  .aia-pdpa-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .aia-pdpa-bar-text {
    flex: 1 1 auto;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.35;
    color: #cbd5e1;
    margin: 0;
  }
  .aia-pdpa-bar-text a {
    color: #cbd5e1 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    font-weight: 400;
    opacity: 0.88;
  }
  .aia-pdpa-bar-text a:hover {
    color: #ffffff !important;
    opacity: 1;
  }
  .aia-pdpa-bar-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    flex: 0 0 auto;
  }
  .aia-pdpa-cbtn {
    appearance: none;
    border-radius: 5px;
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    min-height: 0 !important;
    height: auto !important;
  }
  .aia-pdpa-cbtn--accept {
    background: rgba(255, 255, 255, 0.17) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #f1f5f9 !important;
  }
  .aia-pdpa-cbtn--accept:hover {
    background: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
  }
  .aia-pdpa-cbtn--necessary {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
    font-weight: 400;
  }
  .aia-pdpa-cbtn--necessary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
  }
  .aia-pdpa-cbtn--settings {
    background: transparent !important;
    border: none !important;
    padding: 3px 4px !important;
    color: #94a3b8 !important;
    font-size: 11px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .aia-pdpa-cbtn--settings:hover {
    color: #e2e8f0 !important;
  }

  /* Compact Neutral Preferences Modal */
  #aia-pdpa-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2147483640;
    background: rgba(15, 23, 42, 0.52);
    align-items: center;
    justify-content: center;
    padding: 14px;
  }
  #aia-pdpa-modal-backdrop.is-open {
    display: flex;
  }
  .aia-pdpa-modal {
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    background: #ffffff;
    color: #1e293b;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    border: 1px solid #e2e8f0;
  }
  .aia-pdpa-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px 14px 0 0;
  }
  .aia-pdpa-modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
  }
  .aia-pdpa-modal-close {
    appearance: none;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .aia-pdpa-modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
  }
  .aia-pdpa-modal-body {
    padding: 14px 16px;
  }
  .aia-pdpa-modal-desc {
    margin: 0 0 11px;
    font-size: 12.5px;
    line-height: 1.55;
    color: #475569;
  }
  .aia-pdpa-modal-desc a {
    color: #334155 !important;
    font-weight: 600;
    text-decoration: underline !important;
  }
  .aia-pdpa-cat {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 8px;
    background: #f8fafc;
  }
  .aia-pdpa-cat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 2px;
  }
  .aia-pdpa-cat-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
  }
  .aia-pdpa-cat-desc {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.45;
    color: #64748b;
  }
  .aia-pdpa-always {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .aia-pdpa-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    flex: 0 0 38px;
    margin: 0;
  }
  .aia-pdpa-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  .aia-pdpa-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    transition: 0.18s;
    border-radius: 999px;
  }
  .aia-pdpa-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: 0.18s;
    border-radius: 50%;
  }
  .aia-pdpa-switch input:checked + .aia-pdpa-slider {
    background-color: #334155;
  }
  .aia-pdpa-switch input:checked + .aia-pdpa-slider:before {
    transform: translateX(18px);
  }
  .aia-pdpa-modal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 11px 16px 13px;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
  }
  .aia-pdpa-mbtn {
    appearance: none;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff !important;
    color: #475569 !important;
  }
  .aia-pdpa-mbtn:hover {
    background: #f1f5f9 !important;
  }
  .aia-pdpa-mbtn--save {
    background: #475569 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
  }
  .aia-pdpa-mbtn--all {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
  }

  @media (max-width: 768px) {
    #aia-pdpa-banner {
      left: 6px;
      right: 6px;
      bottom: 6px;
      max-width: none;
      padding: 5px 8px;
      border-radius: 6px;
    }
    .aia-pdpa-bar-inner {
      flex-direction: row;
      align-items: center;
      gap: 6px;
    }
    .aia-pdpa-bar-text {
      font-size: 10.5px;
      line-height: 1.3;
    }
    .aia-pdpa-bar-actions {
      gap: 4px;
    }
    .aia-pdpa-cbtn {
      padding: 3px 7px;
      font-size: 10.5px;
    }
    .aia-pdpa-cbtn--settings {
      padding: 3px 2px !important;
      font-size: 10px;
    }
  }
