.ry-structure{box-sizing:border-box;color:#ece9e2;background:#171918;border:1px solid #736344;border-radius:16px;width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto;overflow-wrap:anywhere}.ry-structure::backdrop{background:rgba(0,0,0,.75)}.ry-structure h2{font-size:26px;line-height:1.2;margin:0 0 16px}.ry-structure p{line-height:1.55}.ry-structure label{display:block;margin:16px 0}.ry-structure select{display:block;width:100%;min-width:0;min-height:48px;color:inherit;background:#242826;border:1px solid #777;border-radius:8px;padding:10px;margin-top:8px}.ry-structure dd{margin:4px 0 16px}.ry-structure dt{color:#c9b588}.ry-structure .partner-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.ry-structure button{min-height:44px;max-width:100%;white-space:normal}.ry-structure :focus-visible{outline:3px solid #dfc68f;outline-offset:3px}.ry-structure-accounts article{border-top:1px solid #555;padding:16px 0}.ry-structure-accounts p{margin:6px 0}@media(max-width:500px){.ry-structure{padding:18px}.ry-structure h2{font-size:23px}.ry-structure .partner-actions button{flex:1 1 130px}}
/* Keep this dark dialog readable inside the light partner workspace. */
.ry-structure{color-scheme:dark}
.ry-structure :is(h2,h3,label,dd){color:#ece9e2}
.ry-structure p{color:#c9cec8}
.ry-structure select,.ry-structure option{color:#f6f3eb;background:#242826;border-color:#92958d}
.ry-structure .button.secondary{color:#f6f3eb;background:#282b26;border-color:#a99770}
.ry-structure .button.secondary:hover:not(:disabled){color:#fff6df;background:#353b30}
.ry-structure .button.secondary:disabled{opacity:1;color:#b3b8ae;background:#222620;border-color:#62695c}
.ry-structure [role=alert]{color:#ffb6b6}
body:has(.ry-panel-nav) .ry-structure :focus-visible{outline:3px solid #dfc68f;outline-offset:3px}
