dialog.resource-dialog{box-sizing:border-box;position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;padding:0;width:min(1080px,calc(100vw - 48px));max-width:none;height:min(860px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border:1px solid var(--aa-ui-line-strong);border-radius:24px;background:var(--aa-ui-form-surface);color:var(--aa-ui-text);box-shadow:0 24px 80px var(--aa-ui-scrim);overflow:hidden;text-align:left}dialog.resource-dialog[open]{display:flex;flex-direction:column}dialog.resource-dialog::backdrop{background:var(--aa-ui-scrim-strong)}.resource-dialog *,.resource-dialog *:before,.resource-dialog *:after{box-sizing:border-box}.resource-dialog :is(button,a):focus-visible{outline:3px solid var(--aa-ui-focus-ring);outline-offset:-3px}.resource-dialog__header button,.resource-dialog__status button{font:inherit;min-height:44px;border:1px solid var(--aa-ui-line);border-radius:10px;background:var(--aa-ui-surface);color:var(--aa-ui-accent-ink);padding:8px 12px;cursor:pointer}.resource-dialog__header button:hover,.resource-dialog__status button:hover{border-color:var(--aa-ui-accent);background:var(--aa-ui-accent-soft)}.resource-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;padding-top:calc(16px + env(safe-area-inset-top,0px));border-bottom:1px solid var(--aa-ui-line)}.resource-dialog__header h2{margin:0;font-size:18px}.resource-dialog__header button{min-width:44px;padding:8px}.resource-dialog__status{padding:24px;overflow-y:auto}.resource-dialog__status p{color:var(--aa-ui-muted-strong);line-height:1.5}.resource-dialog__status a{display:inline-flex;align-items:center;min-height:44px;color:var(--aa-ui-accent-ink);margin-left:12px}@media (max-width: 720px),(max-height: 500px) and (pointer: coarse){dialog.resource-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}}
