.modal-shell-backdrop{position:fixed;z-index:var(--z-modal);inset:0;display:flex;align-items:center;justify-content:center;padding:var(--space-5);background:rgb(17 20 18/.66);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:modal-shell-backdrop-in .16s ease-out both}.modal-shell{--focus-ring-offset:var(--surface);display:flex;width:min(520px,100%);max-height:min(780px,calc(100dvh - 2 * var(--space-5)));flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-lg);animation:modal-shell-in .19s cubic-bezier(.2,.8,.2,1) both}@keyframes modal-shell-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes modal-shell-in{0%{opacity:0;transform:translateY(8px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion:reduce){.modal-shell,.modal-shell-backdrop{animation:none}}.modal-shell-body{display:flex;flex-direction:column;gap:var(--space-4);overflow-y:auto;padding:var(--space-5)}.modal-shell-body h2{margin:0;font-size:var(--text-xl)}.modal-shell-body p{margin:0;color:var(--muted);font-size:var(--text-md);line-height:1.5}.modal-shell-actions{display:flex;gap:var(--space-2);justify-content:flex-end;flex-wrap:wrap;padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);background:var(--background)}@media (max-width:480px){.modal-shell-actions{flex-direction:column-reverse}.modal-shell-actions>button{width:100%}}.modal-shell-field{display:flex;flex-direction:column;gap:6px}.modal-shell-field>span{color:var(--muted);font-size:var(--text-xs);font-weight:700;letter-spacing:.03em;text-transform:uppercase}.modal-shell-field input,.modal-shell-field textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:inherit;font:inherit}.modal-shell-field textarea{min-height:96px;resize:vertical}.modal-shell-field input:focus-visible,.modal-shell-field textarea:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}.modal-shell-field>small{color:var(--muted);font-size:var(--text-2xs)}