.system-popup[data-slot=dialog-content]{border:1px solid var(--border);border-radius:var(--app-card-radius,10px);background:var(--surface);width:min(32rem,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text-1);flex-direction:column;gap:16px;padding:24px;display:flex;overflow:hidden}.system-popup-title{margin:0;font-size:1.25rem;font-weight:600;line-height:1.35}.system-popup-title:focus{outline:none}.system-popup-body{overscroll-behavior:contain;overflow-wrap:anywhere;min-width:0;min-height:0;overflow-y:auto}.system-popup-footer{flex:none}.system-popup-footer :is(a,button){align-items:center;min-height:44px;display:inline-flex}.system-popup-footer :is(a,button):focus-visible{outline:2px solid var(--field-focus);outline-offset:3px}.system-popup-close{width:44px;height:44px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:3px;flex-shrink:0;place-items:center;padding:0;display:grid;position:absolute;top:8px;right:8px}.system-popup-close:hover{background:var(--bg-2);color:var(--text-1)}.system-popup-close:focus-visible{background:var(--bg-2);color:var(--button-fill);outline:none}.system-popup-error{color:var(--text-2);align-items:flex-start;gap:8px;font-size:.875rem;line-height:1.5;display:flex}.system-popup-error>svg{color:var(--amber);flex-shrink:0;margin-top:2px}@media (max-width:480px),(max-height:480px){.system-popup[data-slot=dialog-content]{padding:20px}}
