:root {
  --aitc-accent: var(--wp--preset--color--blue-bright, var(--wp--preset--color--blue, #1683ff));
  --aitc-accent-ink: #fff;
  --aitc-ink: var(--wp--preset--color--contrast, #17202a);
  --aitc-bg: var(--wp--preset--color--base, #fff);
  --aitc-muted: color-mix(in srgb, var(--aitc-ink) 68%, transparent);
  --aitc-line: color-mix(in srgb, var(--aitc-ink) 18%, transparent);
  --aitc-radius: var(--wp--custom--border--radius, 8px);
  --aitc-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.aitc-lock { overflow: hidden; }
.aitc-root[hidden], .aitc-root [hidden] { display: none !important; }
.aitc-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  color: var(--aitc-ink);
  font-family: var(--aitc-font, var(--wp--preset--font-family--system, system-ui, -apple-system, "Segoe UI", sans-serif));
  line-height: 1.5;
}
.aitc-backdrop { position: absolute; inset: 0; background: rgba(10, 22, 18, .56); backdrop-filter: blur(3px); }
.aitc-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  transform: translate(-50%, -50%);
  background: var(--aitc-bg);
  border: 1px solid var(--aitc-line);
  border-radius: var(--aitc-radius);
  box-shadow: var(--aitc-shadow);
}
.aitc-summary, .aitc-details { padding: clamp(24px, 5vw, 44px); }
.aitc-kicker { margin: 0 0 6px; color: var(--aitc-muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.aitc-panel h2 { margin: 0 0 14px; color: var(--aitc-ink); font-size: clamp(24px, 4vw, 34px); line-height: 1.15; }
.aitc-panel p { margin: 0; color: var(--aitc-muted); }
.aitc-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.aitc-panel button { appearance: none; border: 0; border-radius: var(--aitc-radius); padding: 12px 19px; font: inherit; font-weight: 800; cursor: pointer; }
.aitc-primary { background: var(--aitc-accent); color: var(--aitc-accent-ink, #fff); }
.aitc-secondary { background: transparent; color: var(--aitc-ink); border: 1px solid var(--aitc-line) !important; }
.aitc-link-button, .aitc-open-link { background: transparent !important; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.aitc-footer { display: flex; gap: 16px; flex-wrap: wrap; padding: 14px 28px; border-top: 1px solid var(--aitc-line); font-size: 12px; color: var(--aitc-muted); }
.aitc-footer a { color: inherit; }
.aitc-footer span { margin-left: auto; }
.aitc-head { display: flex; justify-content: space-between; gap: 20px; }
.aitc-x { background: transparent !important; color: var(--aitc-ink); font-size: 26px !important; padding: 0 4px !important; }
.aitc-category { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--aitc-line); }
.aitc-category strong { display: block; }
.aitc-category p { font-size: 13px; }
.aitc-always { color: var(--aitc-muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.aitc-switch input { position: absolute; opacity: 0; }
.aitc-switch i { display: block; position: relative; width: 46px; height: 26px; border-radius: 99px; background: color-mix(in srgb, var(--aitc-ink) 35%, var(--aitc-bg)); transition: .2s; }
.aitc-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; }
.aitc-switch input:checked + i { background: var(--aitc-accent); }
.aitc-switch input:checked + i::after { transform: translateX(20px); }
.aitc-switch input:focus-visible + i { outline: 2px solid var(--aitc-accent); outline-offset: 3px; }
.aitc-bottom .aitc-panel { left: 16px; right: 16px; bottom: 16px; top: auto; width: auto; max-width: 1080px; margin: auto; transform: none; }
.aitc-consent-group { margin-top: 18px; overflow: hidden; border: 1px solid var(--aitc-line); border-radius: var(--aitc-radius); }
.aitc-consent-group .aitc-category { margin: 0; padding: 16px; background: color-mix(in srgb, var(--aitc-ink) 5%, transparent); }
.aitc-service-card { padding: 15px 16px; border-top: 1px solid var(--aitc-line); }
.aitc-service-card.aitc-necessary { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 20px; border: 1px solid var(--aitc-line); border-radius: var(--aitc-radius); }
.aitc-service-card p { font-size: 13px; }
.aitc-service-choice { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: var(--aitc-ink); cursor: pointer; }
.aitc-service-choice strong, .aitc-service-choice small { display: block; }
.aitc-service-choice small { margin-top: 2px; color: var(--aitc-muted); }
.aitc-service-card details, .aitc-service-details details { margin-top: 10px; font-size: 13px; }
.aitc-service-card summary, .aitc-service-details summary { color: var(--aitc-muted); font-weight: 700; cursor: pointer; }
.aitc-service-card dl, .aitc-service-details dl { display: grid; grid-template-columns: minmax(90px, 125px) 1fr; gap: 6px 12px; margin: 10px 0 0; }
.aitc-service-card dt, .aitc-service-details dt { color: var(--aitc-muted); font-weight: 700; }
.aitc-service-card dd, .aitc-service-details dd { margin: 0; overflow-wrap: anywhere; }
.aitc-service-details { margin-top: 22px; }
.aitc-service-details h3 { margin: 0 0 10px; font-size: 1rem; }
.aitc-policy-table { overflow-x: auto; }
.aitc-policy table { width: 100%; margin-bottom: 28px; border-collapse: collapse; }
.aitc-policy th, .aitc-policy td { padding: 10px; text-align: left; vertical-align: top; border: 1px solid currentColor; }
.aitc-open-link { padding: 0 !important; }
.aitc-policy-link { color: inherit; }
@media (max-width: 600px) {
  .aitc-panel { left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 94vh; transform: none; border-radius: 18px 18px 0 0; }
  .aitc-summary, .aitc-details { padding: 24px 20px; }
  .aitc-actions { align-items: stretch; }
  .aitc-actions button { width: 100%; }
  .aitc-footer span { width: 100%; margin: 0; }
  .aitc-service-card dl, .aitc-service-details dl { grid-template-columns: 1fr; gap: 2px; }
  .aitc-service-card dd, .aitc-service-details dd { margin-bottom: 7px; }
}
