.psn-dialog {
	--psn-primary: #155eef;
	--psn-background: #fff;
	--psn-text: #182230;
	--psn-button: #155eef;
	--psn-button-text: #fff;
	--psn-width: 560px;
	--psn-radius: 18px;
	--psn-spacing: 34px;
	--psn-border-style: 1px solid rgba(16, 24, 40, .08);
	box-sizing: border-box;
	width: min(var(--psn-width), calc(100vw - 32px));
	max-width: none;
	max-height: min(90dvh, 820px);
	padding: 0;
	border: 0;
	border-radius: var(--psn-radius);
	color: var(--psn-text);
	background: transparent;
	overflow: visible;
	font: inherit;
}
.psn-dialog [hidden], .psn-inline-slot[hidden] { display: none !important; }
.psn-dialog button { box-sizing: border-box; font-family: inherit; text-transform: none; }
.psn-dialog[open] { display: block; }
.psn-dialog--fallback[open] { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; box-sizing: border-box; width: auto; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; border-radius: 0; overflow: auto; background: rgba(16, 24, 40, .62); }
.psn-dialog--fallback.psn-dialog--bottom[open] { align-items: end; }
.psn-dialog--fallback .psn-dialog__surface { width: min(var(--psn-width), 100%); }
body.psn-dialog-open { overflow: hidden; }
.psn-dialog::backdrop { background: rgba(16, 24, 40, .62); backdrop-filter: blur(3px); }
.psn-dialog__surface {
	position: relative;
	box-sizing: border-box;
	max-height: min(90dvh, 820px);
	overflow-y: auto;
	padding: clamp(20px, 5vw, var(--psn-spacing));
	border: var(--psn-border-style);
	border-radius: var(--psn-radius);
	background: var(--psn-background);
	box-shadow: 0 24px 64px rgba(16, 24, 40, .25);
}
.psn-dialog--animated[open] .psn-dialog__surface { animation: psn-enter .18s ease-out both; }
.psn-dialog--bottom { margin: auto auto 0; }
.psn-dialog__close { position: absolute; top: 14px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #667085; background: transparent; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.psn-dialog__logo { display: block; max-width: min(180px, 60%); max-height: 64px; margin: 0 0 18px; object-fit: contain; object-position: left center; }
.psn-dialog__close:hover, .psn-dialog__close:focus-visible { color: var(--psn-text); background: #f2f4f7; }
.psn-dialog__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 0 18px; border-radius: 16px; color: var(--psn-primary); background: #eef4ff; background: color-mix(in srgb, var(--psn-primary) 10%, white); }
.psn-dialog__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.psn-dialog__eyebrow { margin-bottom: 8px; color: var(--psn-primary); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.psn-dialog__surface h2 { margin: 0 44px 10px 0; color: var(--psn-text); font-size: clamp(22px, 4vw, 29px); font-weight: 700; line-height: 1.2; }
.psn-dialog__subtitle { margin: 0 0 12px; color: var(--psn-text); font-size: 16px; line-height: 1.55; }
.psn-dialog__body { color: var(--psn-text); font-size: 15px; line-height: 1.65; }
.psn-dialog__body p { margin: 0 0 12px; }
.psn-dialog__body p:last-child { margin-bottom: 0; }
.psn-dialog__body a { color: var(--psn-primary); text-decoration: underline; }
.psn-dialog__reference { margin-top: 18px; padding: 14px 16px; border: 1px solid #d0d5dd; border-radius: 12px; background: #f9fafb; }
.psn-dialog__reference span, .psn-dialog__reference strong { display: block; }
.psn-dialog__reference span { margin-bottom: 4px; color: #667085; font-size: 12px; }
.psn-dialog__reference strong { overflow-wrap: anywhere; font-size: 15px; }
.psn-dialog__guidance { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.psn-dialog__guidance li { position: relative; padding-left: 28px; color: var(--psn-text); font-size: 14px; line-height: 1.55; }
.psn-dialog__guidance li::before { position: absolute; top: .1em; left: 0; width: 18px; height: 18px; border-radius: 50%; color: var(--psn-primary); background: #eef4ff; background: color-mix(in srgb, var(--psn-primary) 11%, white); content: '✓'; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
.psn-dialog__actions { display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 28px; }
.psn-button { min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.psn-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--psn-primary) 40%, white); outline-offset: 2px; }
.psn-button--primary { color: var(--psn-button-text); background: var(--psn-button); }
.psn-button--primary:hover { filter: brightness(.94); }
.psn-button--secondary { border-color: #d0d5dd; color: #344054; background: #fff; }
.psn-button--secondary:hover { background: #f9fafb; }
.psn-inline-slot { margin: 12px 0 18px; padding: 16px 18px; border: 1px solid #b2ccff; border-left: 4px solid var(--psn-primary, #155eef); border-radius: 10px; color: #344054; background: #eff4ff; font-size: 14px; line-height: 1.55; }
.psn-inline-slot strong { display: block; margin-bottom: 6px; color: #182230; }
.psn-inline-slot ul { margin: 8px 0 0 20px; }
@keyframes psn-enter { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 560px) { .psn-dialog__actions { flex-direction: row; justify-content: flex-end; } .psn-button--primary { order: 2; } }
@media (max-width: 480px) { .psn-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); } .psn-dialog__surface { max-height: calc(100dvh - 20px); padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); } .psn-dialog--bottom { margin-bottom: 0; align-self: end; } .psn-dialog__actions { margin-top: 22px; } }
@media (prefers-reduced-motion: reduce) { .psn-dialog--animated[open] .psn-dialog__surface { animation: none; } .psn-button { transition: none; } }
