.policy-modal { box-sizing: border-box; width: min(52rem, calc(100% - 2rem)); max-height: 85dvh; overflow: auto; padding: clamp(1rem, 4vw, 2rem); border: 1px solid #997440; border-radius: 12px; background: #fffdf8; color: #28251e; line-height: 1.8; overflow-wrap: anywhere; }
.policy-modal::backdrop { background: rgb(0 0 0 / 65%); }
.policy-modal-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.policy-modal-controls form { margin: 0; }
.policy-modal-controls button { cursor: pointer; padding: .5rem 1rem; border: 1px solid #765d34; border-radius: 6px; background: #fff; color: #28251e; font: inherit; }
.policy-modal h2 { line-height: 1.3; }
.policy-modal a { color: #604515; text-decoration: underline; }
.policy-modal :focus-visible { outline: 3px solid #386e9d; outline-offset: 3px; }
.policy-modal[lang="fa"] { font-family: Tahoma, system-ui, sans-serif; }
