@font-face { font-family: ZreevPrivacy; src: url('/assets/plus-jakarta-sans-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: ZreevPrivacy; src: url('/assets/plus-jakarta-sans-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
.za-settings, .za-dialog { font-family: ZreevPrivacy, sans-serif; color: #111827; font-size: .875rem; line-height: 1.6; box-sizing: border-box; }
.za-settings { position: fixed; bottom: 1rem; left: 1rem; z-index: 90; padding: .5rem .75rem; border: 1px solid #2f6bff; border-radius: 12px; background: #fff; color: #2f6bff; cursor: pointer; }
.za-settings-inline { appearance: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
dialog.za-dialog { width: min(56rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 1px solid #e5eaf2; border-radius: 12px; background: #fff; color-scheme: light; isolation: isolate; overflow-y: auto; overscroll-behavior: contain; }
dialog.za-dialog::backdrop { background: rgb(17 24 39 / 55%); }
.za-dialog .za-heading, .za-dialog .za-tabs, .za-dialog .za-tab-panel, .za-dialog .za-categories, .za-dialog .za-category, .za-dialog .za-footer { background-color: #fff; }
html:has(dialog.za-dialog[open]) { overflow: hidden; }
html:has(dialog.za-dialog[open]) .za-settings { visibility: hidden; }
.za-dialog [hidden], .za-dialog[hidden] { display: none !important; }
.za-dialog *, .za-dialog *::before, .za-dialog *::after { box-sizing: border-box; }
.za-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; }
.za-heading h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 600; margin: 0; color: #111827; }
.za-logo { width: 5.5rem; height: 2rem; object-fit: contain; }
.za-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid #e5eaf2; }
.za-dialog .za-tab { min-height: 3.5rem; padding: .75rem .5rem; border: 0; border-bottom: 3px solid transparent; background: #fff; color: #111827; font: inherit; font-weight: 600; cursor: pointer; }
.za-dialog .za-tab[aria-selected='true'] { background: #2f6bff; color: #fff; border-bottom-color: #2f6bff; }
.za-tab-panel { padding: 1.25rem 1.5rem; overflow-wrap: anywhere; }
.za-tab-panel h3 { margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; color: #111827; }
.za-tab-panel p { margin: 0 0 .75rem; }
.za-tab-panel p:last-child { margin-bottom: 0; }
.za-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid #e5eaf2; }
.za-category { position: relative; display: flex; flex-direction: column; align-items: center; gap: .625rem; margin: 0; padding: 1.25rem .75rem; cursor: pointer; }
.za-category + .za-category { border-left: 1px solid #e5eaf2; }
.za-category-name { font-weight: 600; }
.za-category-status { font-size: .75rem; color: #475569; }
.za-switch-input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.za-switch { position: relative; display: block; width: 3.25rem; height: 1.875rem; flex-shrink: 0; border-radius: 2rem; background: #64748b; transition: background .15s ease; }
.za-switch::after { content: ''; position: absolute; width: 1.375rem; height: 1.375rem; top: .25rem; left: .25rem; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.za-switch-input:checked + .za-switch { background: #2f6bff; }
.za-switch-input:checked + .za-switch::after { transform: translateX(1.375rem); }
.za-switch-input:disabled + .za-switch { opacity: .7; }
.za-footer { padding: 1rem 1.5rem 1.5rem; background: #fff; }
.za-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.za-actions button { min-height: 3rem; padding: .65rem .75rem; background: #fff; border: 1px solid #2f6bff; color: #2f6bff; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 600; }
.za-actions button:disabled { opacity: .6; cursor: wait; }
.za-error { margin: 0 0 .75rem; color: #b42318; overflow-wrap: anywhere; }
.za-error:empty { display: none; }
.za-state { padding: .75rem; border: 1px solid #e5eaf2; border-radius: 12px; }
.za-policy { display: inline-block; color: #2f6bff; text-decoration: underline; }
.za-form-notice { font-size: .875rem; line-height: 1.6; color: #111827; }
.za-form-notice a { color: #2f6bff; text-decoration: underline; }
.za-actions button:focus-visible, .za-settings:focus-visible, .za-settings-inline:focus-visible, .za-policy:focus-visible, .za-switch-input:focus-visible + .za-switch { outline: 2px solid #2f6bff; outline-offset: 3px; }
.za-dialog .za-tab:focus { outline: none; }
.za-dialog .za-tab:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
@media (max-width: 600px) {
  dialog.za-dialog { width: calc(100% - 1.5rem); max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); background: #fff; }
  .za-heading, .za-tab-panel { padding: 1rem; }
  .za-heading h2 { font-size: 1.125rem; }
  .za-logo { width: 4.5rem; }
  .za-footer { padding: 1rem; }
  .za-actions { grid-template-columns: 1fr; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .za-switch, .za-switch::after { transition: none; } }

