/* Small first-entry card in the approved warm Povod shell. */
.povod-legal-dialog{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - var(--app-safe-top,0px) - var(--app-safe-bottom,0px) - 32px);margin:auto;padding:25px 24px 18px;border:1px solid #e6d9cf;border-radius:26px;background:linear-gradient(145deg,#fffaf5,#fffdfb);box-shadow:0 18px 70px #49312926;color:#433c38;font:400 14px/1.5 Onest,system-ui;overflow:auto;overscroll-behavior:contain}
.povod-legal-dialog::backdrop{background:#3b2e264d;backdrop-filter:blur(3px)}
.povod-legal-dialog h2{font-size:23px;font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}
.povod-legal-dialog p{margin:10px 0}.povod-legal-dialog a{color:#3376a1;text-decoration:underline;text-underline-offset:3px}.povod-legal-dialog a:focus-visible,.povod-legal-dialog button:focus-visible,.povod-legal-dialog input:focus-visible{outline:2px solid #3376a1;outline-offset:3px}
.povod-legal-dialog .legal-mark{width:98px;height:45px;object-fit:contain;display:block;margin:0 0 14px}
.povod-legal-dialog label{display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:0;padding:9px 0;font-size:14px;font-weight:400;cursor:pointer}.povod-legal-dialog input{width:19px;height:19px;flex-shrink:0;margin:2px 0;accent-color:#d78472}
.povod-legal-dialog small{display:block;font-size:12px;line-height:1.45;color:#776a61;margin-top:4px}.povod-legal-dialog button{border:0;border-radius:14px;width:100%;min-height:48px;background:#d98b78;color:#fff;font:500 15px Onest,system-ui;cursor:pointer}.povod-legal-dialog button:disabled{background:#e9ddd5;color:#796c65;cursor:default}
.povod-legal-dialog .legal-later{background:transparent;color:#786d65;min-height:44px;margin-top:4px}.povod-legal-dialog [role=status]{font-size:12px;margin:6px 0 0;color:#76655c;min-height:0}.povod-legal-dialog [role=status]:empty{display:none}.povod-legal-dialog .legal-choice{border-top:1px solid #eadfd5;margin:16px 0}
.povod-legal-reader{width:min(700px,calc(100vw - 24px));padding:0;border-radius:24px}.legal-reader-head{position:sticky;top:0;background:#fffaf5;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eadfd5}.povod-legal-reader .legal-reader-head button{width:auto;min-width:80px;background:#f2e6dc;color:#5a4c43;padding:0 14px;font-size:13px}.legal-reader-content{padding:18px 22px 26px;overflow-wrap:anywhere}.legal-reader-content h1{font-size:24px;line-height:1.25;font-weight:500;margin:0 0 15px}.legal-reader-content h2{font-size:18px;margin:24px 0 10px}.legal-reader-content p{font-size:14px;line-height:1.65}
@media(max-width:480px){.povod-legal-dialog{padding:21px 20px 14px;margin:auto auto max(14px,var(--app-safe-bottom,14px));border-radius:24px}.povod-legal-dialog h2{font-size:22px}.povod-legal-reader{padding:0;margin:auto}.povod-legal-reader .legal-reader-content{padding:16px 18px}}
@media(prefers-reduced-motion:no-preference){.povod-legal-dialog[open]{animation:legal-appear .16s ease-out}@keyframes legal-appear{from{opacity:0;translate:0 7px}to{opacity:1;translate:0 0}}}

@media(max-height:650px){.povod-legal-dialog:not(.povod-legal-reader){padding:16px 18px 12px}.povod-legal-dialog .legal-mark{height:32px;margin-bottom:8px}.povod-legal-dialog:not(.povod-legal-reader) h2{font-size:20px;margin-bottom:9px}.povod-legal-dialog .legal-choice{margin:10px 0}.povod-legal-dialog label{padding:6px 0}}

/* Compact first-entry glass; signed document contents remain separate. */
body .povod-legal-dialog:not(.povod-legal-reader){box-sizing:border-box;width:min(352px,calc(100vw - 28px));padding:18px 18px 12px;background:#fffdf9d9;border:1px solid #ffffffd9;border-radius:23px;backdrop-filter:blur(16px) saturate(1.12);box-shadow:inset 0 1px 0 #fff,0 14px 42px #49312924;font-size:12px;line-height:1.4}
body .povod-legal-dialog:not(.povod-legal-reader) .legal-mark{width:92px;height:42px;margin:0 auto 9px}
body .povod-legal-dialog:not(.povod-legal-reader) h2{font-size:20px;font-weight:550;line-height:1.2;letter-spacing:-.02em;margin:0 0 8px}
body .povod-legal-dialog:not(.povod-legal-reader) p{margin:7px 0}
body .povod-legal-dialog a{color:#a95a45;outline-color:#d78472}
body .povod-legal-dialog:not(.povod-legal-reader) .legal-choice{margin:10px 0 6px}
body .povod-legal-dialog:not(.povod-legal-reader) label{font-size:12px;line-height:1.4;gap:8px;min-height:36px;padding:7px 0}
body .povod-legal-dialog:not(.povod-legal-reader) input{width:17px;height:17px;margin:1px 0;accent-color:#F47B5C}
body .povod-legal-dialog:not(.povod-legal-reader) small{font-size:10px;line-height:1.35;margin-top:3px}
body .povod-legal-dialog:not(.povod-legal-reader) [type=submit]{min-height:42px;border-radius:999px;background:linear-gradient(#ffffff24,transparent 48%,#873d2510),#F47B5C;color:#3A312B;font-size:13px;box-shadow:inset 0 1px 0 #ffffffa6,inset 0 -2px 3px #a7492a1a,0 4px 10px #cb725329}
body .povod-legal-dialog:not(.povod-legal-reader) [type=submit]:disabled{background:#e9e6e2;color:#9b9590;box-shadow:inset 0 1px 0 #fff}
body .povod-legal-dialog:not(.povod-legal-reader) .legal-later{min-height:32px;margin-top:2px;font-size:11px}
@media(max-height:650px){body .povod-legal-dialog:not(.povod-legal-reader){padding:14px 16px 9px}body .povod-legal-dialog:not(.povod-legal-reader) .legal-mark{height:32px;margin-bottom:6px}}
@media(prefers-reduced-transparency:reduce){body .povod-legal-dialog{background:#fffdf9;backdrop-filter:none}}

body.povod-native-header .povod-legal-reader{margin:calc(var(--app-safe-top,0px) + 10px) auto max(14px,var(--app-safe-bottom,14px))}

.povod-legal-dialog .povod-news-entry-note{font-size:10px;line-height:1.4;margin-top:5px}
