.duppo-legal-consent{display:flex;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px;line-height:1.6;grid-column:1/-1}
.duppo-legal-consent>input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:0;margin:3px 0 0;padding:0;accent-color:var(--blue,var(--primary,#315578))}
.duppo-legal-consent>span{min-width:0}.duppo-legal-consent a{color:var(--blue,var(--primary,#315578));text-decoration:underline;text-underline-offset:3px}
.duppo-legal-consent label,.public-form .duppo-legal-consent label{display:inline;font:inherit;color:inherit;cursor:pointer;margin:0}
html.duppo-legal-scroll-lock{overflow:hidden!important;overscroll-behavior:none}
dialog.duppo-legal-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid var(--border,#d9e0e8);border-radius:18px;background:var(--surface,var(--panel,#fff));color:var(--text,#162238);box-shadow:0 24px 80px #09152545;overflow:hidden;font-family:inherit}
dialog.duppo-legal-dialog:not([open]){display:none}dialog.duppo-legal-dialog::backdrop{background:#0c1828a8}
.duppo-legal-shell{display:flex;flex-direction:column;max-height:calc(100vh - 42px);max-height:calc(100dvh - 42px)}
.duppo-legal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid var(--border,#e1e6ec);flex:none}
.duppo-legal-header h2{margin:0;font-size:23px;line-height:1.3;font-weight:700}
.duppo-legal-dialog button.duppo-legal-x{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;margin:0;padding:0;border:1px solid var(--border,#d9e0e8);border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:28px;line-height:1;cursor:pointer}
.duppo-legal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:24px 26px;line-height:1.75;font-size:15px;overflow-wrap:anywhere;scrollbar-gutter:stable}
.duppo-legal-body h3{font-size:19px;line-height:1.4;margin:0 0 18px}.duppo-legal-body p{margin:0 0 18px}.duppo-legal-body p:last-child{margin-bottom:0}
.duppo-legal-subtitle{color:var(--muted,#596779)}.duppo-legal-notice{padding:16px;background:var(--soft,#f5f7fa);border-radius:10px}
.duppo-legal-image,.duppo-legal-body img,.duppo-legal-body video{max-width:100%;height:auto;border-radius:10px}
.duppo-legal-footer{display:flex;justify-content:flex-end;padding:16px 26px;border-top:1px solid var(--border,#e1e6ec);flex:none}
.duppo-legal-dialog button.duppo-legal-close{width:auto;min-height:42px;padding:10px 22px;margin:0;border:0;border-radius:10px;background:var(--blue,var(--primary,#315578));color:#fff;font:inherit;font-weight:600;cursor:pointer}
.duppo-legal-dialog button:focus-visible,.duppo-legal-consent a:focus-visible{outline:3px solid var(--blue,var(--primary,#315578));outline-offset:3px}
html[data-theme=dark] .duppo-legal-dialog,html[data-duppo-theme=dark] .duppo-legal-dialog{background:var(--surface,var(--panel,#1c2736));color:var(--text,#e8edf4);border-color:var(--border,#3c4b5d)}
html[data-theme=dark] .duppo-legal-dialog button.duppo-legal-close,html[data-duppo-theme=dark] .duppo-legal-dialog button.duppo-legal-close{color:#101d35}
@media(max-width:600px){dialog.duppo-legal-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:14px}.duppo-legal-shell{max-height:calc(100vh - 26px);max-height:calc(100dvh - 26px)}.duppo-legal-header{padding:16px;gap:12px}.duppo-legal-header h2{font-size:20px}.duppo-legal-body{padding:18px 16px;font-size:14px}.duppo-legal-footer{padding:12px 16px}.duppo-legal-consent{font-size:13px}}
