/* Datamac Shield – cookie banner (bottom-left) + circular cookie button */
.dms-consent { --dms-ink: #0F172A; --dms-text: #334155; --dms-line: #E2E8F0; --dms-blue: #1D4ED8; --dms-blue-2: #0047FF; --dms-tint: #EEF2FF;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
.dms-consent[hidden], .dms-consent [hidden] { display: none !important; }

.dms-fab { position: fixed; left: 20px; bottom: 20px; z-index: 99998; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid var(--dms-line);
  background: #FFFFFF; color: var(--dms-blue); box-shadow: 0 10px 30px -6px rgba(15, 23, 42, .25); transition: transform .15s, box-shadow .15s; }
.dms-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -6px rgba(0, 71, 255, .35); }
.dms-fab:focus-visible, .dms-btn:focus-visible, .dms-inline-btn:focus-visible, .dms-switch:focus-visible, .dms-panel a:focus-visible { outline: 3px solid var(--dms-blue-2); outline-offset: 3px; }

.dms-panel { position: fixed; left: 20px; bottom: 88px; z-index: 99999; width: min(420px, calc(100vw - 40px)); max-height: calc(100vh - 120px); overflow: auto;
  background: #FFFFFF; color: var(--dms-text); border: 1px solid var(--dms-line); border-radius: 20px; padding: 22px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, .22); }
.dms-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.dms-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dms-tint); color: var(--dms-blue); flex: none; }
.dms-badge svg { width: 22px; height: 22px; }
.dms-panel h2 { margin: 0; padding: 0; font: 700 18px/1.3 "Plus Jakarta Sans", "Inter", system-ui, sans-serif; color: var(--dms-ink); }
.dms-panel p { margin: 0 0 14px; padding: 0; font-size: 14px; line-height: 1.55; color: var(--dms-text); }
.dms-panel a { color: var(--dms-blue); text-decoration: underline; }

.dms-prefs { margin: 0 0 14px; border-top: 1px solid var(--dms-line); }
.dms-cat { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--dms-line); cursor: pointer; }
.dms-cat-text strong { display: block; font-size: 14px; color: var(--dms-ink); }
.dms-cat-text small { display: block; font-size: 12.5px; line-height: 1.45; color: #475569; margin-top: 2px; }
.dms-switch { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 26px; border-radius: 999px; background: #CBD5E1; position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.dms-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .15s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.dms-switch:checked { background: var(--dms-blue); }
.dms-switch:checked::after { transform: translateX(18px); }
.dms-switch:disabled { opacity: .6; cursor: not-allowed; }

.dms-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Reject and Accept look the same on purpose: no nudging (NDPA/GAID fairness). */
.dms-btn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--dms-blue); background: #FFFFFF; color: var(--dms-blue);
  font: 600 14px/1 "Inter", system-ui, sans-serif; cursor: pointer; }
.dms-btn:hover { background: var(--dms-tint); }
.dms-btn-link { grid-column: 1 / -1; border-color: transparent; text-decoration: underline; min-height: 36px; }
.dms-btn-solid { grid-column: 1 / -1; background: var(--dms-blue); color: #FFFFFF; }
.dms-btn-solid:hover { background: var(--dms-blue-2); }
.dms-inline-btn { background: none; border: 0; padding: 0; color: #1D4ED8; text-decoration: underline; font: inherit; cursor: pointer; }

.dms-table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid #E2E8F0; border-radius: 12px; }
.dms-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; margin: 0; border: 0; }
.dms-table th, .dms-table td { text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid #F1F5F9; vertical-align: top; color: #334155; }
.dms-table thead th { background: #F8FAFC; color: #0F172A; font-weight: 600; }

@media (max-width: 480px) {
  .dms-fab { left: 14px; bottom: 14px; width: 52px; height: 52px; }
  .dms-panel { left: 10px; right: 10px; bottom: 76px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .dms-fab, .dms-switch, .dms-switch::after { transition: none; } }
