.so-dialog { width: min(780px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #0b1930; color: var(--text); overflow: auto; }
.so-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.so-dialog h3 { margin: 0 0 8px; }.so-dialog h4 { margin: 0 0 10px; }
.so-dialog p { line-height: 1.65; font-size: 13px; overflow-wrap: anywhere; }
.so-header, .so-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.so-header > div { min-width: 0; }.so-header > button { flex: 0 0 auto; }
.so-steps { display: flex; list-style: none; gap: 10px; margin: 20px 0; padding: 0; font-size: 13px; }
.so-steps li { flex: 1; padding: 10px 8px; background: rgba(122, 167, 199, .08); color: var(--muted); border-radius: 7px; text-align: center; }
.so-steps .is-current { color: var(--cyan); background: rgba(0, 229, 255, .1); }.so-steps .is-done { color: var(--green); }
.so-counts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: 12px; color: var(--muted); }
.so-panel, .so-group { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.so-form { display: grid; gap: 13px; margin-top: 12px; }.so-form > label { font-size: 13px; }
.so-form input:not([type=checkbox]), .so-form select, .so-form textarea { width: 100%; margin: 5px 0 0; }
.so-form > button { justify-self: start; }.so-form textarea { min-height: 80px; resize: vertical; }
.so-confirm { display: flex; align-items: flex-start; gap: 8px; line-height: 1.55; }.so-confirm input { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.so-item { padding: 13px 0; border-bottom: 1px solid rgba(122, 167, 199, .15); }.so-item:last-child { border-bottom: none; }
.so-item > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14px; }.so-item > summary > span:first-child { overflow-wrap: anywhere; }
.so-hint { color: var(--cyan); font-size: 12px; flex: 0 0 auto; }.so-item > p { margin-top: 8px; }
.so-notice, .so-conflict { margin: 12px 0; padding: 12px; border-radius: 8px; background: rgba(0, 229, 255, .07); }.so-conflict { background: rgba(255, 171, 0, .08); }.so-conflict button { margin-top: 8px; }
.so-history { margin-top: 20px; }.so-history summary { cursor: pointer; color: var(--muted); }.so-history article { margin-top: 12px; font-size: 13px; }
.so-footer { margin-top: 20px; padding: 12px 0; background: #0b1930; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .so-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 16px; }.so-panel, .so-group { padding: 12px; }.so-steps { gap: 5px; font-size: 12px; } }
