.distribution-dialog-v521{width:min(920px,calc(100vw - 28px));max-height:92vh;border:0;border-radius:18px;padding:0;box-shadow:0 24px 80px rgba(22,38,47,.28)}.distribution-dialog-v521::backdrop{background:rgba(16,28,34,.52)}.distribution-builder-v521{padding:22px;display:grid;gap:14px}.distribution-head-v521{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.distribution-head-v521 h2{margin:2px 0 5px}.distribution-head-v521 p{margin:0;color:#52666f;max-width:70ch}.dialog-close-v521{border:0;background:#edf2f4;color:#213a46;border-radius:999px;width:34px;height:34px;font-size:1.5rem;line-height:1;cursor:pointer;flex:0 0 auto}.builder-step-v521{display:grid;grid-template-columns:36px 1fr;gap:12px;border:1px solid #d7e0e4;border-radius:14px;padding:14px;background:#fff}.step-no-v521{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#213a46;color:#fff;font-weight:800}.builder-step-v521 h3{margin:2px 0 10px;font-size:1rem}.choice-grid-v521{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.choice-grid-v521 label{display:flex;gap:8px;align-items:flex-start;border:1px solid #d6e0e4;border-radius:10px;padding:10px;cursor:pointer}.choice-grid-v521 label:has(input:checked){border-color:#213a46;background:#f3f7f8}.choice-grid-v521 span{display:grid;gap:2px}.choice-grid-v521 small{color:#60727b;font-weight:400}.check-grid-v521{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.check-grid-v521 label{display:flex;align-items:flex-start;gap:8px}.stack-v521{display:grid;gap:6px;margin-top:10px;font-weight:700}.stack-v521 textarea,.stack-v521 select{width:100%}.distribution-tip-v521{margin-top:10px;border-left:4px solid #213a46;background:#f3f7f8;padding:10px 12px;border-radius:0 8px 8px 0;color:#425760}.email-actions-v521{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.distribution-builder-v521>.row.end{justify-content:flex-end}@media(max-width:720px){.distribution-builder-v521{padding:15px}.choice-grid-v521,.check-grid-v521{grid-template-columns:1fr}.builder-step-v521{grid-template-columns:30px 1fr}.email-actions-v521 .btn{width:100%}}

/* v5.0.26 – clearer A4 builder layout */
.orientation-choice-v526{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
.orientation-choice-v526 label{display:flex;align-items:flex-start;gap:8px;border:1px solid #d6e0e4;border-radius:10px;padding:10px;cursor:pointer;background:#fff}
.orientation-choice-v526 label:has(input:checked){border-color:#213a46;background:#f3f7f8;box-shadow:inset 0 0 0 1px #213a46}
.orientation-choice-v526 input{width:16px!important;height:16px!important;min-width:16px!important;padding:0!important;margin:2px 0 0!important;accent-color:#213a46}
.orientation-choice-v526 span{display:grid;gap:2px}
.orientation-choice-v526 small{font-weight:400;color:#60727b;line-height:1.35}
@media(max-width:720px){.orientation-choice-v526{grid-template-columns:1fr}}
