dialog.linsi-system-dialog { box-sizing:border-box; width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); margin:auto; padding:0; overflow:auto; border:1px solid #e3e8f3; border-radius:22px; color:#25334e; background:#fff; box-shadow:0 24px 90px #1c31532e; font:14px/1.65 "Microsoft YaHei",system-ui,sans-serif; }
dialog.linsi-system-dialog::backdrop { background:#17263f66; backdrop-filter:blur(4px); }
.linsi-system-dialog .lsd-content { position:relative; display:block; margin:0; padding:28px; }
.linsi-system-dialog .lsd-brand { margin:0 0 14px; color:#63779d; font-size:12px; font-weight:600; letter-spacing:.08em; }
.linsi-system-dialog h2 { margin:0 30px 12px 0; font-size:20px; line-height:1.4; font-weight:700; }
.linsi-system-dialog #linsi-dialog-message { margin:0; color:#64728a; white-space:pre-wrap; overflow-wrap:anywhere; }
.linsi-system-dialog button { box-sizing:border-box; width:auto; min-height:42px; margin:0; padding:10px 20px; border-radius:11px; border:1px solid #dfe6f2; background:#fff; color:#405271; font:inherit; font-weight:600; cursor:pointer; box-shadow:none; }
.linsi-system-dialog button:focus-visible,.linsi-system-dialog input:focus-visible { outline:3px solid #a9baff; outline-offset:3px; }
.linsi-system-dialog .lsd-close { position:absolute; top:15px; right:15px; min-height:32px; width:32px; padding:0; border:0; color:#7c8aa1; background:transparent; font-size:24px; font-weight:400; }
.linsi-system-dialog .lsd-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:26px; }
.linsi-system-dialog .lsd-primary { background:#3563f6; border-color:#3563f6; color:white; }
.linsi-system-dialog .lsd-primary:hover { background:#2754e7; }
.linsi-system-dialog .lsd-cancel:hover { background:#f4f6fb; }
.linsi-system-dialog .lsd-input { box-sizing:border-box; display:block; width:100%; min-height:46px; margin-top:18px; padding:11px 13px; border:1px solid #dce4f2; border-radius:11px; color:inherit; background:#f7f9fd; font:inherit; }
html[data-theme="dark"] dialog.linsi-system-dialog { background:#202839; border-color:#39445a; color:#edf1fc; }
html[data-theme="dark"] .linsi-system-dialog #linsi-dialog-message { color:#bac5d9; }
html[data-theme="dark"] .linsi-system-dialog .lsd-input,html[data-theme="dark"] .linsi-system-dialog .lsd-cancel { background:#293449; border-color:#43516b; color:#e6ecfa; }
@media(max-width:600px) { .linsi-system-dialog .lsd-content { padding:24px; } .linsi-system-dialog .lsd-actions button { flex:1; min-height:46px; } .linsi-system-dialog .lsd-input { font-size:16px; } }
@media(prefers-reduced-motion:no-preference) { dialog.linsi-system-dialog[open] { animation:lsd-enter .16s ease-out; } @keyframes lsd-enter { from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none} } }
